Searched refs:mes_hdr (Results 1 – 5 of 5) sorted by relevance
749 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local768 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()847 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()849 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()852 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()854 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()857 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()859 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()862 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()864 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
386 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_buffer() local390 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_buffer()394 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v10_1_allocate_ucode_buffer()395 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v10_1_allocate_ucode_buffer()419 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_data_buffer() local423 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_data_buffer()427 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v10_1_allocate_ucode_data_buffer()428 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v10_1_allocate_ucode_data_buffer()
480 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local484 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_buffer()488 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v11_0_allocate_ucode_buffer()489 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v11_0_allocate_ucode_buffer()515 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_data_buffer() local519 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_data_buffer()523 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v11_0_allocate_ucode_data_buffer()524 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v11_0_allocate_ucode_data_buffer()
1438 const struct mes_firmware_header_v1_0 *mes_hdr; in amdgpu_mes_init_microcode() local1470 mes_hdr = (const struct mes_firmware_header_v1_0 *) in amdgpu_mes_init_microcode()1473 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in amdgpu_mes_init_microcode()1474 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()1476 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in amdgpu_mes_init_microcode()1477 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()1494 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in amdgpu_mes_init_microcode()1501 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in amdgpu_mes_init_microcode()
1237 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local1249 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1253 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1254 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1260 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1261 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()