Home
last modified time | relevance | path

Searched refs:ucode_size_bytes (Results 1 – 25 of 48) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c225 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
229 gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
430 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
437 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
Damdgpu_ucode.c42 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
868 ucode->ucode_size = le32_to_cpu(sdmav3_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
874 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
955 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
991 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1006 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1021 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1066 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1072 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
1096 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
Damdgpu_ucode.h36 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
188 uint32_t ucode_size_bytes; member
362 uint32_t ucode_size_bytes; member
Damdgpu_uvd.h37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
Damdgpu_sdma.c274 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
299 ALIGN(le32_to_cpu(sdma_hv3->ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
Damdgpu_gfx.c1179 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1189 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1206 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1216 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1233 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
1243 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1260 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode()
1277 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
Damdgpu_isp.c120 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in isp_load_fw_by_psp()
Damdgpu_vcn.c186 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
365 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_vcn_resume()
368 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
369 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
1070 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in amdgpu_vcn_setup_ucode()
Damdgpu_uvd.c320 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
506 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_uvd_resume()
509 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
510 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
Dgfx_v11_0.c645 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_init_toc_microcode()
1291 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1308 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1325 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1346 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1355 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1364 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
1375 fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode()
2133 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v11_0_load_rlcg_microcode()
2964 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode()
[all …]
Dgfx_v12_0.c547 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v12_0_init_toc_microcode()
1090 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode()
1107 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode()
1124 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode()
1145 fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_gfx_ucode()
1196 fw_size = le32_to_cpu(sdma_hdr->ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_sdma_ucode()
1846 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v12_0_load_rlcg_microcode()
2229 fw_ucode_size = le32_to_cpu(pfp_hdr->ucode_size_bytes); in gfx_v12_0_cp_gfx_load_pfp_microcode_rs64()
2373 fw_ucode_size = le32_to_cpu(me_hdr->ucode_size_bytes); in gfx_v12_0_cp_gfx_load_me_microcode_rs64()
2695 fw_ucode_size = le32_to_cpu(mec_hdr->ucode_size_bytes); in gfx_v12_0_cp_compute_load_microcode_rs64()
Dvcn_v5_0_0.c340 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v5_0_0_mc_resume()
401 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v5_0_0_mc_resume_dpg_mode()
Dgfx_v7_0.c2413 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2423 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2433 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2668 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
2690 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
3448 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
Dgfx_v10_0.c4389 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); in gfx_v10_0_mec_init()
4391 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v10_0_mec_init()
5390 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v10_0_rlc_load_microcode()
5611 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5621 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5631 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5641 fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5651 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
5672 fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode()
5963 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v10_0_cp_gfx_load_pfp_microcode()
[all …]
Dgmc_v8_0.c299 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_tonga_mc_load_microcode()
368 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_polaris_mc_load_microcode()
Dvcn_v4_0_5.c376 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v4_0_5_mc_resume()
437 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v4_0_5_mc_resume_dpg_mode()
Damdgpu_rlc.c338 ALIGN(le32_to_cpu(common_hdr->ucode_size_bytes), PAGE_SIZE); in amdgpu_gfx_rlc_init_microcode_v2_0()
Dgmc_v6_0.c158 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v6_0_mc_load_microcode()
Dgfx_v6_0.c1951 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1960 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1969 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2507 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_rlc_resume()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_ucode.h164 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
Dradeon_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
Dci_smc.c204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
Dsi_smc.c229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
Dcik_sdma.c482 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
491 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
/linux-6.12.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_smc.c221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()

12