ReactOS 0.4.16-dev-340-g0540c21
|
#include "usb200.h"
Go to the source code of this file.
Classes | |
struct | _USBD_VERSION_INFORMATION |
struct | _USBD_DEVICE_INFORMATION |
struct | _USBD_PIPE_INFORMATION |
struct | _USBD_INTERFACE_INFORMATION |
struct | _URB_HCD_AREA |
struct | _URB_HEADER |
struct | _URB_SELECT_INTERFACE |
struct | _URB_SELECT_CONFIGURATION |
struct | _URB_PIPE_REQUEST |
struct | _URB_FRAME_LENGTH_CONTROL |
struct | _URB_GET_FRAME_LENGTH |
struct | _URB_SET_FRAME_LENGTH |
struct | _URB_GET_CURRENT_FRAME_NUMBER |
struct | _URB_CONTROL_DESCRIPTOR_REQUEST |
struct | _URB_CONTROL_GET_STATUS_REQUEST |
struct | _URB_CONTROL_FEATURE_REQUEST |
struct | _URB_CONTROL_VENDOR_OR_CLASS_REQUEST |
struct | _URB_CONTROL_GET_INTERFACE_REQUEST |
struct | _URB_CONTROL_GET_CONFIGURATION_REQUEST |
struct | _URB_CONTROL_TRANSFER |
struct | _URB_BULK_OR_INTERRUPT_TRANSFER |
struct | _USBD_ISO_PACKET_DESCRIPTOR |
struct | _URB_ISOCH_TRANSFER |
struct | _URB |
Enumerations | |
enum | _USB_CONTROLLER_FLAVOR { USB_HcGeneric = 0 , OHCI_Generic = 100 , OHCI_Hydra , OHCI_NEC , UHCI_Generic = 200 , UHCI_Piix4 = 201 , UHCI_Piix3 = 202 , UHCI_Ich2 = 203 , UHCI_Reserved204 = 204 , UHCI_Ich1 = 205 , UHCI_Ich3m = 206 , UHCI_Ich4 = 207 , UHCI_Ich5 = 208 , UHCI_Ich6 = 209 , UHCI_Intel = 249 , UHCI_VIA = 250 , UHCI_VIA_x01 = 251 , UHCI_VIA_x02 = 252 , UHCI_VIA_x03 = 253 , UHCI_VIA_x04 = 254 , UHCI_VIA_x0E_FIFO = 264 , EHCI_Generic = 1000 , EHCI_NEC = 2000 , EHCI_Lucent = 3000 } |
enum | _USBD_PIPE_TYPE { UsbdPipeTypeControl , UsbdPipeTypeIsochronous , UsbdPipeTypeBulk , UsbdPipeTypeInterrupt } |
#define URB_FROM_IRP | ( | Irp | ) | ((IoGetCurrentIrpStackLocation(Irp))->Parameters.Others.Argument1) |
#define URB_FUNCTION_RESET_PIPE URB_FUNCTION_SYNC_RESET_PIPE_AND_CLEAR_STALL |
#define USBD_PF_VALID_MASK |
#define USBD_PIPE_DIRECTION_IN | ( | pipeInformation | ) | ((pipeInformation)->EndpointAddress & USB_ENDPOINT_DIRECTION_MASK) |
#define USBD_STATUS_BABBLE_DETECTED ((USBD_STATUS)0xC0000012L) |
#define USBD_STATUS_BAD_CONFIG_DESC_LENGTH ((USBD_STATUS)0xC0100006L) |
#define USBD_STATUS_BAD_DESCRIPTOR ((USBD_STATUS)0xC0100000L) |
#define USBD_STATUS_BAD_DESCRIPTOR_BLEN ((USBD_STATUS)0xC0100001L) |
#define USBD_STATUS_BAD_DESCRIPTOR_TYPE ((USBD_STATUS)0xC0100002L) |
#define USBD_STATUS_BAD_ENDPOINT_ADDRESS ((USBD_STATUS)0xC0100009L) |
#define USBD_STATUS_BAD_ENDPOINT_DESCRIPTOR ((USBD_STATUS)0xC0100004L) |
#define USBD_STATUS_BAD_INTERFACE_ASSOC_DESCRIPTOR ((USBD_STATUS)0xC0100005L) |
#define USBD_STATUS_BAD_INTERFACE_DESCRIPTOR ((USBD_STATUS)0xC0100003L) |
#define USBD_STATUS_BAD_NUMBER_OF_ENDPOINTS ((USBD_STATUS)0xC0100008L) |
#define USBD_STATUS_BAD_NUMBER_OF_INTERFACES ((USBD_STATUS)0xC0100007L) |
#define USBD_STATUS_BAD_START_FRAME ((USBD_STATUS)0xC0000A00L) |
#define USBD_STATUS_BTSTUFF ((USBD_STATUS)0xC0000002L) |
#define USBD_STATUS_BUFFER_OVERRUN ((USBD_STATUS)0xC000000CL) |
#define USBD_STATUS_BUFFER_TOO_SMALL ((USBD_STATUS)0xC0003000L) |
#define USBD_STATUS_BUFFER_UNDERRUN ((USBD_STATUS)0xC000000DL) |
#define USBD_STATUS_CANCELED ((USBD_STATUS)0xC0010000L) |
#define USBD_STATUS_CRC ((USBD_STATUS)0xC0000001L) |
#define USBD_STATUS_DATA_BUFFER_ERROR ((USBD_STATUS)0xC0000013L) |
#define USBD_STATUS_DATA_OVERRUN ((USBD_STATUS)0xC0000008L) |
#define USBD_STATUS_DATA_TOGGLE_MISMATCH ((USBD_STATUS)0xC0000003L) |
#define USBD_STATUS_DATA_UNDERRUN ((USBD_STATUS)0xC0000009L) |
#define USBD_STATUS_DEV_NOT_RESPONDING ((USBD_STATUS)0xC0000005L) |
#define USBD_STATUS_DEVICE_GONE ((USBD_STATUS)0xC0007000L) |
#define USBD_STATUS_ENDPOINT_HALTED ((USBD_STATUS)0xC0000030L) |
#define USBD_STATUS_ERROR_BUSY ((USBD_STATUS)0x80000400L) |
#define USBD_STATUS_ERROR_SHORT_TRANSFER ((USBD_STATUS)0x80000900L) |
#define USBD_STATUS_FIFO ((USBD_STATUS)0xC0000010L) |
#define USBD_STATUS_FRAME_CONTROL_NOT_OWNED ((USBD_STATUS)0xC0000D00L) |
#define USBD_STATUS_FRAME_CONTROL_OWNED ((USBD_STATUS)0xC0000C00L) |
#define USBD_STATUS_HUB_INTERNAL_ERROR ((USBD_STATUS)0xC0009000L) |
#define USBD_STATUS_INSUFFICIENT_RESOURCES ((USBD_STATUS)0xC0001000L) |
#define USBD_STATUS_INTERFACE_NOT_FOUND ((USBD_STATUS)0xC0004000L) |
#define USBD_STATUS_INTERNAL_HC_ERROR ((USBD_STATUS)0x80000800L) |
#define USBD_STATUS_INVALID_CONFIGURATION_DESCRIPTOR ((USBD_STATUS)0xC0000F00L) |
#define USBD_STATUS_INVALID_PARAMETER ((USBD_STATUS)0x80000300L) |
#define USBD_STATUS_INVALID_PIPE_FLAGS ((USBD_STATUS)0xC0005000L) |
#define USBD_STATUS_INVALID_PIPE_HANDLE ((USBD_STATUS)0x80000600L) |
#define USBD_STATUS_INVALID_URB_FUNCTION ((USBD_STATUS)0x80000200L) |
#define USBD_STATUS_ISO_NA_LATE_USBPORT ((USBD_STATUS)0xC0040000L) |
#define USBD_STATUS_ISO_NOT_ACCESSED_BY_HW ((USBD_STATUS)0xC0020000L) |
#define USBD_STATUS_ISO_NOT_ACCESSED_LATE ((USBD_STATUS)0xC0050000L) |
#define USBD_STATUS_ISO_TD_ERROR ((USBD_STATUS)0xC0030000L) |
#define USBD_STATUS_ISOCH_REQUEST_FAILED ((USBD_STATUS)0xC0000B00L) |
#define USBD_STATUS_NO_BANDWIDTH ((USBD_STATUS)0x80000700L) |
#define USBD_STATUS_NOT_ACCESSED ((USBD_STATUS)0xC000000FL) |
#define USBD_STATUS_NOT_SUPPORTED ((USBD_STATUS)0xC0000E00L) |
#define USBD_STATUS_PENDING ((USBD_STATUS)0x40000000L) |
#define USBD_STATUS_PID_CHECK_FAILURE ((USBD_STATUS)0xC0000006L) |
#define USBD_STATUS_RESERVED1 ((USBD_STATUS)0xC000000AL) |
#define USBD_STATUS_RESERVED2 ((USBD_STATUS)0xC000000BL) |
#define USBD_STATUS_SET_CONFIG_FAILED ((USBD_STATUS)0xC0002000L) |
#define USBD_STATUS_STALL_PID ((USBD_STATUS)0xC0000004L) |
#define USBD_STATUS_STATUS_NOT_MAPPED ((USBD_STATUS)0xC0008000L) |
#define USBD_STATUS_SUCCESS ((USBD_STATUS)0x00000000L) |
#define USBD_STATUS_TIMEOUT ((USBD_STATUS)0xC0006000L) |
#define USBD_STATUS_UNEXPECTED_PID ((USBD_STATUS)0xC0000007L) |
#define USBD_STATUS_XACT_ERROR ((USBD_STATUS)0xC0000011L) |
#define USBD_TRANSFER_DIRECTION_FLAG | ( | flags | ) | ((flags) & USBD_TRANSFER_DIRECTION) |
#define VALID_TRANSFER_FLAGS_MASK |
typedef PVOID USBD_CONFIGURATION_HANDLE |
typedef PVOID USBD_INTERFACE_HANDLE |
typedef PVOID USBD_PIPE_HANDLE |
typedef enum _USBD_PIPE_TYPE USBD_PIPE_TYPE |
typedef LONG USBD_STATUS |
Definition at line 54 of file usb.h.
Enumerator | |
---|---|
UsbdPipeTypeControl | |
UsbdPipeTypeIsochronous | |
UsbdPipeTypeBulk | |
UsbdPipeTypeInterrupt |
Definition at line 244 of file usb.h.