22#define UHCI_MAX_HC_SCHEDULE_ERRORS 16
24#define UHCI_MAX_ISO_TRANSFER_SIZE 0x10000
25#define UHCI_MAX_BULK_TRANSFER_SIZE 0x1000
27#define UHCI_MAX_ISO_TD_COUNT 256
28#define UHCI_MAX_INTERRUPT_TD_COUNT 8
31#define UHCI_HCD_TD_FLAG_ALLOCATED 0x00000001
32#define UHCI_HCD_TD_FLAG_PROCESSED 0x00000002
33#define UHCI_HCD_TD_FLAG_DONE 0x00000008
34#define UHCI_HCD_TD_FLAG_NOT_ACCESSED 0x00000010
35#define UHCI_HCD_TD_FLAG_DATA_BUFFER 0x00000020
36#define UHCI_HCD_TD_FLAG_GOOD_FRAME 0x00000040
37#define UHCI_HCD_TD_FLAG_CONTROLL 0x00000400
38#define UHCI_HCD_TD_FLAG_STALLED_SETUP 0x00000800
77#define UHCI_HCD_QH_FLAG_ACTIVE 0x00000001
78#define UHCI_HCD_QH_FLAG_REMOVE 0x00000002
103#define UHCI_ENDPOINT_FLAG_HALTED 1
104#define UHCI_ENDPOINT_FLAG_RESERVED 2
105#define UHCI_ENDPOINT_FLAG_CONTROL_OR_ISO 4
132#define UHCI_FRAME_LIST_POINTER_VALID (0 << 0)
133#define UHCI_FRAME_LIST_POINTER_TERMINATE (1 << 0)
134#define UHCI_FRAME_LIST_POINTER_TD (0 << 1)
135#define UHCI_FRAME_LIST_POINTER_QH (1 << 1)
137#define UHCI_FRAME_LIST_INDEX_MASK 0x3FF
138#define UHCI_MAX_STATIC_SOF_TDS 8
150#define UHCI_EXTENSION_FLAG_SUSPENDED 0x00000002
#define UHCI_FRAME_LIST_MAX_ENTRIES
_Outptr_ PUSB_DEVICE_HANDLE _In_ PUSB_DEVICE_HANDLE _In_ USHORT PortStatus
USBPORT_ENDPOINT_PROPERTIES EndpointProperties
UHCI_USB_STATUS StatusMask
ULONG SuspendChangePortMask
PUHCI_HCD_QH IntQH[INTERRUPT_ENDPOINTs]
ULONG ResetChangePortMask
PUHCI_HW_REGISTERS BaseRegister
PUHCI_HC_RESOURCES HcResourcesVA
USB_CONTROLLER_FLAVOR HcFlavor
struct _UHCI_HCD_QH * NextHcdQH
struct _UHCI_HCD_QH * PrevHcdQH
PUHCI_ENDPOINT UhciEndpoint
_ANONYMOUS_UNION union _UHCI_HCD_TD::@1457 DUMMYUNIONNAME
PUHCI_TRANSFER UhciTransfer
USB_DEFAULT_PIPE_SETUP_PACKET SetupPacket
struct _UHCI_HCD_TD * NextHcdTD
UHCI_HCD_QH StaticBulkHead
UHCI_HCD_TD StaticSofTD[UHCI_MAX_STATIC_SOF_TDS]
UHCI_HCD_QH StaticIntHead[INTERRUPT_ENDPOINTs]
ULONG FrameList[UHCI_FRAME_LIST_MAX_ENTRIES]
UHCI_HCD_QH StaticControlHead
PUSBPORT_TRANSFER_PARAMETERS TransferParameters
PUHCI_ENDPOINT UhciEndpoint
enum _USB_CONTROLLER_FLAVOR USB_CONTROLLER_FLAVOR
#define INTERRUPT_ENDPOINTs
VOID NTAPI UhciRHEnableIrq(IN PVOID uhciExtension)
MPSTATUS NTAPI UhciRHClearFeaturePortSuspend(IN PVOID uhciExtension, IN USHORT Port)
#define UHCI_MAX_STATIC_SOF_TDS
struct _UHCI_HCD_QH * PUHCI_HCD_QH
MPSTATUS NTAPI UhciRHClearFeaturePortEnableChange(IN PVOID uhciExtension, IN USHORT Port)
BOOLEAN NTAPI UhciHardwarePresent(IN PUHCI_EXTENSION UhciExtension)
struct _UHCI_HC_RESOURCES UHCI_HC_RESOURCES
struct _UHCI_ENDPOINT UHCI_ENDPOINT
MPSTATUS NTAPI UhciRHClearFeaturePortPower(IN PVOID uhciExtension, IN USHORT Port)
struct _UHCI_HCD_QH UHCI_HCD_QH
struct _UHCI_TRANSFER UHCI_TRANSFER
struct _UHCI_HCD_TD UHCI_HCD_TD
ULONG NTAPI UhciGet32BitFrameNumber(IN PVOID uhciExtension)
MPSTATUS NTAPI UhciRHSetFeaturePortReset(IN PVOID uhciExtension, IN USHORT Port)
MPSTATUS NTAPI UhciRHClearFeaturePortEnable(IN PVOID uhciExtension, IN USHORT Port)
MPSTATUS NTAPI UhciRHSetFeaturePortPower(IN PVOID uhciExtension, IN USHORT Port)
USBPORT_REGISTRATION_PACKET RegPacket
MPSTATUS NTAPI UhciRHSetFeaturePortEnable(IN PVOID uhciExtension, IN USHORT Port)
struct _UHCI_EXTENSION * PUHCI_EXTENSION
VOID NTAPI UhciRHGetRootHubData(IN PVOID uhciExtension, IN PVOID rootHubData)
MPSTATUS NTAPI UhciRHClearFeaturePortSuspendChange(IN PVOID uhciExtension, IN USHORT Port)
struct _UHCI_TRANSFER * PUHCI_TRANSFER
MPSTATUS NTAPI UhciRHGetPortStatus(IN PVOID uhciExtension, IN USHORT Port, IN PUSB_PORT_STATUS_AND_CHANGE PortStatus)
struct _UHCI_ENDPOINT * PUHCI_ENDPOINT
MPSTATUS NTAPI UhciRHClearFeaturePortConnectChange(IN PVOID uhciExtension, IN USHORT Port)
MPSTATUS NTAPI UhciRHClearFeaturePortResetChange(IN PVOID uhciExtension, IN USHORT Port)
struct _UHCI_HCD_TD * PUHCI_HCD_TD
MPSTATUS NTAPI UhciRHGetStatus(IN PVOID uhciExtension, IN PUSHORT Status)
MPSTATUS NTAPI UhciRHSetFeaturePortSuspend(IN PVOID uhciExtension, IN USHORT Port)
struct _UHCI_EXTENSION UHCI_EXTENSION
struct _UHCI_HC_RESOURCES * PUHCI_HC_RESOURCES
VOID NTAPI UhciDisableInterrupts(IN PVOID uhciExtension)
MPSTATUS NTAPI UhciRHGetHubStatus(IN PVOID uhciExtension, IN PUSB_HUB_STATUS_AND_CHANGE HubStatus)
MPSTATUS NTAPI UhciRHClearFeaturePortOvercurrentChange(IN PVOID uhciExtension, IN USHORT Port)
VOID NTAPI UhciRHDisableIrq(IN PVOID uhciExtension)