Home
last modified time | relevance | path

Searched refs:vpe_hdr (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dvpe_v6_1.c126 const struct vpe_firmware_header_v1_0 *vpe_hdr; in vpe_v6_1_load_microcode() local
172 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()
Damdgpu_vpe.c234 const struct vpe_firmware_header_v1_0 *vpe_hdr; in amdgpu_vpe_init_microcode() local
243 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()
Damdgpu_ucode.c830 const struct vpe_firmware_header_v1_0 *vpe_hdr = NULL; in amdgpu_ucode_init_single_fw() local
852 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()