Searched refs:imu_hdr (Results 1 – 3 of 3) sorted by relevance
44 const struct imu_firmware_header_v1_0 *imu_hdr; in imu_v12_0_init_microcode() local54 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()
47 const struct imu_firmware_header_v1_0 *imu_hdr; in imu_v11_0_init_microcode() local57 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()
829 const struct imu_firmware_header_v1_0 *imu_hdr = NULL; in amdgpu_ucode_init_single_fw() local851 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()