/*
 * This file is auto-generated, do not modify!
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once
#include <fu-input-stream.h>
/**
 * FuIlitekItsCtrlMode:
 */
typedef enum {
    /**
     * FU_ILITEK_ITS_CTRL_MODE_NORMAL:
     */
    FU_ILITEK_ITS_CTRL_MODE_NORMAL = 0x0,
    /**
     * FU_ILITEK_ITS_CTRL_MODE_TEST:
     */
    FU_ILITEK_ITS_CTRL_MODE_TEST = 0x1,
    /**
     * FU_ILITEK_ITS_CTRL_MODE_DEBUG:
     */
    FU_ILITEK_ITS_CTRL_MODE_DEBUG = 0x2,
    /**
     * FU_ILITEK_ITS_CTRL_MODE_SUSPEND:
     */
    FU_ILITEK_ITS_CTRL_MODE_SUSPEND = 0x3,
}  FuIlitekItsCtrlMode;
/**
 * FuIlitekItsCmd:
 */
typedef enum {
    /**
     * FU_ILITEK_ITS_CMD_GET_SENSOR_ID:
     */
    FU_ILITEK_ITS_CMD_GET_SENSOR_ID = 0x27,
    /**
     * FU_ILITEK_ITS_CMD_GET_FIRMWARE_VERSION:
     */
    FU_ILITEK_ITS_CMD_GET_FIRMWARE_VERSION = 0x40,
    /**
     * FU_ILITEK_ITS_CMD_GET_PROTOCOL_VERSION:
     */
    FU_ILITEK_ITS_CMD_GET_PROTOCOL_VERSION = 0x42,
    /**
     * FU_ILITEK_ITS_CMD_GET_FIRMWARE_ID:
     */
    FU_ILITEK_ITS_CMD_GET_FIRMWARE_ID = 0x46,
    /**
     * FU_ILITEK_ITS_CMD_GET_MCU_VERSION:
     */
    FU_ILITEK_ITS_CMD_GET_MCU_VERSION = 0x61,
    /**
     * FU_ILITEK_ITS_CMD_GET_MCU_INFO:
     */
    FU_ILITEK_ITS_CMD_GET_MCU_INFO = 0x62,
    /**
     * FU_ILITEK_ITS_CMD_GET_IC_MODE:
     */
    FU_ILITEK_ITS_CMD_GET_IC_MODE = 0xC0,
    /**
     * FU_ILITEK_ITS_CMD_SET_AP_MODE:
     */
    FU_ILITEK_ITS_CMD_SET_AP_MODE = 0xC1,
    /**
     * FU_ILITEK_ITS_CMD_SET_BL_MODE:
     */
    FU_ILITEK_ITS_CMD_SET_BL_MODE = 0xC2,
    /**
     * FU_ILITEK_ITS_CMD_WRITE_DATA:
     */
    FU_ILITEK_ITS_CMD_WRITE_DATA = 0xC3,
    /**
     * FU_ILITEK_ITS_CMD_FLASH_ENABLE:
     */
    FU_ILITEK_ITS_CMD_FLASH_ENABLE = 0xCC,
    /**
     * FU_ILITEK_ITS_CMD_GET_BLOCK_CRC:
     */
    FU_ILITEK_ITS_CMD_GET_BLOCK_CRC = 0xCD,
    /**
     * FU_ILITEK_ITS_CMD_SET_CTRL_MODE:
     */
    FU_ILITEK_ITS_CMD_SET_CTRL_MODE = 0xF0,
}  FuIlitekItsCmd;
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsHidRes;

