#define GB_CONTROL_BUNDLE_ID 0
#define GB_CONTROL_CPORT_ID 0
-
/*
* All operation messages (both requests and responses) begin with
* a header that encodes the size of the message (header included).
__u8 pad[2]; /* must be zero (ignore when read) */
} __packed;
-
/* Generic request types */
#define GB_REQUEST_TYPE_CPORT_SHUTDOWN 0x00
#define GB_REQUEST_TYPE_INVALID 0x7f
__u8 phase;
} __packed;
-
/* Control Protocol */
/* Greybus control request types */
#define GB_APB_CPORT_FLAG_HIGH_PRIO 0x02
} __packed;
-
/* Firmware Download Protocol */
/* Request Types */
} __packed;
/* firmware download release firmware response has no payload */
-
/* Firmware Management Protocol */
/* Request Types */
} __packed;
/* firmware management backend firmware updated response has no payload */
-
/* Component Authentication Protocol (CAP) */
/* Request Types */
__u8 signature[0];
} __packed;
-
/* Bootrom Protocol */
/* Version of the Greybus bootrom protocol we support */
__le32 product_id;
} __packed;
-
/* Power Supply */
/* Greybus power supply request types */
#define GB_POWER_SUPPLY_UPDATE 0x01
} __packed;
-
/* HID */
/* Greybus HID operation types */
__u8 report[0];
} __packed;
-
/* I2C */
/* Greybus i2c request types */
__u8 data[0]; /* inbound data */
} __packed;
-
/* GPIO */
/* Greybus GPIO request types */
} __packed;
/* irq event has no response */
-
/* PWM */
/* Greybus PWM operation types */
} __packed;
/* intf_oops response has no payload */
-
/* RAW */
/* Greybus raw request types */
__u8 data[0];
} __packed;
-
/* UART */
/* Greybus UART operation types */
__u8 data[0];
} __packed;
-
/* Log */
/* operations */