Searched refs:imu_hdr (Results 1 – 2 of 2) sorted by relevance
45 const struct imu_firmware_header_v1_0 *imu_hdr; in imu_v11_0_init_microcode() local56 imu_hdr = (const struct imu_firmware_header_v1_0 *)adev->gfx.imu_fw->data; in imu_v11_0_init_microcode()57 adev->gfx.imu_fw_version = le32_to_cpu(imu_hdr->header.ucode_version); 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()
751 const struct imu_firmware_header_v1_0 *imu_hdr = NULL; in amdgpu_ucode_init_single_fw() local770 imu_hdr = (const struct imu_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()888 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()890 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()893 ucode->ucode_size = le32_to_cpu(imu_hdr->imu_dram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()895 le32_to_cpu(imu_hdr->header.ucode_array_offset_bytes) + in amdgpu_ucode_init_single_fw()896 le32_to_cpu(imu_hdr->imu_iram_ucode_size_bytes); in amdgpu_ucode_init_single_fw()