/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/falcon/ |
A D | fw.c | 38 FLCNFW_DBG(fw, "patching sigs:%d size:%d", fw->sig_nr, fw->sig_size); in nvkm_falcon_fw_patch() 58 *(u32 *)(fw->fw.img + dst) = sig; in nvkm_falcon_fw_patch() 93 fw->func->reset(fw); in nvkm_falcon_fw_boot() 97 ret = fw->func->setup(fw); in nvkm_falcon_fw_boot() 102 ret = fw->func->load(fw); in nvkm_falcon_fw_boot() 131 ret = nvkm_vmm_get(fw->vmm, 12, nvkm_memory_size(&fw->fw.mem.memory), &fw->vma); in nvkm_falcon_fw_oneinit() 137 ret = nvkm_memory_map(&fw->fw.mem.memory, 0, fw->vmm, fw->vma, NULL, 0); in nvkm_falcon_fw_oneinit() 150 nvkm_vmm_put(fw->vmm, &fw->vma); in nvkm_falcon_fw_dtor() 154 nvkm_firmware_dtor(&fw->fw); in nvkm_falcon_fw_dtor() 177 fw->sigs = kmalloc_array(fw->sig_nr, fw->sig_size, GFP_KERNEL); in nvkm_falcon_fw_sign() [all …]
|
A D | gm200.c | 254 if (fw->inst) { in gm200_flcn_fw_load() 287 if (fw->boot) { in gm200_flcn_fw_load() 288 switch (nvkm_memory_target(&fw->fw.mem.memory)) { in gm200_flcn_fw_load() 298 IMEM, falcon->code.limit - fw->boot_size, fw->boot_size, in gm200_flcn_fw_load() 303 return fw->func->load_bld(fw); in gm200_flcn_fw_load() 306 ret = nvkm_falcon_pio_wr(falcon, fw->fw.img + fw->nmem_base_img, fw->nmem_base_img, 0, in gm200_flcn_fw_load() 307 IMEM, fw->nmem_base, fw->nmem_size, fw->nmem_base >> 8, false); in gm200_flcn_fw_load() 311 ret = nvkm_falcon_pio_wr(falcon, fw->fw.img + fw->imem_base_img, fw->imem_base_img, 0, in gm200_flcn_fw_load() 312 IMEM, fw->imem_base, fw->imem_size, fw->imem_base >> 8, true); in gm200_flcn_fw_load() 316 ret = nvkm_falcon_pio_wr(falcon, fw->fw.img + fw->dmem_base_img, fw->dmem_base_img, 0, in gm200_flcn_fw_load() [all …]
|
A D | ga102.c | 109 struct nvkm_falcon *falcon = fw->falcon; in ga102_flcn_fw_boot() 111 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x210, fw->dmem_sign); in ga102_flcn_fw_boot() 112 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x19c, fw->engine_id); in ga102_flcn_fw_boot() 113 nvkm_falcon_wr32(falcon, falcon->addr2 + 0x198, fw->ucode_id); in ga102_flcn_fw_boot() 116 return gm200_flcn_fw_boot(fw, mbox0, mbox1, mbox0_ok, irqsclr); in ga102_flcn_fw_boot() 120 ga102_flcn_fw_load(struct nvkm_falcon_fw *fw) in ga102_flcn_fw_load() argument 122 struct nvkm_falcon *falcon = fw->falcon; in ga102_flcn_fw_load() 129 ret = nvkm_falcon_dma_wr(falcon, fw->fw.img, fw->fw.phys, fw->imem_base_img, in ga102_flcn_fw_load() 130 IMEM, fw->imem_base, fw->imem_size, true); in ga102_flcn_fw_load() 134 ret = nvkm_falcon_dma_wr(falcon, fw->fw.img, fw->fw.phys, fw->dmem_base_img, in ga102_flcn_fw_load() [all …]
|
A D | ga100.c | 25 ga100_flcn_fw_signature(struct nvkm_falcon_fw *fw, u32 *src_base_src) in ga100_flcn_fw_signature() argument 27 struct nvkm_falcon *falcon = fw->falcon; in ga100_flcn_fw_signature() 32 FLCN_DBG(falcon, "brom: %08x %08x", fw->engine_id, fw->ucode_id); in ga100_flcn_fw_signature() 33 FLCN_DBG(falcon, "fuse_version: %d", fw->fuse_ver); in ga100_flcn_fw_signature() 35 if (fw->engine_id & 0x00000001) { in ga100_flcn_fw_signature() 36 reg_fuse_version = nvkm_rd32(device, 0x824140 + (fw->ucode_id - 1) * 4); in ga100_flcn_fw_signature() 38 if (fw->engine_id & 0x00000004) { in ga100_flcn_fw_signature() 41 if (fw->engine_id & 0x00000400) { in ga100_flcn_fw_signature() 53 if (WARN_ON(fw->fuse_ver < reg_fuse_version)) in ga100_flcn_fw_signature() 56 idx = fw->fuse_ver - reg_fuse_version; in ga100_flcn_fw_signature() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_pci.c | 80 #define PRESTERA_LDR_REG_BASE(fw) ((fw)->ldr_regs) argument 182 #define PRESTERA_FW_REG_BASE(fw) ((fw)->dev.ctl_regs) argument 345 fw->dev.recv_msg(&fw->dev, msg, len); in prestera_fw_evt_work_fn() 458 fw->ldr_regs = fw->dev.ctl_regs; in prestera_fw_init() 517 fw->dev.recv_pkt(&fw->dev); in prestera_pci_irq_handler() 520 queue_work(fw->wq, &fw->evt_work); in prestera_pci_irq_handler() 577 fw->ldr_wr_idx = (fw->ldr_wr_idx + (n)) & (fw->ldr_buf_len - 1); in prestera_ldr_wr_idx_move() 587 return fw->ldr_ring_buf + fw->ldr_wr_idx; in prestera_ldr_wr_ptr() 676 fw->rev_supp.maj, fw->rev_supp.min); in prestera_fw_rev_check() 773 fw->ldr_ring_buf = fw->ldr_regs + in prestera_fw_load() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/tegra/ |
A D | firewall.c | 19 if (fw->pos == fw->end) in fw_next() 22 *word = fw->data[fw->pos++]; in fw_next() 54 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_reg() 103 is_addr = fw->client->ops->is_addr_reg(fw->client->base.dev, fw->class, in fw_check_regs_imm() 160 while (fw.pos != fw.end) { in tegra_drm_fw_validate() 191 offset, count, fw.class, fw.pos-1); in tegra_drm_fw_validate() 200 offset, count, fw.class, fw.pos-1); in tegra_drm_fw_validate() 209 offset, mask, fw.class, fw.pos-1); in tegra_drm_fw_validate() 218 offset, fw.class, fw.pos-1); in tegra_drm_fw_validate() 233 offset, fw.class, fw.pos-1); in tegra_drm_fw_validate() [all …]
|
/linux-6.3-rc2/drivers/firmware/ |
A D | raspberrypi.c | 40 complete(&fw->c); in response_callback() 257 kfree(fw); in rpi_firmware_delete() 282 fw = kzalloc(sizeof(*fw), GFP_KERNEL); in rpi_firmware_probe() 283 if (!fw) in rpi_firmware_probe() 290 fw->chan = mbox_request_channel(&fw->cl, 0); in rpi_firmware_probe() 293 kfree(fw); in rpi_firmware_probe() 313 if (!fw) in rpi_firmware_shutdown() 362 if (!fw) in rpi_firmware_get() 370 return fw; in rpi_firmware_get() 390 if (!fw) in devm_rpi_firmware_get() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | firmware.c | 52 blob->data = kmemdup(fw->data, fw->size, GFP_KERNEL); in nvkm_firmware_load_blob() 181 if (!fw->img) in nvkm_firmware_dtor() 190 dma_free_coherent(fw->device->dev, sg_dma_len(&fw->mem.sgl), fw->img, fw->phys); in nvkm_firmware_dtor() 197 fw->img = NULL; in nvkm_firmware_dtor() 207 fw->len = len; in nvkm_firmware_ctor() 211 fw->img = kmemdup(src, fw->len, GFP_KERNEL); in nvkm_firmware_ctor() 219 if (fw->img) { in nvkm_firmware_ctor() 220 memcpy(fw->img, src, fw->len); in nvkm_firmware_ctor() 224 sg_init_one(&fw->mem.sgl, fw->img, len); in nvkm_firmware_ctor() 225 sg_dma_address(&fw->mem.sgl) = fw->phys; in nvkm_firmware_ctor() [all …]
|
/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/ |
A D | mtk_vcodec_fw.c | 24 void mtk_vcodec_fw_release(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_release() argument 26 fw->ops->release(fw); in mtk_vcodec_fw_release() 30 int mtk_vcodec_fw_load_firmware(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_load_firmware() argument 32 return fw->ops->load_firmware(fw); in mtk_vcodec_fw_load_firmware() 38 return fw->ops->get_vdec_capa(fw); in mtk_vcodec_fw_get_vdec_capa() 44 return fw->ops->get_venc_capa(fw); in mtk_vcodec_fw_get_venc_capa() 50 return fw->ops->map_dm_addr(fw, mem_addr); in mtk_vcodec_fw_map_dm_addr() 58 return fw->ops->ipi_register(fw, id, handler, name, priv); in mtk_vcodec_fw_ipi_register() 65 return fw->ops->ipi_send(fw, id, buf, len, wait); in mtk_vcodec_fw_ipi_send() 69 int mtk_vcodec_fw_get_type(struct mtk_vcodec_fw *fw) in mtk_vcodec_fw_get_type() argument [all …]
|
A D | mtk_vcodec_fw_scp.c | 9 return rproc_boot(scp_get_rproc(fw->scp)); in mtk_vcodec_scp_load_firmware() 14 return scp_get_vdec_hw_capa(fw->scp); in mtk_vcodec_scp_get_vdec_capa() 19 return scp_get_venc_hw_capa(fw->scp); in mtk_vcodec_scp_get_venc_capa() 38 return scp_ipi_send(fw->scp, id, buf, len, wait); in mtk_vcodec_scp_ipi_send() 43 scp_put(fw->scp); in mtk_vcodec_scp_release() 58 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_scp_init() local 67 fw = devm_kzalloc(&dev->plat_dev->dev, sizeof(*fw), GFP_KERNEL); in mtk_vcodec_fw_scp_init() 68 fw->type = SCP; in mtk_vcodec_fw_scp_init() 69 fw->ops = &mtk_vcodec_rproc_msg; in mtk_vcodec_fw_scp_init() 70 fw->scp = scp; in mtk_vcodec_fw_scp_init() [all …]
|
A D | mtk_vcodec_fw_vpu.c | 9 return vpu_load_firmware(fw->pdev); in mtk_vcodec_vpu_load_firmware() 14 return vpu_get_vdec_hw_capa(fw->pdev); in mtk_vcodec_vpu_get_vdec_capa() 19 return vpu_get_venc_hw_capa(fw->pdev); in mtk_vcodec_vpu_get_venc_capa() 51 put_device(&fw->pdev->dev); in mtk_vcodec_vpu_release() 84 struct mtk_vcodec_fw *fw; in mtk_vcodec_fw_vpu_init() local 104 fw = devm_kzalloc(&dev->plat_dev->dev, sizeof(*fw), GFP_KERNEL); in mtk_vcodec_fw_vpu_init() 105 if (!fw) in mtk_vcodec_fw_vpu_init() 107 fw->type = VPU; in mtk_vcodec_fw_vpu_init() 108 fw->ops = &mtk_vcodec_vpu_msg; in mtk_vcodec_fw_vpu_init() 109 fw->pdev = fw_pdev; in mtk_vcodec_fw_vpu_init() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00firmware.c | 23 const struct firmware *fw; in rt2x00lib_request_firmware() local 46 if (!fw || !fw->size || !fw->data) { in rt2x00lib_request_firmware() 48 release_firmware(fw); in rt2x00lib_request_firmware() 53 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware() 56 fw->data[fw->size - 4], fw->data[fw->size - 3]); in rt2x00lib_request_firmware() 58 retval = rt2x00dev->ops->lib->check_firmware(rt2x00dev, fw->data, fw->size); in rt2x00lib_request_firmware() 67 fw->size); in rt2x00lib_request_firmware() 74 rt2x00dev->fw = fw; in rt2x00lib_request_firmware() 79 release_firmware(fw); in rt2x00lib_request_firmware() 91 if (!rt2x00dev->fw) { in rt2x00lib_load_firmware() [all …]
|
/linux-6.3-rc2/drivers/gpu/host1x/ |
A D | job.c | 360 if (fw->job->is_addr_reg(fw->dev, fw->class, offset)) { in check_register() 364 if (!check_reloc(fw->reloc, fw->cmdbuf, fw->offset)) in check_register() 368 fw->reloc++; in check_register() 380 if (!fw->job->is_valid_class(fw->class)) in check_class() 427 fw->words--; in check_incr() 444 ret = check_register(fw, fw->reg); in check_nonincr() 448 fw->words--; in check_nonincr() 472 fw->reg = 0; in validate() 474 fw->words--; in validate() 532 fw.job = job; in copy_gathers() [all …]
|
/linux-6.3-rc2/drivers/nfc/s3fwrn5/ |
A D | firmware.c | 297 release_firmware(fw->fw); in s3fwrn5_fw_request_firmware() 301 memcpy(fw->date, fw->fw->data + 0x00, 12); in s3fwrn5_fw_request_firmware() 304 memcpy(&fw->version, fw->fw->data + 0x10, 4); in s3fwrn5_fw_request_firmware() 307 fw->sig = fw->fw->data + sig_off; in s3fwrn5_fw_request_firmware() 308 memcpy(&fw->sig_size, fw->fw->data + 0x18, 4); in s3fwrn5_fw_request_firmware() 311 fw->image = fw->fw->data + image_off; in s3fwrn5_fw_request_firmware() 312 memcpy(&fw->image_sectors, fw->fw->data + 0x20, 4); in s3fwrn5_fw_request_firmware() 315 fw->custom_sig = fw->fw->data + custom_sig_off; in s3fwrn5_fw_request_firmware() 316 memcpy(&fw->custom_sig_size, fw->fw->data + 0x28, 4); in s3fwrn5_fw_request_firmware() 323 release_firmware(fw_info->fw.fw); in s3fwrn5_fw_release_firmware() [all …]
|
/linux-6.3-rc2/drivers/accel/ivpu/ |
A D | ivpu_fw.c | 92 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_parse() local 159 fw->entry_point = fw->cold_boot_entry_point; in ivpu_fw_parse() 162 fw->file->size, fw->image_size, fw->runtime_size, fw->shave_nn_size); in ivpu_fw_parse() 164 fw->runtime_addr, image_load_addr, fw->entry_point); in ivpu_fw_parse() 176 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_update_global_range() local 191 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_mem_init() local 198 fw->mem = ivpu_bo_alloc_internal(vdev, fw->runtime_addr, fw->runtime_size, DRM_IVPU_BO_WC); in ivpu_fw_mem_init() 219 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_mem_fini() local 261 struct ivpu_fw_info *fw = vdev->fw; in ivpu_fw_load() local 264 memset(fw->mem->kvaddr, 0, fw->image_load_offset); in ivpu_fw_load() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/ath/carl9170/ |
A D | fw.c | 208 if (ar->fw.vif_num < 2) in carl9170_fw_set_if_combinations() 287 ar->fw.offset = 0; in carl9170_fw() 323 if (ar->fw.vif_num >= AR9170_MAX_VIRTUAL_MAC || !ar->fw.vif_num || in carl9170_fw() 324 ar->fw.mem_blocks < 16 || !ar->fw.cmd_bufs || in carl9170_fw() 325 ar->fw.mem_block_size < 64 || ar->fw.mem_block_size > 512 || in carl9170_fw() 326 ar->fw.rx_size > 32768 || ar->fw.rx_size < 4096 || in carl9170_fw() 336 if (valid_dma_addr(ar->fw.beacon_addr) && ar->fw.beacon_max_len >= in carl9170_fw() 397 const struct firmware *fw = ar->fw.fw; in carl9170_parse_firmware() local 401 if (WARN_ON(!fw)) in carl9170_parse_firmware() 404 fw_desc = carl9170_find_fw_desc(ar, fw->data, fw->size); in carl9170_parse_firmware() [all …]
|
/linux-6.3-rc2/drivers/firmware/meson/ |
A D | meson_sm.c | 109 if (!fw->chip) in meson_sm_call() 149 if (!fw->chip) in meson_sm_call_read() 197 if (!fw->chip) in meson_sm_call_write() 200 if (size > fw->chip->shmem_size) in meson_sm_call_write() 244 struct meson_sm_firmware *fw; in serial_show() local 288 struct meson_sm_firmware *fw; in meson_sm_probe() local 290 fw = devm_kzalloc(dev, sizeof(*fw), GFP_KERNEL); in meson_sm_probe() 291 if (!fw) in meson_sm_probe() 310 fw->chip = chip; in meson_sm_probe() 312 platform_set_drvdata(pdev, fw); in meson_sm_probe() [all …]
|
/linux-6.3-rc2/drivers/base/firmware_loader/builtin/ |
A D | main.c | 19 static bool fw_copy_to_prealloc_buf(struct firmware *fw, in fw_copy_to_prealloc_buf() argument 24 if (size < fw->size) in fw_copy_to_prealloc_buf() 26 memcpy(buf, fw->data, fw->size); in fw_copy_to_prealloc_buf() 47 bool firmware_request_builtin(struct firmware *fw, const char *name) in firmware_request_builtin() argument 51 if (!fw) in firmware_request_builtin() 56 fw->size = b_fw->size; in firmware_request_builtin() 57 fw->data = b_fw->data; in firmware_request_builtin() 89 if (!firmware_request_builtin(fw, name)) in firmware_request_builtin_buf() 92 return fw_copy_to_prealloc_buf(fw, buf, size); in firmware_request_builtin_buf() 95 bool firmware_is_builtin(const struct firmware *fw) in firmware_is_builtin() argument [all …]
|
/linux-6.3-rc2/drivers/scsi/qla2xxx/ |
A D | qla_dbg.c | 1259 iter_reg = fw->lmc_reg; in qla24xx_fw_dump() 1284 iter_reg = fw->fb_hdw_reg; in qla24xx_fw_dump() 1301 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla24xx_fw_dump() 1454 iter_reg = fw->xseq_0_reg; in qla25xx_fw_dump() 1563 iter_reg = fw->lmc_reg; in qla25xx_fw_dump() 1611 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla25xx_fw_dump() 1874 iter_reg = fw->lmc_reg; in qla81xx_fw_dump() 1925 rval = qla24xx_dump_memory(ha, fw->code_ram, sizeof(fw->code_ram), in qla81xx_fw_dump() 2241 iter_reg = fw->lmc_reg; in qla83xx_fw_dump() 2414 nxt = fw->code_ram; in qla83xx_fw_dump() [all …]
|
/linux-6.3-rc2/drivers/remoteproc/ |
A D | remoteproc_elf_loader.c | 52 if (!fw) { 105 if (phoff > fw->size) { 130 return elf_hdr_get_e_entry(fw_elf_get_class(fw), fw->data); 166 const u8 *elf_data = fw->data; 167 u8 class = fw_elf_get_class(fw); 199 offset + filesz, fw->size); 255 u8 class = fw_elf_get_class(fw); 256 size_t fw_size = fw->size; 331 const u8 *elf_data = fw->data; 333 u8 class = fw_elf_get_class(fw); [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
A D | gm20b.c | 49 gm20b_acr_hsfw_load_bld(struct nvkm_falcon_fw *fw) in gm20b_acr_hsfw_load_bld() argument 53 .code_dma_base = fw->vma->addr >> 8, in gm20b_acr_hsfw_load_bld() 54 .non_sec_code_off = fw->nmem_base, in gm20b_acr_hsfw_load_bld() 55 .non_sec_code_size = fw->nmem_size, in gm20b_acr_hsfw_load_bld() 56 .sec_code_off = fw->imem_base, in gm20b_acr_hsfw_load_bld() 57 .sec_code_size = fw->imem_size, in gm20b_acr_hsfw_load_bld() 59 .data_dma_base = (fw->vma->addr + fw->dmem_base_img) >> 8, in gm20b_acr_hsfw_load_bld() 60 .data_size = fw->dmem_size, in gm20b_acr_hsfw_load_bld() 63 flcn_bl_dmem_desc_dump(fw->falcon->user, &hsdesc); in gm20b_acr_hsfw_load_bld() 70 gm20b_acr_load_setup(struct nvkm_falcon_fw *fw) in gm20b_acr_load_setup() argument [all …]
|
/linux-6.3-rc2/drivers/firmware/efi/ |
A D | embedded-firmware.c | 40 struct efi_embedded_fw *fw; in efi_check_md_for_embedded_firmware() local 67 fw = kmalloc(sizeof(*fw), GFP_KERNEL); in efi_check_md_for_embedded_firmware() 68 if (!fw) { in efi_check_md_for_embedded_firmware() 75 if (!fw->data) { in efi_check_md_for_embedded_firmware() 76 kfree(fw); in efi_check_md_for_embedded_firmware() 80 fw->name = desc->name; in efi_check_md_for_embedded_firmware() 81 fw->length = desc->length; in efi_check_md_for_embedded_firmware() 134 fw = iter; in efi_get_embedded_fw() 139 if (!fw) in efi_get_embedded_fw() 142 *data = fw->data; in efi_get_embedded_fw() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | pci_mcu.c | 17 const struct firmware *fw = NULL; in mt76pci_load_rom_patch() local 47 if (!fw || !fw->data || fw->size <= sizeof(*hdr)) { in mt76pci_load_rom_patch() 58 cur = (__le32 *)(fw->data + sizeof(*hdr)); in mt76pci_load_rom_patch() 59 len = fw->size - sizeof(*hdr); in mt76pci_load_rom_patch() 76 release_firmware(fw); in mt76pci_load_rom_patch() 83 const struct firmware *fw; in mt76pci_load_firmware() local 93 if (!fw || !fw->data || fw->size < sizeof(*hdr)) in mt76pci_load_firmware() 102 if (fw->size != len) in mt76pci_load_firmware() 140 release_firmware(fw); in mt76pci_load_firmware() 147 release_firmware(fw); in mt76pci_load_firmware() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/ |
A D | iwl-drv.c | 56 struct iwl_fw fw; member 126 kfree(drv->fw.dbg.mem_tlv); in iwl_dealloc_ucode() 127 kfree(drv->fw.iml); in iwl_dealloc_ucode() 135 memset(&drv->fw, 0, sizeof(drv->fw)); in iwl_dealloc_ucode() 861 drv->fw.valid_tx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware() 864 drv->fw.valid_rx_ant = (drv->fw.phy_config & in iwl_parse_tlv_firmware() 1114 if (!drv->fw.iml) in iwl_parse_tlv_firmware() 1390 struct iwl_fw *fw = &drv->fw; in iwl_req_fw_callback() local 1595 fw->init_evtlog_size = in iwl_req_fw_callback() 1602 fw->inst_evtlog_size = in iwl_req_fw_callback() [all …]
|
/linux-6.3-rc2/drivers/net/wireless/intersil/orinoco/ |
A D | fw.c | 98 const struct fw_info *fw, in orinoco_dl_firmware() argument 114 pda = kzalloc(fw->pda_size, GFP_KERNEL); in orinoco_dl_firmware() 119 firmware = fw->ap_fw; in orinoco_dl_firmware() 121 firmware = fw->sta_fw; in orinoco_dl_firmware() 126 err = hw->ops->read_pda(hw, pda, fw->pda_addr, fw->pda_size); in orinoco_dl_firmware() 175 &pda[fw->pda_size / sizeof(*pda)]); in orinoco_dl_firmware() 224 pda = kzalloc(fw->pda_size, GFP_KERNEL); in symbol_dl_image() 228 ret = hw->ops->read_pda(hw, pda, fw->pda_addr, fw->pda_size); in symbol_dl_image() 288 const struct fw_info *fw) in symbol_dl_firmware() argument 361 const char *fw; in orinoco_cache_fw() local [all …]
|