/* * @file hv_drv_UsbErrNo.h * @brief Error number define. * * @author HiView SoC Software Team * @version 1.0.0 * @date 2022-06-15 */ #ifndef __HV_DRV_USB_ERR_NO_H_ #define __HV_DRV_USB_ERR_NO_H_ #define ENOERR 0 /* No error */ #define EREMOTEIO 121 /* Remote I/O error */ #define ENOTSUPP 524 /* Operation is not supported */ #define ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */ #define ENOMEM 12 /* Out of memory */ #define EIO 5 /* I/O error */ #define ENOENT 2 /* No such file or directory */ #define EEXIST 17 /* File exists */ #define ENXIO 6 /* No such device or address */ #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ #define EINVAL 22 /* Invalid argument */ #define EBUSY 16 /* Device or resource busy */ #define ENODATA 61 /* No data available */ #define ENODEV 19 /* No such device */ //#define ECONNABORTED 103 /* Software caused connection abort */ #define ECONNRESET 104 /* Connection reset by peer */ #define EAGAIN 11 /* Try again */ //#define ENOSYS 38 /* Invalid system call number */ #define ERESTARTSYS 512 #endif