Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cgs.c222 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()
458 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
465 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_cgs_get_firmware_info()
H A Damdgpu_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_ucode_print_common_hdr()
508 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
515 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
530 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
598 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
H A Damdgpu_uvd.h37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
H A Damdgpu_vcn.c185 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_vcn_sw_init()
306 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_vcn_resume()
307 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
308 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_vcn_resume()
H A Damdgpu_uvd.c281 bo_size += AMDGPU_GPU_PAGE_ALIGN(le32_to_cpu(hdr->ucode_size_bytes) + 8); in amdgpu_uvd_sw_init()
446 le32_to_cpu(hdr->ucode_size_bytes)); in amdgpu_uvd_resume()
447 size -= le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
448 ptr += le32_to_cpu(hdr->ucode_size_bytes); in amdgpu_uvd_resume()
H A Damdgpu_ucode.h36 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
H A Dgfx_v10_0.c3826 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v10_0_init_microcode()
3833 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v10_0_init_microcode()
3840 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v10_0_init_microcode()
3848 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v10_0_init_microcode()
3893 ALIGN(le32_to_cpu(header->ucode_size_bytes) - in gfx_v10_0_init_microcode()
3909 ALIGN(le32_to_cpu(header->ucode_size_bytes) - in gfx_v10_0_init_microcode()
4121 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); in gfx_v10_0_mec_init()
4123 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v10_0_mec_init()
4947 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v10_0_rlc_load_microcode()
5162 fw_size = le32_to_cpu(cp_hdr->header.ucode_size_bytes); in gfx_v10_0_rlc_backdoor_autoload_copy_gfx_ucode()
[all …]
H A Dgfx_v9_0.c1374 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_cp_gfx_microcode()
1381 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_cp_gfx_microcode()
1388 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_cp_gfx_microcode()
1500 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_rlc_microcode()
1582 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); in gfx_v9_0_init_cp_compute_microcode()
1597 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); in gfx_v9_0_init_cp_compute_microcode()
1992 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes); in gfx_v9_0_mec_init()
1994 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v9_0_mec_init()
3075 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_rlc_load_microcode()
3170 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
[all …]
H A Dgfx_v7_0.c2481 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2491 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2501 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_gfx_load_microcode()
2736 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
2758 fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_cp_compute_load_microcode()
3552 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v7_0_rlc_resume()
H A Dgmc_v8_0.c324 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_tonga_mc_load_microcode()
393 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_polaris_mc_load_microcode()
H A Dsdma_v5_2.c205 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v5_2_init_microcode()
773 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v5_2_load_microcode()
H A Dsdma_v5_0.c254 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v5_0_init_microcode()
840 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v5_0_load_microcode()
H A Dgmc_v6_0.c170 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v6_0_mc_load_microcode()
H A Dgfx_v6_0.c1989 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
1998 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2007 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_cp_gfx_load_microcode()
2544 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v6_0_rlc_resume()
H A Duvd_v7_0.c438 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in uvd_v7_0_sw_init()
444 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in uvd_v7_0_sw_init()
H A Dvcn_v2_5.c148 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vcn_v2_5_sw_init()
154 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vcn_v2_5_sw_init()
H A Dvcn_v3_0.c143 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vcn_v3_0_sw_init()
149 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vcn_v3_0_sw_init()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/radeon/
H A Dradeon_ucode.h164 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
H A Dradeon_ucode.c40 DRM_DEBUG("ucode_size_bytes: %u\n", le32_to_cpu(hdr->ucode_size_bytes)); in radeon_ucode_print_common_hdr()
H A Dci_smc.c204 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in ci_load_smc_ucode()
H A Dsi_smc.c229 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in si_load_smc_ucode()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/powerplay/
H A Dsi_smc.c221 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in amdgpu_si_load_smc_ucode()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c136 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in smu_v11_0_init_microcode()
171 smc_fw_size = hdr->header.ucode_size_bytes; in smu_v11_0_load_microcode()

12