ReactOS 0.4.16-dev-297-gc569aee
|
Go to the source code of this file.
Classes | |
struct | _USBPORT_RESOURCES |
struct | _USBPORT_ENDPOINT_PROPERTIES |
struct | _USBPORT_TRANSFER_PARAMETERS |
struct | _USBPORT_SCATTER_GATHER_ELEMENT |
struct | _USBPORT_SCATTER_GATHER_LIST |
struct | _USBPORT_ENDPOINT_REQUIREMENTS |
struct | _USBPORT_REGISTRATION_PACKET |
struct | _USBPORT_MINIPORT_INTERFACE |
union | _USBPORT_HUB_11_CHARACTERISTICS |
union | _USBPORT_HUB_20_CHARACTERISTICS |
union | _USBPORT_HUB_CHARACTERISTICS |
struct | _USBPORT_ROOT_HUB_DATA |
Functions | |
C_ASSERT (sizeof(USBPORT_RESOURCES)==32+5 *sizeof(PVOID)) | |
C_ASSERT (sizeof(USBPORT_ENDPOINT_PROPERTIES)==56+2 *sizeof(PVOID)) | |
C_ASSERT (sizeof(USBPORT_TRANSFER_PARAMETERS)==28) | |
C_ASSERT (sizeof(USBPORT_SCATTER_GATHER_ELEMENT)==24) | |
C_ASSERT (sizeof(USBPORT_SCATTER_GATHER_LIST)==48+4 *sizeof(PVOID)) | |
typedef | VOID (NTAPI ASYNC_TIMER_CALLBACK)(IN PVOID MiniportExtension |
C_ASSERT (sizeof(USBPORT_MINIPORT_INTERFACE)==32+76 *sizeof(PVOID)) | |
C_ASSERT (sizeof(USBPORT_HUB_11_CHARACTERISTICS)==sizeof(USHORT)) | |
C_ASSERT (sizeof(USBPORT_HUB_20_CHARACTERISTICS)==sizeof(USHORT)) | |
C_ASSERT (sizeof(USBPORT_HUB_CHARACTERISTICS)==sizeof(USHORT)) | |
C_ASSERT (sizeof(USBPORT_ROOT_HUB_DATA)==16) | |
ULONG NTAPI | USBPORT_GetHciMn (VOID) |
NTSTATUS NTAPI | USBPORT_RegisterUSBPortDriver (IN PDRIVER_OBJECT DriverObject, IN ULONG Version, IN PUSBPORT_REGISTRATION_PACKET RegistrationPacket) |
#define ENDPOINT_INTERRUPT_16ms 16 |
Definition at line 29 of file usbmport.h.
#define ENDPOINT_INTERRUPT_1ms 1 |
Definition at line 25 of file usbmport.h.
#define ENDPOINT_INTERRUPT_2ms 2 |
Definition at line 26 of file usbmport.h.
#define ENDPOINT_INTERRUPT_32ms 32 |
Definition at line 30 of file usbmport.h.
#define ENDPOINT_INTERRUPT_4ms 4 |
Definition at line 27 of file usbmport.h.
#define ENDPOINT_INTERRUPT_8ms 8 |
Definition at line 28 of file usbmport.h.
#define INTERRUPT_ENDPOINTs |
Definition at line 32 of file usbmport.h.
#define MP_STATUS_ERROR 4 |
Definition at line 138 of file usbmport.h.
#define MP_STATUS_FAILURE 1 |
Definition at line 135 of file usbmport.h.
#define MP_STATUS_HW_ERROR 7 |
Definition at line 141 of file usbmport.h.
#define MP_STATUS_NO_BANDWIDTH 3 |
Definition at line 137 of file usbmport.h.
#define MP_STATUS_NO_RESOURCES 2 |
Definition at line 136 of file usbmport.h.
#define MP_STATUS_NOT_SUPPORTED 6 |
Definition at line 140 of file usbmport.h.
#define MP_STATUS_RESERVED1 5 |
Definition at line 139 of file usbmport.h.
#define MP_STATUS_SUCCESS 0 |
Definition at line 134 of file usbmport.h.
#define MP_STATUS_UNSUCCESSFUL 8 |
Definition at line 142 of file usbmport.h.
#define RH_STATUS_NO_CHANGES 1 |
Definition at line 145 of file usbmport.h.
#define RH_STATUS_SUCCESS 0 |
Definition at line 144 of file usbmport.h.
#define RH_STATUS_UNSUCCESSFUL 2 |
Definition at line 146 of file usbmport.h.
#define TOTAL_USB11_BUS_BANDWIDTH 12000 |
Definition at line 541 of file usbmport.h.
#define TOTAL_USB20_BUS_BANDWIDTH 400000 |
Definition at line 542 of file usbmport.h.
#define USB10_MINIPORT_INTERFACE_VERSION 100 |
Definition at line 636 of file usbmport.h.
#define USB20_MINIPORT_INTERFACE_VERSION 200 |
Definition at line 637 of file usbmport.h.
#define USB20_PORT_STATUS_RESERVED1_OWNED_BY_COMPANION (1 << 2) |
Definition at line 288 of file usbmport.h.
#define USB_MINIPORT_FLAGS_DISABLE_SS 0x0020 |
Definition at line 535 of file usbmport.h.
#define USB_MINIPORT_FLAGS_INTERRUPT 0x0001 |
Definition at line 531 of file usbmport.h.
#define USB_MINIPORT_FLAGS_MEMORY_IO 0x0004 |
Definition at line 533 of file usbmport.h.
#define USB_MINIPORT_FLAGS_NO_DMA 0x0100 |
Definition at line 538 of file usbmport.h.
#define USB_MINIPORT_FLAGS_NOT_LOCK_INT 0x0040 |
Definition at line 536 of file usbmport.h.
#define USB_MINIPORT_FLAGS_POLLING 0x0080 |
Definition at line 537 of file usbmport.h.
#define USB_MINIPORT_FLAGS_PORT_IO 0x0002 |
Definition at line 532 of file usbmport.h.
#define USB_MINIPORT_FLAGS_USB2 0x0010 |
Definition at line 534 of file usbmport.h.
#define USB_MINIPORT_FLAGS_WAKE_SUPPORT 0x0200 |
Definition at line 539 of file usbmport.h.
#define USB_MINIPORT_VERSION_EHCI 0x03 |
Definition at line 528 of file usbmport.h.
#define USB_MINIPORT_VERSION_OHCI 0x01 |
Definition at line 526 of file usbmport.h.
#define USB_MINIPORT_VERSION_UHCI 0x02 |
Definition at line 527 of file usbmport.h.
#define USB_MINIPORT_VERSION_XHCI 0x04 |
Definition at line 529 of file usbmport.h.
#define USBC_DEVICE_CLASS_TYPE_C_BRIDGE 0x12 |
Definition at line 149 of file usbmport.h.
#define USBPORT_ENDPOINT_ACTIVE 3 |
Definition at line 15 of file usbmport.h.
#define USBPORT_ENDPOINT_CLOSED 5 |
Definition at line 17 of file usbmport.h.
#define USBPORT_ENDPOINT_CONTROL 4 |
Definition at line 22 of file usbmport.h.
#define USBPORT_ENDPOINT_HALT 1 |
Definition at line 21 of file usbmport.h.
#define USBPORT_ENDPOINT_PAUSED 2 |
Definition at line 14 of file usbmport.h.
#define USBPORT_ENDPOINT_REMOVE 4 |
Definition at line 16 of file usbmport.h.
#define USBPORT_ENDPOINT_RUN 0 |
Definition at line 20 of file usbmport.h.
#define USBPORT_ENDPOINT_UNKNOWN 0 |
Definition at line 13 of file usbmport.h.
#define USBPORT_HCI_MN 0x10000001 |
Definition at line 4 of file usbmport.h.
#define USBPORT_INVALIDATE_CONTROLLER_RESET 1 |
Definition at line 489 of file usbmport.h.
#define USBPORT_INVALIDATE_CONTROLLER_SOFT_INTERRUPT 3 |
Definition at line 491 of file usbmport.h.
#define USBPORT_INVALIDATE_CONTROLLER_SURPRISE_REMOVE 2 |
Definition at line 490 of file usbmport.h.
#define USBPORT_MAX_DEVICE_ADDRESS 127 |
Definition at line 650 of file usbmport.h.
#define USBPORT_RESOURCES_INTERRUPT 2 |
Definition at line 41 of file usbmport.h.
#define USBPORT_RESOURCES_MEMORY 4 |
Definition at line 42 of file usbmport.h.
#define USBPORT_RESOURCES_PORT 1 |
Definition at line 40 of file usbmport.h.
#define USBPORT_TRANSFER_DIRECTION_OUT 1 |
Definition at line 649 of file usbmport.h.
#define USBPORT_TRANSFER_TYPE_BULK 2 |
Definition at line 9 of file usbmport.h.
#define USBPORT_TRANSFER_TYPE_CONTROL 1 |
Definition at line 8 of file usbmport.h.
#define USBPORT_TRANSFER_TYPE_INTERRUPT 3 |
Definition at line 10 of file usbmport.h.
#define USBPORT_TRANSFER_TYPE_ISOCHRONOUS 0 |
Definition at line 7 of file usbmport.h.
typedef IN PVOID CallBackContext |
Definition at line 466 of file usbmport.h.
Definition at line 131 of file usbmport.h.
Definition at line 216 of file usbmport.h.
Definition at line 239 of file usbmport.h.
Definition at line 170 of file usbmport.h.
Definition at line 251 of file usbmport.h.
Definition at line 248 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_END_SEND_ONE_PACKET) (PVOID, PVOID, PVOID, PULONG, PVOID, PVOID, ULONG, USBD_STATUS *) |
Definition at line 379 of file usbmport.h.
Definition at line 515 of file usbmport.h.
Definition at line 242 of file usbmport.h.
Definition at line 223 of file usbmport.h.
Definition at line 263 of file usbmport.h.
Definition at line 195 of file usbmport.h.
Definition at line 245 of file usbmport.h.
Definition at line 192 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_OPEN_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 152 of file usbmport.h.
Definition at line 390 of file usbmport.h.
Definition at line 254 of file usbmport.h.
typedef VOID(NTAPI * PHCI_QUERY_ENDPOINT_REQUIREMENTS) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PUSBPORT_ENDPOINT_REQUIREMENTS) |
Definition at line 164 of file usbmport.h.
typedef VOID(NTAPI * PHCI_REBALANCE_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 509 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_REOPEN_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 158 of file usbmport.h.
Definition at line 274 of file usbmport.h.
Definition at line 189 of file usbmport.h.
Definition at line 518 of file usbmport.h.
Definition at line 341 of file usbmport.h.
Definition at line 321 of file usbmport.h.
Definition at line 336 of file usbmport.h.
Definition at line 356 of file usbmport.h.
Definition at line 326 of file usbmport.h.
Definition at line 346 of file usbmport.h.
Definition at line 331 of file usbmport.h.
Definition at line 351 of file usbmport.h.
Definition at line 361 of file usbmport.h.
Definition at line 364 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_RH_GET_HUB_STATUS) (PVOID, PUSB_HUB_STATUS_AND_CHANGE) |
Definition at line 296 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_RH_GET_PORT_STATUS) (PVOID, USHORT, PUSB_PORT_STATUS_AND_CHANGE) |
Definition at line 290 of file usbmport.h.
Definition at line 278 of file usbmport.h.
Definition at line 283 of file usbmport.h.
Definition at line 311 of file usbmport.h.
Definition at line 306 of file usbmport.h.
Definition at line 301 of file usbmport.h.
Definition at line 316 of file usbmport.h.
Definition at line 257 of file usbmport.h.
Definition at line 228 of file usbmport.h.
Definition at line 268 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_START_CONTROLLER) (PVOID, PUSBPORT_RESOURCES) |
Definition at line 176 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_START_SEND_ONE_PACKET) (PVOID, PVOID, PVOID, PULONG, PVOID, PVOID, ULONG, USBD_STATUS *) |
Definition at line 368 of file usbmport.h.
Definition at line 181 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_SUBMIT_ISO_TRANSFER) (PVOID, PVOID, PUSBPORT_TRANSFER_PARAMETERS, PVOID, PVOID) |
Definition at line 208 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_SUBMIT_TRANSFER) (PVOID, PVOID, PUSBPORT_TRANSFER_PARAMETERS, PVOID, PUSBPORT_SCATTER_GATHER_LIST) |
Definition at line 200 of file usbmport.h.
Definition at line 186 of file usbmport.h.
Definition at line 523 of file usbmport.h.
Definition at line 408 of file usbmport.h.
Definition at line 498 of file usbmport.h.
Definition at line 441 of file usbmport.h.
Definition at line 433 of file usbmport.h.
Definition at line 398 of file usbmport.h.
Definition at line 457 of file usbmport.h.
typedef MPSTATUS(NTAPI * PUSBPORT_GET_MINIPORT_REGISTRY_KEY_VALUE) (PVOID, BOOL, PCWSTR, SIZE_T, PVOID, SIZE_T) |
Definition at line 416 of file usbmport.h.
Definition at line 493 of file usbmport.h.
Definition at line 428 of file usbmport.h.
Definition at line 425 of file usbmport.h.
Definition at line 448 of file usbmport.h.
Definition at line 501 of file usbmport.h.
Definition at line 476 of file usbmport.h.
typedef ULONG(NTAPI * PUSBPORT_REQUEST_ASYNC_CALLBACK) (PVOID, ULONG, PVOID, SIZE_T, ASYNC_TIMER_CALLBACK *) |
Definition at line 468 of file usbmport.h.
typedef struct _USBPORT_RESOURCES * PUSBPORT_RESOURCES |
Definition at line 405 of file usbmport.h.
Definition at line 132 of file usbmport.h.
Definition at line 684 of file usbmport.h.
typedef union _USBPORT_HUB_CHARACTERISTICS USBPORT_HUB_CHARACTERISTICS |
C_ASSERT | ( | sizeof(USBPORT_ENDPOINT_PROPERTIES) | = =56+2 *sizeof(PVOID) | ) |
C_ASSERT | ( | sizeof(USBPORT_HUB_11_CHARACTERISTICS) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(USBPORT_HUB_20_CHARACTERISTICS) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(USBPORT_HUB_CHARACTERISTICS) | = =sizeof(USHORT) | ) |
C_ASSERT | ( | sizeof(USBPORT_MINIPORT_INTERFACE) | = =32+76 *sizeof(PVOID) | ) |
C_ASSERT | ( | sizeof(USBPORT_RESOURCES) | = =32+5 *sizeof(PVOID) | ) |
C_ASSERT | ( | sizeof(USBPORT_ROOT_HUB_DATA) | = =16 | ) |
C_ASSERT | ( | sizeof(USBPORT_SCATTER_GATHER_ELEMENT) | = =24 | ) |
C_ASSERT | ( | sizeof(USBPORT_SCATTER_GATHER_LIST) | = =48+4 *sizeof(PVOID) | ) |
C_ASSERT | ( | sizeof(USBPORT_TRANSFER_PARAMETERS) | = =28 | ) |
NTSTATUS NTAPI USBPORT_RegisterUSBPortDriver | ( | IN PDRIVER_OBJECT | DriverObject, |
IN ULONG | Version, | ||
IN PUSBPORT_REGISTRATION_PACKET | RegistrationPacket | ||
) |
Definition at line 2811 of file usbport.c.
Referenced by DriverEntry().