/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | hci_ag6xx.c | 157 const u8 *fw_ptr; in ag6xx_setup() local 202 fw_ptr = fw->data; in ag6xx_setup() 240 fw_ptr = fw->data; in ag6xx_setup() 254 while (fw->size > fw_ptr - fw->data) { in ag6xx_setup() 255 struct pbn_entry *pbn = (void *)fw_ptr; in ag6xx_setup() 272 bt_dev_info(hdev, "Patching %td/%zu", (fw_ptr - fw->data), in ag6xx_setup() 281 fw_ptr = pbn->data + plen; in ag6xx_setup()
|
D | hci_mrvl.c | 275 const u8 *fw_ptr, *fw_max; in mrvl_load_firmware() local 284 fw_ptr = fw->data; in mrvl_load_firmware() 291 while (fw_ptr <= fw_max) { in mrvl_load_firmware() 313 if (fw_ptr == fw_max) { in mrvl_load_firmware() 327 if (fw_ptr + mrvl->tx_len > fw_max) { in mrvl_load_firmware() 328 mrvl->tx_len = fw_max - fw_ptr; in mrvl_load_firmware() 341 skb_put_data(skb, fw_ptr, mrvl->tx_len); in mrvl_load_firmware() 342 fw_ptr += mrvl->tx_len; in mrvl_load_firmware()
|
D | btintel.c | 262 const u8 *fw_ptr; in btintel_load_ddc_config() local 274 fw_ptr = fw->data; in btintel_load_ddc_config() 279 while (fw->size > fw_ptr - fw->data) { in btintel_load_ddc_config() 280 u8 cmd_plen = fw_ptr[0] + sizeof(u8); in btintel_load_ddc_config() 282 skb = __hci_cmd_sync(hdev, 0xfc8b, cmd_plen, fw_ptr, in btintel_load_ddc_config() 291 fw_ptr += cmd_plen; in btintel_load_ddc_config() 847 const u8 *fw_ptr; in btintel_download_firmware_payload() local 850 fw_ptr = fw->data + offset; in btintel_download_firmware_payload() 854 while (fw_ptr - fw->data < fw->size) { in btintel_download_firmware_payload() 855 struct hci_command_hdr *cmd = (void *)(fw_ptr + frag_len); in btintel_download_firmware_payload() [all …]
|
D | btbcm.c | 165 const u8 *fw_ptr; in btbcm_patchram() local 184 fw_ptr = fw->data; in btbcm_patchram() 190 cmd = (struct hci_command_hdr *)fw_ptr; in btbcm_patchram() 191 fw_ptr += sizeof(*cmd); in btbcm_patchram() 200 cmd_param = fw_ptr; in btbcm_patchram() 201 fw_ptr += cmd->plen; in btbcm_patchram()
|
D | hci_nokia.c | 330 const u8 *fw_ptr; in nokia_setup_fw() local 352 fw_ptr = fw->data; in nokia_setup_fw() 356 u16 pkt_size = get_unaligned_le16(fw_ptr); in nokia_setup_fw() 357 u8 pkt_type = fw_ptr[2]; in nokia_setup_fw() 364 cmd = (struct hci_command_hdr *)(fw_ptr + 3); in nokia_setup_fw() 368 fw_ptr + 3 + HCI_COMMAND_HDR_SIZE, in nokia_setup_fw() 384 fw_ptr += pkt_size + 2; in nokia_setup_fw()
|
D | btusb.c | 1960 const u8 **fw_ptr, int *disable_patch) in btusb_setup_intel_patching() argument 1967 int remain = fw->size - (*fw_ptr - fw->data); in btusb_setup_intel_patching() 1976 if (remain > HCI_COMMAND_HDR_SIZE && *fw_ptr[0] != 0x01) { in btusb_setup_intel_patching() 1980 (*fw_ptr)++; in btusb_setup_intel_patching() 1983 cmd = (struct hci_command_hdr *)(*fw_ptr); in btusb_setup_intel_patching() 1984 *fw_ptr += sizeof(*cmd); in btusb_setup_intel_patching() 2004 cmd_param = *fw_ptr; in btusb_setup_intel_patching() 2005 *fw_ptr += cmd->plen; in btusb_setup_intel_patching() 2015 while (remain > HCI_EVENT_HDR_SIZE && *fw_ptr[0] == 0x02) { in btusb_setup_intel_patching() 2016 (*fw_ptr)++; in btusb_setup_intel_patching() [all …]
|
D | btmtksdio.c | 685 const u8 *fw_ptr; in mtk_setup_firmware() local 710 fw_ptr = fw->data; in mtk_setup_firmware() 720 fw_ptr += 30; in mtk_setup_firmware() 737 wmt_params.data = fw_ptr; in mtk_setup_firmware() 747 fw_ptr += dlen; in mtk_setup_firmware()
|
D | btmtkuart.c | 246 const u8 *fw_ptr; in mtk_setup_firmware() local 257 fw_ptr = fw->data; in mtk_setup_firmware() 267 fw_ptr += 30; in mtk_setup_firmware() 284 wmt_params.data = fw_ptr; in mtk_setup_firmware() 294 fw_ptr += dlen; in mtk_setup_firmware()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/prism54/ |
D | islpci_dev.c | 80 const u32 *fw_ptr; in isl_upload_firmware() local 92 fw_ptr = (u32 *) fw_entry->data; in isl_upload_firmware() 123 __raw_writel(*fw_ptr, dev_fw_ptr); in isl_upload_firmware() 124 fw_ptr++, dev_fw_ptr++; in isl_upload_firmware()
|
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw.c | 1409 void *fw_ptr; in pvr2_upload_firmware1() local 1454 fw_ptr = kmalloc(0x800, GFP_KERNEL); in pvr2_upload_firmware1() 1455 if (fw_ptr == NULL){ in pvr2_upload_firmware1() 1468 memcpy(fw_ptr, fw_entry->data + address, 0x800); in pvr2_upload_firmware1() 1470 0, fw_ptr, 0x800, 1000); in pvr2_upload_firmware1() 1478 kfree(fw_ptr); in pvr2_upload_firmware1() 1503 void *fw_ptr; in pvr2_upload_firmware2() local 1576 fw_ptr = kmalloc(FIRMWARE_CHUNK_SIZE, GFP_KERNEL); in pvr2_upload_firmware2() 1577 if (fw_ptr == NULL){ in pvr2_upload_firmware2() 1591 memcpy(fw_ptr, fw_entry->data + fw_done, bcnt); in pvr2_upload_firmware2() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/ |
D | spider_net.c | 1784 const u32 *fw_ptr = firmware_ptr; in spider_net_download_firmware() local 1796 sequencer * 8, *fw_ptr); in spider_net_download_firmware() 1797 fw_ptr++; in spider_net_download_firmware()
|