Lines Matching refs:mes_hdr
384 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_init_microcode() local
416 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_init_microcode()
419 le32_to_cpu(mes_hdr->mes_ucode_version); in mes_v10_1_init_microcode()
421 le32_to_cpu(mes_hdr->mes_ucode_data_version); in mes_v10_1_init_microcode()
423 le32_to_cpu(mes_hdr->mes_uc_start_addr_lo) | in mes_v10_1_init_microcode()
424 ((uint64_t)(le32_to_cpu(mes_hdr->mes_uc_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
426 le32_to_cpu(mes_hdr->mes_data_start_addr_lo) | in mes_v10_1_init_microcode()
427 ((uint64_t)(le32_to_cpu(mes_hdr->mes_data_start_addr_hi)) << 32); in mes_v10_1_init_microcode()
444 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_size_bytes), in mes_v10_1_init_microcode()
451 ALIGN(le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes), in mes_v10_1_init_microcode()
469 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_buffer() local
473 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_buffer()
477 le32_to_cpu(mes_hdr->mes_ucode_offset_bytes)); in mes_v10_1_allocate_ucode_buffer()
478 fw_size = le32_to_cpu(mes_hdr->mes_ucode_size_bytes); in mes_v10_1_allocate_ucode_buffer()
502 const struct mes_firmware_header_v1_0 *mes_hdr; in mes_v10_1_allocate_ucode_data_buffer() local
506 mes_hdr = (const struct mes_firmware_header_v1_0 *) in mes_v10_1_allocate_ucode_data_buffer()
510 le32_to_cpu(mes_hdr->mes_ucode_data_offset_bytes)); in mes_v10_1_allocate_ucode_data_buffer()
511 fw_size = le32_to_cpu(mes_hdr->mes_ucode_data_size_bytes); in mes_v10_1_allocate_ucode_data_buffer()