Home
last modified time | relevance | path

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

12

/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_cgs.c221 data_size = le32_to_cpu(header->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
225 gpu_addr += ALIGN(le32_to_cpu(header->header.ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
433 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
440 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
Damdgpu_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
347 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
354 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
399 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
Damdgpu_uvd.h37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
Damdgpu_vcn.c117 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
196 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_vcn_resume()
197 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
198 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
Damdgpu_ucode.h34 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
Damdgpu_uvd.c253 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
407 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_uvd_resume()
408 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
409 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
Dpsp_v3_1.c136 adev->psp.sys_bin_size = le32_to_cpu(hdr->header.ucode_size_bytes) - in psp_v3_1_init_microcode()
155 adev->psp.asd_ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in psp_v3_1_init_microcode()
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_v9_0.c641 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
648 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
655 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
662 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
693 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); in gfx_v9_0_init_microcode()
708 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); in gfx_v9_0_init_microcode()
1068 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_mec_init()
1070 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v9_0_mec_init()
2284 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_rlc_load_microcode()
2376 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
[all …]
Dpsp_v10_0.c131 adev->psp.asd_ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in psp_v10_0_init_microcode()
Dsdma_v2_4.c169 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v2_4_init_microcode()
530 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v2_4_load_microcode()
Dgfx_v8_0.c1182 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1189 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1196 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1203 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1210 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
1231 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v8_0_init_microcode()
4217 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_rlc_load_microcode()
4315 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
4325 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
4335 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v8_0_cp_gfx_load_microcode()
[all …]
Dgfx_v7_0.c2450 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2460 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2470 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2712 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
2734 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
3573 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
Dgmc_v8_0.c291 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_tonga_mc_load_microcode()
367 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_polaris_mc_load_microcode()
Dsdma_v3_0.c327 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v3_0_init_microcode()
803 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v3_0_load_microcode()
Dsdma_v4_0.c255 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v4_0_init_microcode()
853 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v4_0_load_microcode()
Dgfx_v6_0.c1984 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1993 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2002 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2568 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_rlc_resume()
Dgmc_v6_0.c176 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v6_0_mc_load_microcode()
/Linux-v4.19/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.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.c1890 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in ci_mc_load_microcode()
3920 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
3929 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
3938 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in cik_cp_gfx_load_microcode()
4276 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
4290 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in cik_cp_compute_load_microcode()
5958 size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_rlc_resume()

12