Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Dimu_v11_0.c47 const struct imu_firmware_header_v1_0 *imu_hdr; in imu_v11_0_init_microcode() local
57 imu_hdr = (const struct imu_firmware_header_v1_0 *)adev->gfx.imu_fw->data; in imu_v11_0_init_microcode()
65 ALIGN(le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes), PAGE_SIZE); in imu_v11_0_init_microcode()
70 ALIGN(le32_to_cpu(imu_hdr->imu_dram_ucode_size_bytes), PAGE_SIZE); in imu_v11_0_init_microcode()
72 adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version); in imu_v11_0_init_microcode()
Dimu_v12_0.c44 const struct imu_firmware_header_v1_0 *imu_hdr; in imu_v12_0_init_microcode() local
54 imu_hdr = (const struct imu_firmware_header_v1_0 *)adev->gfx.imu_fw->data; in imu_v12_0_init_microcode()
55 adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version); in imu_v12_0_init_microcode()
62 ALIGN(le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes), PAGE_SIZE); in imu_v12_0_init_microcode()
67 ALIGN(le32_to_cpu(imu_hdr->imu_dram_ucode_size_bytes), PAGE_SIZE); in imu_v12_0_init_microcode()
Damdgpu_ucode.c829 const struct imu_firmware_header_v1_0 *imu_hdr = NULL; in amdgpu_ucode_init_single_fw() local
851 imu_hdr = (const struct imu_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
980 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
982 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()
985 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_dram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
987 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes) + in amdgpu_ucode_init_single_fw()
988 le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()