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()
282 fw_offset += ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_ucode_init_bo()
Damdgpu_uvd.c201 bo_size = AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8) in amdgpu_uvd_sw_init()
322 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_uvd_resume()
323 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
324 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
Damdgpu_ucode.h34 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
Dsi_smc.c221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()
Dci_smc.c225 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_ci_load_smc_ucode()
Dgfx_v8_0.c1030 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1037 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1044 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1051 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1058 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1066 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
4080 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_rlc_load_microcode()
4182 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
4192 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
4202 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
[all …]
Damdgpu_cgs.c775 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
850 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
Dsdma_v2_4.c167 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v2_4_init_microcode()
541 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v2_4_load_microcode()
Dsdma_v3_0.c313 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v3_0_init_microcode()
743 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v3_0_load_microcode()
Dgfx_v7_0.c2426 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2436 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2446 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2709 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
2731 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
3718 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
Dgfx_v6_0.c1618 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1627 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1636 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2297 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_rlc_resume()
Dgmc_v6_0.c157 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v6_0_mc_load_microcode()
Dcz_smc.c460 data_size = le32_to_cpu(header->header.ucode_size_bytes); in cz_smu_populate_single_firmware_entry()
Dgmc_v7_0.c199 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v7_0_mc_load_microcode()
Dcik_sdma.c507 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
Dgmc_v8_0.c286 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_mc_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.c1891 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in ci_mc_load_microcode()
3950 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
3959 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
3968 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4306 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
4320 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
6011 size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_rlc_resume()
Dsi.c1567 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_mc_load_microcode()
3498 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3507 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3516 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
5885 u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_rlc_resume()