Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/drivers/net/ipa/
Dipa_mem.c319 ipa->imem_size = size; in ipa_imem_init()
329 if (!ipa->imem_size) in ipa_imem_exit()
337 size = iommu_unmap(domain, ipa->imem_iova, ipa->imem_size); in ipa_imem_exit()
338 if (size != ipa->imem_size) in ipa_imem_exit()
340 size, ipa->imem_size); in ipa_imem_exit()
345 ipa->imem_size = 0; in ipa_imem_exit()
493 ret = ipa_imem_init(ipa, mem_data->imem_addr, mem_data->imem_size); in ipa_mem_init()
Dipa.h108 size_t imem_size; member
Dipa_data.h254 u32 imem_size; member
Dipa_data-sc7180.c303 .imem_size = 0x00002000,
Dipa_data-sdm845.c323 .imem_size = 0x00002000,
/Linux-v5.10/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()
624 u32 imem_size; in start_download_firmware() local
631 imem_size = le32_to_cpu(fw_hdr->imem_size); in start_download_firmware()
635 imem_size += FW_HDR_CHKSUM_SIZE; in start_download_firmware()
652 ret = download_firmware_to_mem(rtwdev, cur_fw, 0, addr, imem_size); in start_download_firmware()
657 cur_fw = data + FW_HDR_SIZE + dmem_size + imem_size; in start_download_firmware()
Dfw.h195 __le32 imem_size; /* 0x30 */ member
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
Dgm200.c256 falcon->code.limit - hsf->imem_size, in gm200_acr_hsfw_boot()
257 hsf->imem_size, in gm200_acr_hsfw_boot()
323 hsf->imem_size = hsfw->imem_size; in gm200_acr_hsfw_load()
325 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()