Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 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 | */ |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_USBIP_H |
| 8 | #define _UAPI_LINUX_USBIP_H |
| 9 | enum usbip_device_status { |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 10 | SDEV_ST_AVAILABLE = 0x01, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 11 | SDEV_ST_USED, |
| 12 | SDEV_ST_ERROR, |
| 13 | VDEV_ST_NULL, |
| 14 | VDEV_ST_NOTASSIGNED, |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 15 | VDEV_ST_USED, |
| 16 | VDEV_ST_ERROR |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 17 | }; |
Christopher Ferris | 6cd53a5 | 2022-12-12 23:39:16 +0000 | [diff] [blame] | 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 |
Christopher Ferris | ba8d4f4 | 2014-09-03 19:56:49 -0700 | [diff] [blame] | 35 | #endif |