Searched refs:mes_hdr (Results 1 – 5 of 5) sorted by relevance
751 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local770 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()
382 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_buffer() local386 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() local419 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()
468 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local472 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() local505 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()
1428 const struct mes_firmware_header_v1_0 *mes_hdr; in amdgpu_mes_init_microcode() local1460 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()
1220 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local1232 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()