Home
last modified time | relevance | path

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

/drivers/gpu/drm/amd/amdgpu/
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()
Dmes_v10_1.c382 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_buffer() local
386 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_buffer()
390 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v10_1_allocate_ucode_buffer()
391 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v10_1_allocate_ucode_buffer()
415 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_data_buffer() local
419 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_data_buffer()
423 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v10_1_allocate_ucode_data_buffer()
424 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v10_1_allocate_ucode_data_buffer()
Dmes_v11_0.c468 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local
472 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_buffer()
476 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v11_0_allocate_ucode_buffer()
477 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v11_0_allocate_ucode_buffer()
501 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_data_buffer() local
505 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_data_buffer()
509 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v11_0_allocate_ucode_data_buffer()
510 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v11_0_allocate_ucode_data_buffer()
Damdgpu_mes.c1428 const struct mes_firmware_header_v1_0 *mes_hdr; in amdgpu_mes_init_microcode() local
1460 mes_hdr = (const struct mes_firmware_header_v1_0 *) in amdgpu_mes_init_microcode()
1463 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in amdgpu_mes_init_microcode()
1464 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()
1466 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in amdgpu_mes_init_microcode()
1467 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()
1484 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in amdgpu_mes_init_microcode()
1491 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in amdgpu_mes_init_microcode()
Dgfx_v11_0.c1220 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local
1232 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1236 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1237 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1243 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()
1244 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()