Home
last modified time | relevance | path

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

/linux-6.1.9/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.c462 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_init_microcode() local
485 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_init_microcode()
488 le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v11_0_init_microcode()
490 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v11_0_init_microcode()
492 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v11_0_init_microcode()
493 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
495 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v11_0_init_microcode()
496 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
513 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v11_0_init_microcode()
520 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.c1212 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local
1224 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1228 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1229 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1235 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1236 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()