Home
last modified time | relevance | path

Searched refs:umsch_mm_hdr (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_umsch_mm.c576 const struct umsch_mm_firmware_header_v1_0 *umsch_mm_hdr; in amdgpu_umsch_mm_init_microcode() local
597 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 …]
Damdgpu_ucode.c831 const struct umsch_mm_firmware_header_v1_0 *umsch_mm_hdr = NULL; in amdgpu_ucode_init_single_fw() local
853 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()