Home
last modified time | relevance | path

Searched refs:ucode_size (Results 1 - 25 of 51) sorted by relevance

123

/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c775 ucode->ucode_size = le32_to_cpu(sdma_hdr->ctx_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
780 ucode->ucode_size = le32_to_cpu(sdma_hdr->ctl_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
786 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
793 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
799 ucode->ucode_size = adev->gfx.rlc.save_restore_list_cntl_size_bytes; in amdgpu_ucode_init_single_fw()
803 ucode->ucode_size = adev->gfx.rlc.save_restore_list_gpm_size_bytes; in amdgpu_ucode_init_single_fw()
807 ucode->ucode_size = adev->gfx.rlc.save_restore_list_srm_size_bytes; in amdgpu_ucode_init_single_fw()
811 ucode->ucode_size = adev->gfx.rlc.rlc_iram_ucode_size_bytes; in amdgpu_ucode_init_single_fw()
815 ucode->ucode_size = adev->gfx.rlc.rlc_dram_ucode_size_bytes; in amdgpu_ucode_init_single_fw()
819 ucode->ucode_size in amdgpu_ucode_init_single_fw()
[all...]
H A Damdgpu_cgs.c243 uint32_t ucode_size; in amdgpu_cgs_get_firmware_info() local
434 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
440 info->image_size = ucode_size; in amdgpu_cgs_get_firmware_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dsi_smc.c215 u32 ucode_size; in si_load_smc_ucode() local
229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
236 ucode_size = TAHITI_SMC_UCODE_SIZE; in si_load_smc_ucode()
240 ucode_size = PITCAIRN_SMC_UCODE_SIZE; in si_load_smc_ucode()
244 ucode_size = VERDE_SMC_UCODE_SIZE; in si_load_smc_ucode()
248 ucode_size = OLAND_SMC_UCODE_SIZE; in si_load_smc_ucode()
252 ucode_size = HAINAN_SMC_UCODE_SIZE; in si_load_smc_ucode()
261 if (ucode_size & 3) in si_load_smc_ucode()
267 while (ucode_size >= 4) { in si_load_smc_ucode()
274 ucode_size in si_load_smc_ucode()
[all...]
H A Dci_smc.c190 u32 ucode_size; in ci_load_smc_ucode() local
204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
211 ucode_size = BONAIRE_SMC_UCODE_SIZE; in ci_load_smc_ucode()
215 ucode_size = HAWAII_SMC_UCODE_SIZE; in ci_load_smc_ucode()
225 if (ucode_size & 3) in ci_load_smc_ucode()
231 while (ucode_size >= 4) { in ci_load_smc_ucode()
238 ucode_size -= 4; in ci_load_smc_ucode()
H A Drv770_smc.c489 u16 ucode_size; in rv770_load_smc_ucode() local
499 ucode_size = RV770_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
506 ucode_size = RV730_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
513 ucode_size = RV710_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
520 ucode_size = RV740_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
527 ucode_size = CEDAR_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
534 ucode_size = REDWOOD_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
541 ucode_size = JUNIPER_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
549 ucode_size = CYPRESS_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
556 ucode_size in rv770_load_smc_ucode()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dsi_smc.c215 u32 ucode_size; in si_load_smc_ucode() local
229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
236 ucode_size = TAHITI_SMC_UCODE_SIZE; in si_load_smc_ucode()
240 ucode_size = PITCAIRN_SMC_UCODE_SIZE; in si_load_smc_ucode()
244 ucode_size = VERDE_SMC_UCODE_SIZE; in si_load_smc_ucode()
248 ucode_size = OLAND_SMC_UCODE_SIZE; in si_load_smc_ucode()
252 ucode_size = HAINAN_SMC_UCODE_SIZE; in si_load_smc_ucode()
261 if (ucode_size & 3) in si_load_smc_ucode()
267 while (ucode_size >= 4) { in si_load_smc_ucode()
274 ucode_size in si_load_smc_ucode()
[all...]
H A Dci_smc.c190 u32 ucode_size; in ci_load_smc_ucode() local
204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
211 ucode_size = BONAIRE_SMC_UCODE_SIZE; in ci_load_smc_ucode()
215 ucode_size = HAWAII_SMC_UCODE_SIZE; in ci_load_smc_ucode()
225 if (ucode_size & 3) in ci_load_smc_ucode()
231 while (ucode_size >= 4) { in ci_load_smc_ucode()
238 ucode_size -= 4; in ci_load_smc_ucode()
H A Drv770_smc.c477 u16 ucode_size; in rv770_load_smc_ucode() local
487 ucode_size = RV770_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
494 ucode_size = RV730_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
501 ucode_size = RV710_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
508 ucode_size = RV740_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
515 ucode_size = CEDAR_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
522 ucode_size = REDWOOD_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
529 ucode_size = JUNIPER_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
537 ucode_size = CYPRESS_SMC_UCODE_SIZE; in rv770_load_smc_ucode()
544 ucode_size in rv770_load_smc_ucode()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ucode.c508 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
512 ucode->ucode_size); in amdgpu_ucode_init_single_fw()
515 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
520 ucode->ucode_size); in amdgpu_ucode_init_single_fw()
523 ucode->ucode_size = le32_to_cpu(cp_hdr->jt_size) * 4; in amdgpu_ucode_init_single_fw()
528 ucode->ucode_size); in amdgpu_ucode_init_single_fw()
530 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
535 ucode->ucode_size); in amdgpu_ucode_init_single_fw()
537 ucode->ucode_size = le32_to_cpu(dmcu_hdr->intv_size_bytes); in amdgpu_ucode_init_single_fw()
542 ucode->ucode_size); in amdgpu_ucode_init_single_fw()
[all...]
H A Damdgpu_cgs.c243 uint32_t ucode_size; in amdgpu_cgs_get_firmware_info() local
465 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
471 info->image_size = ucode_size; in amdgpu_cgs_get_firmware_info()
/kernel/linux/linux-5.10/drivers/crypto/cavium/nitrox/
H A Dnitrox_main.c80 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit() argument
106 code_size = roundup(ucode_size, 16); in write_to_ucd_unit()
129 u32 ucode_size; in nitrox_load_fw() local
143 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw()
144 if (!ucode_size || ucode_size > CNN55XX_MAX_UCODE_SIZE) { in nitrox_load_fw()
146 ucode_size, fw_name); in nitrox_load_fw() local
157 write_to_ucd_unit(ndev, ucode_size, ucode_data, 0); in nitrox_load_fw()
172 if (ucode_size <= CNN55XX_UCD_BLOCK_SIZE) in nitrox_load_fw()
194 ucode_size in nitrox_load_fw()
197 ucode_size, fw_name); nitrox_load_fw() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/cavium/nitrox/
H A Dnitrox_main.c70 static void write_to_ucd_unit(struct nitrox_device *ndev, u32 ucode_size, in write_to_ucd_unit() argument
96 code_size = roundup(ucode_size, 16); in write_to_ucd_unit()
119 u32 ucode_size; in nitrox_load_fw() local
133 ucode_size = be32_to_cpu(ucode->code_size) * 2; in nitrox_load_fw()
134 if (!ucode_size || ucode_size > CNN55XX_MAX_UCODE_SIZE) { in nitrox_load_fw()
136 ucode_size, fw_name); in nitrox_load_fw() local
147 write_to_ucd_unit(ndev, ucode_size, ucode_data, 0); in nitrox_load_fw()
162 if (ucode_size <= CNN55XX_UCD_BLOCK_SIZE) in nitrox_load_fw()
184 ucode_size in nitrox_load_fw()
187 ucode_size, fw_name); nitrox_load_fw() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_smc.c208 u32 ucode_size; in amdgpu_si_load_smc_ucode() local
221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()
224 if (ucode_size & 3) in amdgpu_si_load_smc_ucode()
230 while (ucode_size >= 4) { in amdgpu_si_load_smc_ucode()
237 ucode_size -= 4; in amdgpu_si_load_smc_ucode()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/
H A Dsi_smc.c208 u32 ucode_size; in amdgpu_si_load_smc_ucode() local
221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()
224 if (ucode_size & 3) in amdgpu_si_load_smc_ucode()
230 while (ucode_size >= 4) { in amdgpu_si_load_smc_ucode()
237 ucode_size -= 4; in amdgpu_si_load_smc_ucode()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dlsfw.c134 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + in nvkm_acr_lsfw_from_desc()
137 lsfw->ucode_size; in nvkm_acr_lsfw_from_desc()
212 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + lsfw->bootloader_size; in nvkm_acr_lsfw_load_sig_image_desc_v2()
213 lsfw->data_size = lsfw->app_size + lsfw->bootloader_size - lsfw->ucode_size; in nvkm_acr_lsfw_load_sig_image_desc_v2()
311 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + in nvkm_acr_lsfw_load_bl_inst_data_sig()
314 lsfw->ucode_size; in nvkm_acr_lsfw_load_bl_inst_data_sig()
388 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + in nvkm_acr_lsfw_load_bl_sig_net()
391 lsfw->ucode_size; in nvkm_acr_lsfw_load_bl_sig_net()
H A Dga102.c79 hdr->ucode_size = lsfw->ucode_size; in ga102_acr_wpr_build_lsb()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/acr/
H A Dlsfw.c133 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + in nvkm_acr_lsfw_from_desc()
136 lsfw->ucode_size; in nvkm_acr_lsfw_from_desc()
241 lsfw->ucode_size = ALIGN(lsfw->app_resident_data_offset, 256) + in nvkm_acr_lsfw_load_bl_inst_data_sig()
244 lsfw->ucode_size; in nvkm_acr_lsfw_load_bl_inst_data_sig()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.h90 u32 ucode_size; member
224 return sizeof(struct uc_css_header) + uc_fw->ucode_size; in __intel_uc_fw_get_upload_size()
H A Dintel_uc_fw.c320 uc_fw->ucode_size = (css->size_dw - css->header_size_dw) * sizeof(u32); in intel_uc_fw_fetch()
333 size = sizeof(struct uc_css_header) + uc_fw->ucode_size + uc_fw->rsa_size; in intel_uc_fw_fetch()
469 sizeof(struct uc_css_header) + uc_fw->ucode_size); in uc_fw_xfer()
590 u32 offset = sizeof(struct uc_css_header) + uc_fw->ucode_size; in intel_uc_fw_copy_rsa()
613 drm_printf(p, "\tuCode: %u bytes\n", uc_fw->ucode_size); in intel_uc_fw_dump()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.h119 u32 ucode_size; member
274 return sizeof(struct uc_css_header) + uc_fw->ucode_size; in __intel_uc_fw_get_upload_size()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvfw/
H A Dacr.h82 u32 ucode_size; member
138 u32 ucode_size; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/nvfw/
H A Dacr.c70 nvkm_debug(subdev, "\tucodeSize : 0x%x\n", hdr->ucode_size); in lsb_header_v2_dump()
94 nvkm_debug(subdev, "\tucodeSize : 0x%x\n", hdr->ucode_size); in lsb_header_tail_dump()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dacr.h91 u32 ucode_size; member
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvfw/
H A Dacr.h65 u32 ucode_size; member
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dacr.h97 u32 ucode_size; member

Completed in 15 milliseconds

123