1 /* 2 * Copyright (c) 2023, sakumisu 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef USB_ERRNO_H 7 #define USB_ERRNO_H 8 9 #define USB_ERR_NOMEM 1 10 #define USB_ERR_INVAL 2 11 #define USB_ERR_NODEV 3 12 #define USB_ERR_NOTCONN 4 13 #define USB_ERR_NOTSUPP 5 14 #define USB_ERR_BUSY 6 15 #define USB_ERR_RANGE 7 16 #define USB_ERR_STALL 8 17 #define USB_ERR_BABBLE 9 18 #define USB_ERR_NAK 10 /* only for dwc2 buffer dma mode */ 19 #define USB_ERR_DT 11 20 #define USB_ERR_IO 12 21 #define USB_ERR_SHUTDOWN 13 22 #define USB_ERR_TIMEOUT 14 23 24 #endif /* USB_ERRNO_H */ 25