Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Dmes_v10_1.c278 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_init_microcode() local
304 mes_hdr = (const struct mes_firmware_header_v1_0 *)adev->mes.fw->data; in mes_v10_1_init_microcode()
305 adev->mes.ucode_fw_version = le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v10_1_init_microcode()
307 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v10_1_init_microcode()
309 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v10_1_init_microcode()
310 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
312 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v10_1_init_microcode()
313 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
320 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v10_1_init_microcode()
327 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v10_1_init_microcode()
[all …]
Damdgpu_ucode.c574 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local
589 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
668 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
670 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)), in amdgpu_ucode_init_single_fw()
673 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
675 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)), in amdgpu_ucode_init_single_fw()