Home
last modified time | relevance | path

Searched refs:imem_size (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/drivers/memory/
Dbrcmstb_dpfe.c161 u32 imem_size; member
520 unsigned int dmem_size, imem_size, total_size; in __verify_firmware() local
531 imem_size = be32_to_cpu(header->imem_size); in __verify_firmware()
534 imem_size = le32_to_cpu(header->imem_size); in __verify_firmware()
538 if ((dmem_size % sizeof(u32)) != 0 || (imem_size % sizeof(u32)) != 0) in __verify_firmware()
545 total_size = dmem_size + imem_size + sizeof(*header) + in __verify_firmware()
551 chksum_ptr = (void *)fw->data + sizeof(*header) + dmem_size + imem_size; in __verify_firmware()
555 init->imem_len = imem_size; in __verify_firmware()
621 unsigned int dmem_size, imem_size; in brcmstb_dpfe_download_firmware() local
668 imem_size = init.imem_len; in brcmstb_dpfe_download_firmware()
[all …]
/linux-6.1.9/drivers/net/ipa/
Dipa_mem.c479 ipa->imem_size = size; in ipa_imem_init()
489 if (!ipa->imem_size) in ipa_imem_exit()
497 size = iommu_unmap(domain, ipa->imem_iova, ipa->imem_size); in ipa_imem_exit()
498 if (size != ipa->imem_size) in ipa_imem_exit()
500 size, ipa->imem_size); in ipa_imem_exit()
505 ipa->imem_size = 0; in ipa_imem_exit()
651 ret = ipa_imem_init(ipa, mem_data->imem_addr, mem_data->imem_size); in ipa_mem_init()
Dipa.h104 size_t imem_size; member
Dipa_data.h190 u32 imem_size; member
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgm200.c258 falcon->code.limit - hsf->imem_size, in gm200_acr_hsfw_boot()
259 hsf->imem_size, in gm200_acr_hsfw_boot()
325 hsf->imem_size = hsfw->imem_size; in gm200_acr_hsfw_load()
327 hsf->imem = kmemdup(hsfw->imem, hsfw->imem_size, GFP_KERNEL); in gm200_acr_hsfw_load()
Dpriv.h58 u32 imem_size; member
97 u32 imem_size; member
Dhsfw.c143 hsfw->imem_size = desc->code_size; in nvkm_acr_hsfw_load_bl()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dmac.c365 u32 imem_size; in check_firmware_size() local
370 imem_size = le32_to_cpu(fw_hdr->imem_size); in check_firmware_size()
375 imem_size += FW_HDR_CHKSUM_SIZE; in check_firmware_size()
377 real_size = FW_HDR_SIZE + dmem_size + imem_size + emem_size; in check_firmware_size()
643 u32 imem_size; in start_download_firmware() local
650 imem_size = le32_to_cpu(fw_hdr->imem_size); in start_download_firmware()
654 imem_size += FW_HDR_CHKSUM_SIZE; in start_download_firmware()
671 ret = download_firmware_to_mem(rtwdev, cur_fw, 0, addr, imem_size); in start_download_firmware()
676 cur_fw = data + FW_HDR_SIZE + dmem_size + imem_size; in start_download_firmware()
Dfw.h306 __le32 imem_size; /* 0x30 */ member
/linux-6.1.9/drivers/net/ipa/data/
Dipa_data-v4.2.c341 .imem_size = 0x00002000,
Dipa_data-v4.11.c368 .imem_size = 0x00002000,
Dipa_data-v3.5.1.c375 .imem_size = 0x00002000,
Dipa_data-v4.5.c419 .imem_size = 0x00003000,
Dipa_data-v4.9.c417 .imem_size = 0x00002000,
Dipa_data-v3.1.c494 .imem_size = 0x00002000,