mec2_hdr 2751 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c const struct gfx_firmware_header_v1_0 *mec2_hdr; mec2_hdr 2756 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c mec2_hdr = (const struct gfx_firmware_header_v1_0 *)adev->gfx.mec2_fw->data; mec2_hdr 2757 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c amdgpu_ucode_print_gfx_hdr(&mec2_hdr->header); mec2_hdr 2758 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c adev->gfx.mec2_fw_version = le32_to_cpu(mec2_hdr->header.ucode_version); mec2_hdr 2760 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c mec2_hdr->ucode_feature_version); mec2_hdr 2765 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes)); mec2_hdr 2766 drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; mec2_hdr 4288 drivers/gpu/drm/radeon/cik.c const struct gfx_firmware_header_v1_0 *mec2_hdr = mec2_hdr 4293 drivers/gpu/drm/radeon/cik.c le32_to_cpu(mec2_hdr->header.ucode_array_offset_bytes)); mec2_hdr 4294 drivers/gpu/drm/radeon/cik.c fw_size = le32_to_cpu(mec2_hdr->header.ucode_size_bytes) / 4; mec2_hdr 4298 drivers/gpu/drm/radeon/cik.c WREG32(CP_MEC_ME2_UCODE_ADDR, le32_to_cpu(mec2_hdr->header.ucode_version));