ReactOS
0.4.15-dev-4570-g4f8bbd1
|
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 217 of file usbmport.h.
Definition at line 240 of file usbmport.h.
Definition at line 171 of file usbmport.h.
Definition at line 252 of file usbmport.h.
Definition at line 249 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_END_SEND_ONE_PACKET) (PVOID, PVOID, PVOID, PULONG, PVOID, PVOID, ULONG, USBD_STATUS *) |
Definition at line 380 of file usbmport.h.
Definition at line 516 of file usbmport.h.
Definition at line 243 of file usbmport.h.
Definition at line 224 of file usbmport.h.
Definition at line 264 of file usbmport.h.
Definition at line 196 of file usbmport.h.
Definition at line 246 of file usbmport.h.
Definition at line 193 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_OPEN_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 153 of file usbmport.h.
Definition at line 391 of file usbmport.h.
Definition at line 255 of file usbmport.h.
typedef VOID(NTAPI * PHCI_QUERY_ENDPOINT_REQUIREMENTS) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PUSBPORT_ENDPOINT_REQUIREMENTS) |
Definition at line 165 of file usbmport.h.
typedef VOID(NTAPI * PHCI_REBALANCE_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 510 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_REOPEN_ENDPOINT) (PVOID, PUSBPORT_ENDPOINT_PROPERTIES, PVOID) |
Definition at line 159 of file usbmport.h.
Definition at line 275 of file usbmport.h.
Definition at line 190 of file usbmport.h.
Definition at line 519 of file usbmport.h.
Definition at line 342 of file usbmport.h.
Definition at line 322 of file usbmport.h.
Definition at line 337 of file usbmport.h.
Definition at line 357 of file usbmport.h.
Definition at line 327 of file usbmport.h.
Definition at line 347 of file usbmport.h.
Definition at line 332 of file usbmport.h.
Definition at line 352 of file usbmport.h.
Definition at line 362 of file usbmport.h.
Definition at line 365 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_RH_GET_HUB_STATUS) (PVOID, PUSB_HUB_STATUS_AND_CHANGE) |
Definition at line 297 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_RH_GET_PORT_STATUS) (PVOID, USHORT, PUSB_PORT_STATUS_AND_CHANGE) |
Definition at line 291 of file usbmport.h.
Definition at line 279 of file usbmport.h.
Definition at line 284 of file usbmport.h.
Definition at line 312 of file usbmport.h.
Definition at line 307 of file usbmport.h.
Definition at line 302 of file usbmport.h.
Definition at line 317 of file usbmport.h.
Definition at line 258 of file usbmport.h.
Definition at line 229 of file usbmport.h.
Definition at line 269 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_START_CONTROLLER) (PVOID, PUSBPORT_RESOURCES) |
Definition at line 177 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_START_SEND_ONE_PACKET) (PVOID, PVOID, PVOID, PULONG, PVOID, PVOID, ULONG, USBD_STATUS *) |
Definition at line 369 of file usbmport.h.
Definition at line 182 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_SUBMIT_ISO_TRANSFER) (PVOID, PVOID, PUSBPORT_TRANSFER_PARAMETERS, PVOID, PVOID) |
Definition at line 209 of file usbmport.h.
typedef MPSTATUS(NTAPI * PHCI_SUBMIT_TRANSFER) (PVOID, PVOID, PUSBPORT_TRANSFER_PARAMETERS, PVOID, PUSBPORT_SCATTER_GATHER_LIST) |
Definition at line 201 of file usbmport.h.
Definition at line 187 of file usbmport.h.
Definition at line 524 of file usbmport.h.
Definition at line 409 of file usbmport.h.
Definition at line 499 of file usbmport.h.
Definition at line 442 of file usbmport.h.
Definition at line 434 of file usbmport.h.
Definition at line 399 of file usbmport.h.
Definition at line 458 of file usbmport.h.
typedef MPSTATUS(NTAPI * PUSBPORT_GET_MINIPORT_REGISTRY_KEY_VALUE) (PVOID, BOOL, PCWSTR, SIZE_T, PVOID, SIZE_T) |
Definition at line 417 of file usbmport.h.
Definition at line 494 of file usbmport.h.
Definition at line 429 of file usbmport.h.
Definition at line 426 of file usbmport.h.
Definition at line 449 of file usbmport.h.
Definition at line 502 of file usbmport.h.
Definition at line 477 of file usbmport.h.
typedef ULONG(NTAPI * PUSBPORT_REQUEST_ASYNC_CALLBACK) (PVOID, ULONG, PVOID, SIZE_T, ASYNC_TIMER_CALLBACK *) |
Definition at line 469 of file usbmport.h.
typedef struct _USBPORT_RESOURCES * PUSBPORT_RESOURCES |
Definition at line 406 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_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) | ) |
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 | ) |
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().