Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
234 le32_to_cpu(header->ucode_size_bytes)); in amdgpu_ucode_init_single_fw()
290 fw_offset += ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_ucode_init_bo()
Damdgpu_ucode.h34 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
Damdgpu_uvd.c162 bo_size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8) in amdgpu_uvd_sw_init()
282 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
284 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
Diceland_smc.c286 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in iceland_smu_upload_firmware_image()
461 data_size = le32_to_cpu(header->header.ucode_size_bytes); in iceland_smu_populate_single_firmware_entry()
Dci_smc.c225 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_ci_load_smc_ucode()
Dgfx_v8_0.c835 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
842 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
849 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
856 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
863 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
871 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
3066 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_rlc_load_microcode()
3155 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
3165 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
3175 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
[all …]
Damdgpu_cgs.c683 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
727 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
Dtonga_smc.c279 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in tonga_smu_upload_firmware_image()
402 data_size = le32_to_cpu(header->header.ucode_size_bytes); in tonga_smu_populate_single_firmware_entry()
Dfiji_smc.c279 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in fiji_smu_upload_firmware_image()
400 data_size = le32_to_cpu(header->header.ucode_size_bytes); in fiji_smu_populate_single_firmware_entry()
Dsdma_v2_4.c158 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v2_4_init_microcode()
557 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v2_4_load_microcode()
Dsdma_v3_0.c255 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v3_0_init_microcode()
705 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v3_0_load_microcode()
Dgfx_v7_0.c2767 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2777 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2787 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
3070 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
3092 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
4076 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
Dcz_smc.c465 data_size = le32_to_cpu(header->header.ucode_size_bytes); in cz_smu_populate_single_firmware_entry()
Dgmc_v8_0.c262 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_mc_load_microcode()
Dgmc_v7_0.c222 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v7_0_mc_load_microcode()
Dcik_sdma.c514 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
/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.c225 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.c483 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
492 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
Dcik.c1889 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in ci_mc_load_microcode()
4298 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4307 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4316 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4658 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
4672 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
6357 size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_rlc_resume()
Dsi.c1561 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_mc_load_microcode()
3503 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3512 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3521 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
5880 u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_rlc_resume()