Searched refs:frag_len (Results 1 – 2 of 2) sorted by relevance
649 u32 frag_len; in btintel_download_firmware() local679 frag_len = 0; in btintel_download_firmware()682 struct hci_command_hdr *cmd = (void *)(fw_ptr + frag_len); in btintel_download_firmware()698 frag_len += sizeof(*cmd) + cmd->plen; in btintel_download_firmware()708 if (!(frag_len % 4)) { in btintel_download_firmware()709 err = btintel_secure_send(hdev, 0x01, frag_len, fw_ptr); in btintel_download_firmware()717 fw_ptr += frag_len; in btintel_download_firmware()718 frag_len = 0; in btintel_download_firmware()
362 int frag_len = RTL_FRAG_LEN; in rtl_download_firmware() local378 frag_len = fw_len % RTL_FRAG_LEN; in rtl_download_firmware()380 memcpy(dl_cmd->data, data, frag_len); in rtl_download_firmware()383 skb = __hci_cmd_sync(hdev, 0xfc20, frag_len + 1, dl_cmd, in rtl_download_firmware()