Home
last modified time | relevance | path

Searched refs:frag_len (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/bluetooth/
Dbtintel.c649 u32 frag_len; in btintel_download_firmware() local
679 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()
Dbtrtl.c362 int frag_len = RTL_FRAG_LEN; in rtl_download_firmware() local
378 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()