Searched refs:vpe_hdr (Results 1 – 3 of 3) sorted by relevance
126 const struct vpe_firmware_header_v1_0 *vpe_hdr; in vpe_v6_1_load_microcode() local172 vpe_hdr = (const struct vpe_firmware_header_v1_0 *)adev->vpe.fw->data; in vpe_v6_1_load_microcode()175 ucode_offset[0] = le32_to_cpu(vpe_hdr->header.ucode_array_offset_bytes); in vpe_v6_1_load_microcode()176 ucode_size[0] = le32_to_cpu(vpe_hdr->ctx_ucode_size_bytes); in vpe_v6_1_load_microcode()178 ucode_offset[1] = le32_to_cpu(vpe_hdr->ctl_ucode_offset); in vpe_v6_1_load_microcode()179 ucode_size[1] = le32_to_cpu(vpe_hdr->ctl_ucode_size_bytes); in vpe_v6_1_load_microcode()
234 const struct vpe_firmware_header_v1_0 *vpe_hdr; in amdgpu_vpe_init_microcode() local243 vpe_hdr = (const struct vpe_firmware_header_v1_0 *)adev->vpe.fw->data; in amdgpu_vpe_init_microcode()244 adev->vpe.fw_version = le32_to_cpu(vpe_hdr->header.ucode_version); in amdgpu_vpe_init_microcode()245 adev->vpe.feature_version = le32_to_cpu(vpe_hdr->ucode_feature_version); in amdgpu_vpe_init_microcode()254 ALIGN(le32_to_cpu(vpe_hdr->ctx_ucode_size_bytes), PAGE_SIZE); in amdgpu_vpe_init_microcode()260 ALIGN(le32_to_cpu(vpe_hdr->ctl_ucode_size_bytes), PAGE_SIZE); in amdgpu_vpe_init_microcode()
830 const struct vpe_firmware_header_v1_0 *vpe_hdr = NULL; in amdgpu_ucode_init_single_fw() local852 vpe_hdr = (const struct vpe_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()1046 ucode->ucode_size = le32_to_cpu(vpe_hdr->ctx_ucode_size_bytes); in amdgpu_ucode_init_single_fw()1048 le32_to_cpu(vpe_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()1051 ucode->ucode_size = le32_to_cpu(vpe_hdr->ctl_ucode_size_bytes); in amdgpu_ucode_init_single_fw()1053 le32_to_cpu(vpe_hdr->ctl_ucode_offset); in amdgpu_ucode_init_single_fw()