Go to the documentation of this file. 1 #ifndef __TARGET_USB_GADGET_H__
2 #define __TARGET_USB_GADGET_H__
13 #define USBG_NAMELEN 32
15 #define fuas_to_gadget(f) (f->function.config->cdev->gadget)
16 #define UASP_SS_EP_COMP_LOG_STREAMS 4
17 #define UASP_SS_EP_COMP_NUM_STREAMS (1 << UASP_SS_EP_COMP_LOG_STREAMS)
25 #define USB_G_ALT_INT_BBB 0
26 #define USB_G_ALT_INT_UAS 1
73 #define USBG_MAX_CMD 64
122 #define USBG_ENABLED (1 << 0)
123 #define USBG_IS_UAS (1 << 1)
124 #define USBG_USE_STREAMS (1 << 2)
125 #define USBG_IS_BOT (1 << 3)
126 #define USBG_BOT_CMD_PEND (1 << 4)