Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/amdgpu/
H A 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()
457 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in amdgpu_cgs_get_firmware_info()
464 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()
348 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes); in amdgpu_ucode_init_single_fw()
355 ucode->ucode_size = le32_to_cpu(header->ucode_size_bytes) - in amdgpu_ucode_init_single_fw()
400 ALIGN(le32_to_cpu(comm_hdr->ucode_size_bytes), in amdgpu_ucode_patch_jt()
H A 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()
H A Damdgpu_uvd.h37 …GN(le32_to_cpu(((const struct common_firmware_header *)(adev)->uvd.fw->data)->ucode_size_bytes) + \
H A 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()
H A 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()
H A Damdgpu_ucode.h34 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
H A Dgfx_v9_0.c642 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
649 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
656 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
663 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in gfx_v9_0_init_microcode()
694 ALIGN(le32_to_cpu(header->ucode_size_bytes) - le32_to_cpu(cp_hdr->jt_size) * 4, PAGE_SIZE); in gfx_v9_0_init_microcode()
1069 fw_size = le32_to_cpu(mec_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_mec_init()
1071 r = amdgpu_bo_create_reserved(adev, mec_hdr->header.ucode_size_bytes, in gfx_v9_0_mec_init()
2269 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_rlc_load_microcode()
2361 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
2371 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in gfx_v9_0_cp_gfx_load_microcode()
[all …]
H A Dpsp_v10_0.c131 adev->psp.asd_ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes); in psp_v10_0_init_microcode()
H A 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()
H A 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 …]
H A Dgmc_v8_0.c320 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_tonga_mc_load_microcode()
389 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v8_0_polaris_mc_load_microcode()
H A 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()
H A Dsdma_v4_0.c256 ALIGN(le32_to_cpu(header->ucode_size_bytes), PAGE_SIZE); in sdma_v4_0_init_microcode()
854 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in sdma_v4_0_load_microcode()
H A Dvce_v4_0.c450 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vce_v4_0_sw_init()
H A Dgmc_v7_0.c195 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in gmc_v7_0_mc_load_microcode()
H A Dvcn_v1_0.c110 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in vcn_v1_0_sw_init()
H A Duvd_v7_0.c448 ALIGN(le32_to_cpu(hdr->ucode_size_bytes), PAGE_SIZE); in uvd_v7_0_sw_init()
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_ucode.h164 uint32_t ucode_size_bytes; /* size of ucode in bytes */ member
H A Dradeon_ucode.c39 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.c481 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
490 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_sdma_load_microcode()
H A Dcik.c1879 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()
5987 size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in cik_rlc_resume()
H A Dsi.c1582 ucode_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_mc_load_microcode()
3492 fw_size = le32_to_cpu(pfp_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3501 fw_size = le32_to_cpu(ce_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
3510 fw_size = le32_to_cpu(me_hdr->header.ucode_size_bytes) / 4; in si_cp_load_microcode()
5879 u32 fw_size = le32_to_cpu(hdr->header.ucode_size_bytes) / 4; in si_rlc_resume()