usb_errno.h 531 B

123456789101112131415161718192021222324
  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. #define USB_ERR_NOMEM 1
  9. #define USB_ERR_INVAL 2
  10. #define USB_ERR_NODEV 3
  11. #define USB_ERR_NOTCONN 4
  12. #define USB_ERR_NOTSUPP 5
  13. #define USB_ERR_BUSY 6
  14. #define USB_ERR_RANGE 7
  15. #define USB_ERR_STALL 8
  16. #define USB_ERR_BABBLE 9
  17. #define USB_ERR_NAK 10
  18. #define USB_ERR_DT 11
  19. #define USB_ERR_IO 12
  20. #define USB_ERR_SHUTDOWN 13
  21. #define USB_ERR_TIMEOUT 14
  22. #endif /* USB_ERRNO_H */