/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cgs.c | 222 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info() 226 gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info() 434 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info() 441 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
|
D | amdgpu_gfx.c | 895 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode() 905 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode() 922 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode() 932 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode() 949 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in amdgpu_gfx_cp_init_microcode() 959 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode() 976 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in amdgpu_gfx_cp_init_microcode() 993 fw_size = le32_to_cpu(cp_hdr_v2_0->ucode_size_bytes); in amdgpu_gfx_cp_init_microcode()
|
D | amdgpu_ucode.c | 40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr() 788 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw() 869 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw() 901 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw() 916 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw() 931 ucode->ucode_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in amdgpu_ucode_init_single_fw() 956 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw() 962 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw() 986 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
|
D | amdgpu_uvd.h | 37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
|
D | amdgpu_ucode.h | 36 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member 178 uint32_t ucode_size_bytes; member
|
D | amdgpu_vcn.c | 257 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init() 431 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_vcn_resume() 434 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume() 435 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume() 1122 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in amdgpu_vcn_setup_ucode()
|
D | amdgpu_uvd.c | 328 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()
|
D | gfx_v11_0.c | 570 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in gfx_v11_0_init_toc_microcode() 1074 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1091 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1108 fw_size = le32_to_cpu(cpv2_hdr->ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1129 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1138 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1147 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1158 fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_gfx_ucode() 1777 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v11_0_load_rlcg_microcode() 2603 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v11_0_cp_gfx_load_pfp_microcode() [all …]
|
D | amdgpu_sdma.c | 258 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_sdma_init_microcode()
|
D | gfx_v7_0.c | 2448 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode() 2458 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode() 2468 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode() 2703 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode() 2725 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode() 3521 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
|
D | gfx_v10_0.c | 4328 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); in gfx_v10_0_mec_init() 4330 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v10_0_mec_init() 5198 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v10_0_rlc_load_microcode() 5414 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5424 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5434 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5444 fw_size = le32_to_cpu(rlc_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5454 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes) - in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode() 5475 fw_size = le32_to_cpu(sdma_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_sdma_ucode() 5767 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes); in gfx_v10_0_cp_gfx_load_pfp_microcode() [all …]
|
D | gmc_v8_0.c | 315 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_tonga_mc_load_microcode() 384 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_polaris_mc_load_microcode()
|
D | amdgpu_rlc.c | 333 ALIGN(le32_to_cpu(common_hdr->ucode_size_bytes), PAGE_SIZE); in amdgpu_gfx_rlc_init_microcode_v2_0()
|
D | gmc_v6_0.c | 170 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v6_0_mc_load_microcode()
|
D | amdgpu_psp.c | 2945 adev->psp.asd_context.bin_desc.size_bytes = le32_to_cpu(asd_hdr->header.ucode_size_bytes); in psp_init_asd_microcode() 2981 adev->psp.toc.size_bytes = le32_to_cpu(toc_hdr->header.ucode_size_bytes); in psp_init_toc_microcode() 3376 le32_to_cpu(cap_hdr_v1_0->header.ucode_size_bytes), PAGE_SIZE); in psp_init_cap_microcode() 3379 adev->psp.cap_ucode_size = le32_to_cpu(cap_hdr_v1_0->header.ucode_size_bytes); in psp_init_cap_microcode()
|
D | gfx_v6_0.c | 1966 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode() 1975 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode() 1984 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode() 2521 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_rlc_resume()
|
D | vcn_v4_0.c | 353 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v4_0_mc_resume() 413 size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in vcn_v4_0_mc_resume_dpg_mode()
|
D | uvd_v7_0.c | 431 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in uvd_v7_0_sw_init() 437 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in uvd_v7_0_sw_init()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_ucode.h | 164 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
|
D | radeon_ucode.c | 40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
|
D | ci_smc.c | 204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
|
D | si_smc.c | 229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
|
D | cik_sdma.c | 482 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.1.9/drivers/gpu/drm/amd/pm/legacy-dpm/ |
D | si_smc.c | 221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()
|
/linux-6.1.9/drivers/gpu/drm/amd/pm/swsmu/smu11/ |
D | smu_v11_0.c | 147 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in smu_v11_0_init_microcode() 182 smc_fw_size = hdr->header.ucode_size_bytes; in smu_v11_0_load_microcode()
|