Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ucode.c826 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local
848 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
935 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
937 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
940 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
942 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
945 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
947 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
950 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
952 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
Dmes_v12_0.c761 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v12_0_allocate_ucode_buffer() local
765 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v12_0_allocate_ucode_buffer()
769 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v12_0_allocate_ucode_buffer()
770 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v12_0_allocate_ucode_buffer()
795 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v12_0_allocate_ucode_data_buffer() local
799 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v12_0_allocate_ucode_data_buffer()
803 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v12_0_allocate_ucode_data_buffer()
804 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v12_0_allocate_ucode_data_buffer()
Damdgpu_mes.c1592 const struct mes_firmware_header_v1_0 *mes_hdr; in amdgpu_mes_init_microcode() local
1626 mes_hdr = (const struct mes_firmware_header_v1_0 *) in amdgpu_mes_init_microcode()
1629 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in amdgpu_mes_init_microcode()
1630 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()
1632 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in amdgpu_mes_init_microcode()
1633 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()
1650 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in amdgpu_mes_init_microcode()
1657 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in amdgpu_mes_init_microcode()
Dmes_v11_0.c774 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local
778 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_buffer()
782 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v11_0_allocate_ucode_buffer()
783 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v11_0_allocate_ucode_buffer()
809 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_data_buffer() local
813 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_data_buffer()
817 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v11_0_allocate_ucode_data_buffer()
818 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v11_0_allocate_ucode_data_buffer()
Dgfx_v12_0.c1207 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode() local
1219 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1223 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1224 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1229 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1230 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
Dgfx_v11_0.c1429 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local
1441 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1445 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1446 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1452 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1453 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()