FuStructIlitekItsHidRes *fu_struct_ilitek_its_hid_res_ref(FuStructIlitekItsHidRes *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_hid_res_unref(FuStructIlitekItsHidRes *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsHidRes, fu_struct_ilitek_its_hid_res_unref)
FuStructIlitekItsHidRes *fu_struct_ilitek_its_hid_res_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_hid_res_get_cmd(const FuStructIlitekItsHidRes *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_hid_res_get_read_len(const FuStructIlitekItsHidRes *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const guint8 *fu_struct_ilitek_its_hid_res_get_data(const FuStructIlitekItsHidRes *st, gsize *bufsz) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_RES_OFFSET_REPORT_ID 0x0
#define FU_STRUCT_ILITEK_ITS_HID_RES_OFFSET_RES_SIZE_SUPPORTED_ID 0x1
#define FU_STRUCT_ILITEK_ITS_HID_RES_OFFSET_CMD 0x2
#define FU_STRUCT_ILITEK_ITS_HID_RES_OFFSET_READ_LEN 0x3
#define FU_STRUCT_ILITEK_ITS_HID_RES_OFFSET_DATA 0x4
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_RES_SIZE_DATA 0x3C
#define FU_STRUCT_ILITEK_ITS_HID_RES_N_ELEMENTS_DATA 60
#define FU_STRUCT_ILITEK_ITS_HID_RES_SIZE 0x40
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_RES_DEFAULT_REPORT_ID 0x03
#define FU_STRUCT_ILITEK_ITS_HID_RES_DEFAULT_RES_SIZE_SUPPORTED_ID 0xA3
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsHidCmd;

FuStructIlitekItsHidCmd *fu_struct_ilitek_its_hid_cmd_ref(FuStructIlitekItsHidCmd *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_hid_cmd_unref(FuStructIlitekItsHidCmd *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsHidCmd, fu_struct_ilitek_its_hid_cmd_unref)
FuStructIlitekItsHidCmd *fu_struct_ilitek_its_hid_cmd_new(void) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_hid_cmd_get_write_len(const FuStructIlitekItsHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_hid_cmd_get_read_len(const FuStructIlitekItsHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuIlitekItsCmd fu_struct_ilitek_its_hid_cmd_get_cmd(const FuStructIlitekItsHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const guint8 *fu_struct_ilitek_its_hid_cmd_get_data(const FuStructIlitekItsHidCmd *st, gsize *bufsz) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_ilitek_its_hid_cmd_set_write_len(FuStructIlitekItsHidCmd *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_hid_cmd_set_read_len(FuStructIlitekItsHidCmd *st, guint8 value) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_hid_cmd_set_cmd(FuStructIlitekItsHidCmd *st, FuIlitekItsCmd value) G_GNUC_NON_NULL(1);
gboolean fu_struct_ilitek_its_hid_cmd_set_data(FuStructIlitekItsHidCmd *st, const guint8 *buf, gsize bufsz, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_REPORT_ID 0x0
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_RES_SIZE_SUPPORTED_ID 0x1
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_WRITE_LEN 0x2
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_READ_LEN 0x3
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_CMD 0x4
#define FU_STRUCT_ILITEK_ITS_HID_CMD_OFFSET_DATA 0x5
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_CMD_SIZE_DATA 0x3B
#define FU_STRUCT_ILITEK_ITS_HID_CMD_N_ELEMENTS_DATA 59
#define FU_STRUCT_ILITEK_ITS_HID_CMD_SIZE 0x40
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_HID_CMD_DEFAULT_REPORT_ID 0x03
#define FU_STRUCT_ILITEK_ITS_HID_CMD_DEFAULT_RES_SIZE_SUPPORTED_ID 0xA3
#define FU_STRUCT_ILITEK_ITS_HID_CMD_DEFAULT_WRITE_LEN 0
#define FU_STRUCT_ILITEK_ITS_HID_CMD_DEFAULT_READ_LEN 0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsLongHidCmd;

FuStructIlitekItsLongHidCmd *fu_struct_ilitek_its_long_hid_cmd_ref(FuStructIlitekItsLongHidCmd *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_long_hid_cmd_unref(FuStructIlitekItsLongHidCmd *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsLongHidCmd, fu_struct_ilitek_its_long_hid_cmd_unref)
FuStructIlitekItsLongHidCmd *fu_struct_ilitek_its_long_hid_cmd_new(void) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_long_hid_cmd_get_write_len(const FuStructIlitekItsLongHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_long_hid_cmd_get_read_len(const FuStructIlitekItsLongHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuIlitekItsCmd fu_struct_ilitek_its_long_hid_cmd_get_cmd(const FuStructIlitekItsLongHidCmd *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const guint8 *fu_struct_ilitek_its_long_hid_cmd_get_data(const FuStructIlitekItsLongHidCmd *st, gsize *bufsz) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
void fu_struct_ilitek_its_long_hid_cmd_set_write_len(FuStructIlitekItsLongHidCmd *st, guint16 value) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_long_hid_cmd_set_read_len(FuStructIlitekItsLongHidCmd *st, guint16 value) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_long_hid_cmd_set_cmd(FuStructIlitekItsLongHidCmd *st, FuIlitekItsCmd value) G_GNUC_NON_NULL(1);
gboolean fu_struct_ilitek_its_long_hid_cmd_set_data(FuStructIlitekItsLongHidCmd *st, const guint8 *buf, gsize bufsz, GError **error) G_GNUC_NON_NULL(1, 2) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_REPORT_ID 0x0
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_RES_SIZE_SUPPORTED_ID 0x1
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_WRITE_LEN 0x2
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_READ_LEN 0x4
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_CMD 0x6
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_OFFSET_DATA 0x7
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_SIZE_DATA 0x400
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_N_ELEMENTS_DATA 1024
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_SIZE 0x407
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_DEFAULT_REPORT_ID 0x08
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_DEFAULT_RES_SIZE_SUPPORTED_ID 0xA3
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_DEFAULT_WRITE_LEN 0
#define FU_STRUCT_ILITEK_ITS_LONG_HID_CMD_DEFAULT_READ_LEN 0
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsFwid;

FuStructIlitekItsFwid *fu_struct_ilitek_its_fwid_ref(FuStructIlitekItsFwid *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_fwid_unref(FuStructIlitekItsFwid *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsFwid, fu_struct_ilitek_its_fwid_unref)
FuStructIlitekItsFwid *fu_struct_ilitek_its_fwid_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_fwid_get_customer_id(const FuStructIlitekItsFwid *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_fwid_get_fwid(const FuStructIlitekItsFwid *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_FWID_OFFSET_CUSTOMER_ID 0x0
#define FU_STRUCT_ILITEK_ITS_FWID_OFFSET_FWID 0x2
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_FWID_SIZE 0x4
#endif

#ifndef __GI_SCANNER__
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsSensorId;

FuStructIlitekItsSensorId *fu_struct_ilitek_its_sensor_id_ref(FuStructIlitekItsSensorId *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_sensor_id_unref(FuStructIlitekItsSensorId *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsSensorId, fu_struct_ilitek_its_sensor_id_unref)
FuStructIlitekItsSensorId *fu_struct_ilitek_its_sensor_id_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_sensor_id_get_sensor_id(const FuStructIlitekItsSensorId *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_SENSOR_ID_OFFSET_HEADER 0x0
#define FU_STRUCT_ILITEK_ITS_SENSOR_ID_OFFSET_SENSOR_ID 0x2
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_SENSOR_ID_SIZE 0x3
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_SENSOR_ID_DEFAULT_HEADER 0xa55a
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsMcuVersion;

FuStructIlitekItsMcuVersion *fu_struct_ilitek_its_mcu_version_ref(FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_mcu_version_unref(FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsMcuVersion, fu_struct_ilitek_its_mcu_version_unref)
FuStructIlitekItsMcuVersion *fu_struct_ilitek_its_mcu_version_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_mcu_version_get_ic_name(const FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mcu_version_get_data_flash_addr(const FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_mcu_version_get_data_flash_size(const FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_struct_ilitek_its_mcu_version_get_module_name(const FuStructIlitekItsMcuVersion *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_OFFSET_IC_NAME 0x0
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_OFFSET_DATA_FLASH_ADDR 0x2
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_OFFSET_DATA_FLASH_SIZE 0x5
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_OFFSET_MODULE_NAME 0x6
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_SIZE_MODULE_NAME 0x1A
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_N_ELEMENTS_MODULE_NAME 26
#define FU_STRUCT_ILITEK_ITS_MCU_VERSION_SIZE 0x20
#endif

#ifndef __GI_SCANNER__
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsMcuInfo;

FuStructIlitekItsMcuInfo *fu_struct_ilitek_its_mcu_info_ref(FuStructIlitekItsMcuInfo *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_mcu_info_unref(FuStructIlitekItsMcuInfo *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsMcuInfo, fu_struct_ilitek_its_mcu_info_unref)
FuStructIlitekItsMcuInfo *fu_struct_ilitek_its_mcu_info_parse(const guint8 *buf, gsize bufsz, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_struct_ilitek_its_mcu_info_get_ic_name(const FuStructIlitekItsMcuInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mcu_info_get_mm_addr(const FuStructIlitekItsMcuInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
gchar *fu_struct_ilitek_its_mcu_info_get_module_name(const FuStructIlitekItsMcuInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_OFFSET_IC_NAME 0x0
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_OFFSET_MM_ADDR 0x7
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_OFFSET_MODULE_NAME 0xA
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_SIZE_IC_NAME 0x5
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_N_ELEMENTS_IC_NAME 5
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_SIZE_MODULE_NAME 0x12
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_N_ELEMENTS_MODULE_NAME 18
#define FU_STRUCT_ILITEK_ITS_MCU_INFO_SIZE 0x1C
#endif

#ifndef __GI_SCANNER__
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsBlockInfo;

FuStructIlitekItsBlockInfo *fu_struct_ilitek_its_block_info_ref(FuStructIlitekItsBlockInfo *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_block_info_unref(FuStructIlitekItsBlockInfo *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsBlockInfo, fu_struct_ilitek_its_block_info_unref)
guint32 fu_struct_ilitek_its_block_info_get_addr(const FuStructIlitekItsBlockInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_BLOCK_INFO_OFFSET_ADDR 0x0
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_BLOCK_INFO_SIZE 0x3
#endif

#ifndef __GI_SCANNER__
#endif
typedef struct {
  GByteArray *buf;
  guint refcount;
} FuStructIlitekItsMmInfo;

FuStructIlitekItsMmInfo *fu_struct_ilitek_its_mm_info_ref(FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1);
void fu_struct_ilitek_its_mm_info_unref(FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1);
G_DEFINE_AUTOPTR_CLEANUP_FUNC(FuStructIlitekItsMmInfo, fu_struct_ilitek_its_mm_info_unref)
FuStructIlitekItsMmInfo *fu_struct_ilitek_its_mm_info_parse_bytes(GBytes *blob, gsize offset, GError **error) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mm_info_get_mapping_ver(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mm_info_get_protocol_ver(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
const guint8 *fu_struct_ilitek_its_mm_info_get_ic_name(const FuStructIlitekItsMmInfo *st, gsize *bufsz) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mm_info_get_tuning_ver(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mm_info_get_fw_ver(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint16 fu_struct_ilitek_its_mm_info_get_fwid(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint8 fu_struct_ilitek_its_mm_info_get_block_num(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
FuStructIlitekItsBlockInfo *fu_struct_ilitek_its_mm_info_get_blocks(const FuStructIlitekItsMmInfo *st, guint idx) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;
guint32 fu_struct_ilitek_its_mm_info_get_end_addr(const FuStructIlitekItsMmInfo *st) G_GNUC_NON_NULL(1) G_GNUC_WARN_UNUSED_RESULT;

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_MAPPING_VER 0x0
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_PROTOCOL_VER 0x3
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_IC_NAME 0x6
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_TUNING_VER 0xC
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_FW_VER 0x10
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_FWID 0x2C
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_BLOCK_NUM 0x50
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_BLOCKS 0x54
#define FU_STRUCT_ILITEK_ITS_MM_INFO_OFFSET_END_ADDR 0x7B
#endif

#ifndef __GI_SCANNER__
#define FU_STRUCT_ILITEK_ITS_MM_INFO_SIZE_IC_NAME 0x6
#define FU_STRUCT_ILITEK_ITS_MM_INFO_N_ELEMENTS_IC_NAME 6
#define FU_STRUCT_ILITEK_ITS_MM_INFO_SIZE_BLOCKS 0x1E
#define FU_STRUCT_ILITEK_ITS_MM_INFO_N_ELEMENTS_BLOCKS 10
#define FU_STRUCT_ILITEK_ITS_MM_INFO_SIZE 0x80
#endif

#ifndef __GI_SCANNER__
#endif
