hv_drv_UsbErrNo.h 1002 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * @file hv_drv_UsbErrNo.h
  3. * @brief Error number define.
  4. *
  5. * @author HiView SoC Software Team
  6. * @version 1.0.0
  7. * @date 2022-06-15
  8. */
  9. #ifndef __HV_DRV_USB_ERR_NO_H_
  10. #define __HV_DRV_USB_ERR_NO_H_
  11. #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
  12. #define ENOMEM 12 /* Out of memory */
  13. #define EIO 5 /* I/O error */
  14. #define ENOENT 2 /* No such file or directory */
  15. #define EEXIST 17 /* File exists */
  16. #define ENXIO 6 /* No such device or address */
  17. #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
  18. #define EINVAL 22 /* Invalid argument */
  19. #define EBUSY 16 /* Device or resource busy */
  20. #define ENODATA 61 /* No data available */
  21. #define ENODEV 19 /* No such device */
  22. #define ECONNRESET 104 /* Connection reset by peer */
  23. #define EAGAIN 11 /* Try again */
  24. #endif