Home
last modified time | relevance | path

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

/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A Damdgpu_vcn.c85 adev->vcn.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vcn_sw_init()
93 fw_check = (le32_to_cpu(hdr->ucode_version) >> 20) & 0xf; in amdgpu_vcn_sw_init()
97 fw_rev = le32_to_cpu(hdr->ucode_version) & 0xfff; in amdgpu_vcn_sw_init()
98 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 12) & 0xff; in amdgpu_vcn_sw_init()
100 dec_ver = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xf; in amdgpu_vcn_sw_init()
101 vep = (le32_to_cpu(hdr->ucode_version) >> 28) & 0xf; in amdgpu_vcn_sw_init()
107 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_vcn_sw_init()
108 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_vcn_sw_init()
109 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_vcn_sw_init()
H A Damdgpu_uvd.c208 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in amdgpu_uvd_sw_init()
213 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in amdgpu_uvd_sw_init()
214 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init()
239 dec_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in amdgpu_uvd_sw_init()
240 enc_minor = (le32_to_cpu(hdr->ucode_version) >> 24) & 0x3f; in amdgpu_uvd_sw_init()
241 enc_major = (le32_to_cpu(hdr->ucode_version) >> 30) & 0x3; in amdgpu_uvd_sw_init()
247 adev->uvd.fw_version = le32_to_cpu(hdr->ucode_version); in amdgpu_uvd_sw_init()
H A Damdgpu_vce.c95 unsigned ucode_version, version_major, version_minor, binary_id; in amdgpu_vce_sw_init() local
172 ucode_version = le32_to_cpu(hdr->ucode_version); in amdgpu_vce_sw_init()
173 version_major = (ucode_version >> 20) & 0xfff; in amdgpu_vce_sw_init()
174 version_minor = (ucode_version >> 8) & 0xfff; in amdgpu_vce_sw_init()
175 binary_id = ucode_version & 0xff; in amdgpu_vce_sw_init()
H A Damdgpu_cgs.c232 info->version = (uint16_t)le32_to_cpu(header->header.ucode_version); in amdgpu_cgs_get_firmware_info()
463 adev->pm.fw_version = le32_to_cpu(hdr->header.ucode_version); in amdgpu_cgs_get_firmware_info()
H A Dpsp_v3_1.c133 adev->psp.sos_fw_version = le32_to_cpu(hdr->header.ucode_version); in psp_v3_1_init_microcode()
153 adev->psp.asd_fw_version = le32_to_cpu(hdr->header.ucode_version); in psp_v3_1_init_microcode()
H A Damdgpu_ucode.h33 uint32_t ucode_version; member
H A Dpsp_v10_0.c129 adev->psp.asd_fw_version = le32_to_cpu(hdr->header.ucode_version); in psp_v10_0_init_microcode()
H A Damdgpu_ucode.c39 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in amdgpu_ucode_print_common_hdr()
H A Dgmc_v8_0.c316 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v8_0_tonga_mc_load_microcode()
385 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v8_0_polaris_mc_load_microcode()
H A Dgfx_v9_0.c527 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
538 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
549 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
564 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
615 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
628 le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v9_0_init_microcode()
H A Damdgpu_amdkfd_gfx_v8.c832 return hdr->common.ucode_version; in get_fw_version()
H A Damdgpu_amdkfd_gfx_v9.c1010 return hdr->common.ucode_version; in get_fw_version()
H A Dsdma_v2_4.c158 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v2_4_init_microcode()
H A Dgfx_v8_0.c1023 adev->gfx.pfp_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1043 adev->gfx.me_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1064 adev->gfx.ce_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1084 adev->gfx.rlc_fw_version = le32_to_cpu(rlc_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1144 adev->gfx.mec_fw_version = le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
1167 le32_to_cpu(cp_hdr->header.ucode_version); in gfx_v8_0_init_microcode()
H A Dgmc_v7_0.c191 adev->gmc.fw_version = le32_to_cpu(hdr->header.ucode_version); in gmc_v7_0_mc_load_microcode()
H A Dsdma_v3_0.c316 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v3_0_init_microcode()
H A Dsdma_v4_0.c243 adev->sdma.instance[i].fw_version = le32_to_cpu(hdr->header.ucode_version); in sdma_v4_0_init_microcode()
H A Damdgpu_device.c1459 "Unsupported gpu_info table %d\n", hdr->header.ucode_version); in amdgpu_device_parse_gpu_info_fw()
/dflybsd-src/sys/dev/drm/radeon/
H A Dradeon_ucode.h163 uint32_t ucode_version; member
H A Dradeon_ucode.c38 DRM_DEBUG("ucode_version: 0x%08x\n", le32_to_cpu(hdr->ucode_version)); in radeon_ucode_print_common_hdr()
H A Dradeon_uvd.c155 family_id = le32_to_cpu(hdr->ucode_version) & 0xff; in radeon_uvd_init()
156 version_major = (le32_to_cpu(hdr->ucode_version) >> 24) & 0xff; in radeon_uvd_init()
157 version_minor = (le32_to_cpu(hdr->ucode_version) >> 8) & 0xff; in radeon_uvd_init()
H A Dcik.c3954 WREG32(CP_PFP_UCODE_ADDR, le32_to_cpu(pfp_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()
3963 WREG32(CP_CE_UCODE_ADDR, le32_to_cpu(ce_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()
3972 WREG32(CP_ME_RAM_WADDR, le32_to_cpu(me_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()
3973 WREG32(CP_ME_RAM_RADDR, le32_to_cpu(me_hdr->header.ucode_version)); in cik_cp_gfx_load_microcode()
4310 WREG32(CP_MEC_ME1_UCODE_ADDR, le32_to_cpu(mec_hdr->header.ucode_version)); in cik_cp_compute_load_microcode()
4324 WREG32(CP_MEC_ME2_UCODE_ADDR, le32_to_cpu(mec2_hdr->header.ucode_version)); in cik_cp_compute_load_microcode()
5991 WREG32(RLC_GPM_UCODE_ADDR, le32_to_cpu(hdr->header.ucode_version)); in cik_rlc_resume()
/dflybsd-src/sys/dev/drm/amd/include/
H A Datomfirmware.h1592 uint32_t ucode_version; member