Searched refs:umsch_mm_hdr (Results 1 – 2 of 2) sorted by relevance
576 const struct umsch_mm_firmware_header_v1_0 *umsch_mm_hdr; in amdgpu_umsch_mm_init_microcode() local597 umsch_mm_hdr = (const struct umsch_mm_firmware_header_v1_0 *)adev->umsch_mm.fw->data; in amdgpu_umsch_mm_init_microcode()599 adev->umsch_mm.ucode_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_size_bytes); in amdgpu_umsch_mm_init_microcode()600 adev->umsch_mm.data_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_size_bytes); in amdgpu_umsch_mm_init_microcode()603 le32_to_cpu(umsch_mm_hdr->umsch_mm_irq_start_addr_lo) | in amdgpu_umsch_mm_init_microcode()604 ((uint64_t)(le32_to_cpu(umsch_mm_hdr->umsch_mm_irq_start_addr_hi)) << 32); in amdgpu_umsch_mm_init_microcode()606 le32_to_cpu(umsch_mm_hdr->umsch_mm_uc_start_addr_lo) | in amdgpu_umsch_mm_init_microcode()607 ((uint64_t)(le32_to_cpu(umsch_mm_hdr->umsch_mm_uc_start_addr_hi)) << 32); in amdgpu_umsch_mm_init_microcode()609 le32_to_cpu(umsch_mm_hdr->umsch_mm_data_start_addr_lo) | in amdgpu_umsch_mm_init_microcode()610 ((uint64_t)(le32_to_cpu(umsch_mm_hdr->umsch_mm_data_start_addr_hi)) << 32); in amdgpu_umsch_mm_init_microcode()[all …]
831 const struct umsch_mm_firmware_header_v1_0 *umsch_mm_hdr = NULL; in amdgpu_ucode_init_single_fw() local853 umsch_mm_hdr = (const struct umsch_mm_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()1056 ucode->ucode_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_size_bytes); in amdgpu_ucode_init_single_fw()1058 le32_to_cpu(umsch_mm_hdr->header.ucode_array_offset_bytes); in amdgpu_ucode_init_single_fw()1061 ucode->ucode_size = le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()1063 le32_to_cpu(umsch_mm_hdr->umsch_mm_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()