USB_COMPLETION_REASON(9S) | Data Structures for Drivers | USB_COMPLETION_REASON(9S) |
usb_completion_reason - USB completion reason definitions
#include <sys/usb/usba.h>
illumos DDI specific (illumos DDI)
If an error occurs during execution of a USB request, the USBA framework calls a client driver's exception callback handler to relay what happened. The host controller reports transport errors to the exception callback handler through the handler's request argument's completion reason (usb_cr_t) field. A completion reason of USB_CR_OK means the transfer completed with no errors detected.
The usb_cr_t enumerated type contains the following definitions:
USB_CR_OK
USB_CR_CRC
USB_CR_BITSTUFFING
USB_CR_DATA_TOGGLE_MM
USB_CR_STALL
USB_CR_DEV_NOT_RESP
USB_CR_PID_CHECKFAILURE
USB_CR_UNEXP_PID
USB_CR_DATA_OVERRUN
USB_CR_DATA_UNDERRUN
USB_CR_BUFFER_OVERRUN
USB_CR_BUFFER_UNDERRUN
USB_CR_TIMEOUT
USB_CR_NOT_ACCESSED
USB_CR_NO_RESOURCES
USB_CR_STOPPED_POLLING
USB_CR_PIPE_CLOSING
USB_CR_PIPE_RESET
USB_CR_NOT_SUPPORTED
USB_CR_FLUSHED
USB_CR_HC_HARDWARE_ERR
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Architecture | PCI-based systems |
Interface stability | Committed |
usb_alloc_request(9F), usb_pipe_bulk_xfer(9F), usb_pipe_ctrl_xfer(9F), usb_pipe_intr_xfer(9F), usb_pipe_isoc_xfer(9F), usb_bulk_request(9S), usb_ctrl_request(9S), usb_intr_request(9S), usb_isoc_request(9S)
January 5, 2004 | OmniOS |