Lines Matching refs:mes_hdr
462 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_init_microcode() local
485 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_init_microcode()
488 le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v11_0_init_microcode()
490 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v11_0_init_microcode()
492 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v11_0_init_microcode()
493 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
495 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v11_0_init_microcode()
496 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v11_0_init_microcode()
513 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v11_0_init_microcode()
520 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v11_0_init_microcode()
538 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_buffer() local
542 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_buffer()
546 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v11_0_allocate_ucode_buffer()
547 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v11_0_allocate_ucode_buffer()
571 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v11_0_allocate_ucode_data_buffer() local
575 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v11_0_allocate_ucode_data_buffer()
579 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v11_0_allocate_ucode_data_buffer()
580 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v11_0_allocate_ucode_data_buffer()