Lines Matching refs:mes_hdr
278 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_init_microcode() local
304 mes_hdr = (const struct mes_firmware_header_v1_0 *)adev->mes.fw->data; in mes_v10_1_init_microcode()
305 adev->mes.ucode_fw_version = le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v10_1_init_microcode()
307 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v10_1_init_microcode()
309 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v10_1_init_microcode()
310 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
312 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v10_1_init_microcode()
313 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
320 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v10_1_init_microcode()
327 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v10_1_init_microcode()
343 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_buffer() local
347 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_buffer()
351 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v10_1_allocate_ucode_buffer()
352 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v10_1_allocate_ucode_buffer()
375 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_data_buffer() local
379 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_data_buffer()
383 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v10_1_allocate_ucode_data_buffer()
384 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v10_1_allocate_ucode_data_buffer()