Searched refs:mes_hdr (Results 1 – 6 of 6) sorted by relevance
826 const struct mes_firmware_header_v1_0 *mes_hdr = NULL; in amdgpu_ucode_init_single_fw() local848 mes_hdr = (const struct mes_firmware_header_v1_0 *)ucode->fw->data; in amdgpu_ucode_init_single_fw()935 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()937 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()940 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()942 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()945 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in amdgpu_ucode_init_single_fw()947 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes); in amdgpu_ucode_init_single_fw()950 ucode->ucode_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in amdgpu_ucode_init_single_fw()952 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes); in amdgpu_ucode_init_single_fw()
761 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v12_0_allocate_ucode_buffer() local765 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v12_0_allocate_ucode_buffer()769 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v12_0_allocate_ucode_buffer()770 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v12_0_allocate_ucode_buffer()795 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v12_0_allocate_ucode_data_buffer() local799 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v12_0_allocate_ucode_data_buffer()803 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v12_0_allocate_ucode_data_buffer()804 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v12_0_allocate_ucode_data_buffer()
1592 const struct mes_firmware_header_v1_0 *mes_hdr; in amdgpu_mes_init_microcode() local1626 mes_hdr = (const struct mes_firmware_header_v1_0 *) in amdgpu_mes_init_microcode()1629 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in amdgpu_mes_init_microcode()1630 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()1632 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in amdgpu_mes_init_microcode()1633 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in amdgpu_mes_init_microcode()1650 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in amdgpu_mes_init_microcode()1657 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in amdgpu_mes_init_microcode()
774 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local778 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_buffer()782 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v11_0_allocate_ucode_buffer()783 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v11_0_allocate_ucode_buffer()809 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_data_buffer() local813 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_data_buffer()817 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v11_0_allocate_ucode_data_buffer()818 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v11_0_allocate_ucode_data_buffer()
1207 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode() local1219 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()1223 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()1224 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()1229 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()1230 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v12_0_rlc_backdoor_autoload_copy_mes_ucode()
1429 const struct mes_firmware_header_v1_0 *mes_hdr; in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode() local1441 mes_hdr = (const struct mes_firmware_header_v1_0 *) in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1445 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1446 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1452 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()1453 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in gfx_v11_0_rlc_backdoor_autoload_copy_mes_ucode()