1 /* 2 * This file is auto-generated. Modifications will be lost. 3 * 4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5 * for more information. 6 */ 7 #ifndef _UAPI_LINUX_USBIP_H 8 #define _UAPI_LINUX_USBIP_H 9 enum usbip_device_status { 10 SDEV_ST_AVAILABLE = 0x01, 11 SDEV_ST_USED, 12 SDEV_ST_ERROR, 13 VDEV_ST_NULL, 14 VDEV_ST_NOTASSIGNED, 15 VDEV_ST_USED, 16 VDEV_ST_ERROR 17 }; 18 #define USBIP_URB_SHORT_NOT_OK 0x0001 19 #define USBIP_URB_ISO_ASAP 0x0002 20 #define USBIP_URB_NO_TRANSFER_DMA_MAP 0x0004 21 #define USBIP_URB_ZERO_PACKET 0x0040 22 #define USBIP_URB_NO_INTERRUPT 0x0080 23 #define USBIP_URB_FREE_BUFFER 0x0100 24 #define USBIP_URB_DIR_IN 0x0200 25 #define USBIP_URB_DIR_OUT 0 26 #define USBIP_URB_DIR_MASK USBIP_URB_DIR_IN 27 #define USBIP_URB_DMA_MAP_SINGLE 0x00010000 28 #define USBIP_URB_DMA_MAP_PAGE 0x00020000 29 #define USBIP_URB_DMA_MAP_SG 0x00040000 30 #define USBIP_URB_MAP_LOCAL 0x00080000 31 #define USBIP_URB_SETUP_MAP_SINGLE 0x00100000 32 #define USBIP_URB_SETUP_MAP_LOCAL 0x00200000 33 #define USBIP_URB_DMA_SG_COMBINED 0x00400000 34 #define USBIP_URB_ALIGNED_TEMP_BUFFER 0x00800000 35 #endif 36