Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Dmes_v10_1.c384 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_init_microcode() local
416 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_init_microcode()
419 le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v10_1_init_microcode()
421 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v10_1_init_microcode()
423 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v10_1_init_microcode()
424 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
426 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v10_1_init_microcode()
427 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
444 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v10_1_init_microcode()
451 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v10_1_init_microcode()
[all …]
Dmes_v11_0.c463 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_init_microcode() local
486 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_init_microcode()
489 le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v11_0_init_microcode()
491 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v11_0_init_microcode()
493 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v11_0_init_microcode()
494 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
496 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v11_0_init_microcode()
497 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
514 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v11_0_init_microcode()
521 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v11_0_init_microcode()
[all …]
Damdgpu_ucode.c751 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local
770 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()
849 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
851 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
854 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
856 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
859 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()
861 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()
864 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()
866 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
Dgfx_v11_0.c1206 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local
1218 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1222 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1223 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1229 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1230 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()