22 OperationalRegs = OhciExtension->OperationalRegs;
25 DPRINT(
"OHCI_ReadRhDescriptorA: OhciExtension - %p\n", OhciExtension);
27 for (ix = 0; ix < 10; ix++)
38 DPRINT1(
"OHCI_ReadRhDescriptorA: DescriptorA - %lX, ix - %d\n",
55 UCHAR PowerOnToPowerGoodTime;
58 OhciExtension = ohciExtension;
60 DPRINT(
"OHCI_RH_GetRootHubData: OhciExtension - %p, rootHubData - %p\n",
64 RootHubData = rootHubData;
106 DPRINT(
"OHCI_RH_GetStatus: \n");
124 OhciExtension = ohciExtension;
126 DPRINT(
"OHCI_RH_GetPortStatus: OhciExtension - %p, Port - %x, PortStatus - %lX\n",
136 for (ix = 0; ix < 10; ix++)
147 DPRINT(
"OHCI_RH_GetPortStatus: OhciPortStatus - %X\n", OhciPortStatus.
AsULONG);
167 OhciExtension = ohciExtension;
169 DPRINT(
"OHCI_RH_GetHubStatus: ohciExtension - %p, HubStatus - %lX\n",
171 HubStatus->AsUlong32);
197 OhciExtension = ohciExtension;
199 DPRINT(
"OHCI_RH_SetFeaturePortReset: OhciExtension - %p, Port - %x\n",
226 OhciExtension = ohciExtension;
228 DPRINT(
"OHCI_RH_SetFeaturePortPower: OhciExtension - %p, Port - %x\n",
255 OhciExtension = ohciExtension;
257 DPRINT(
"OHCI_RH_SetFeaturePortEnable: OhciExtension - %p, Port - %x\n",
284 OhciExtension = ohciExtension;
286 DPRINT(
"OHCI_RH_SetFeaturePortSuspend: OhciExtension - %p, Port - %x\n",
313 OhciExtension = ohciExtension;
315 DPRINT(
"OHCI_RH_ClearFeaturePortEnable: OhciExtension - %p, Port - %x\n",
342 OhciExtension = ohciExtension;
344 DPRINT(
"OHCI_RH_ClearFeaturePortPower: OhciExtension - %p, Port - %x\n",
371 OhciExtension = ohciExtension;
373 DPRINT(
"OHCI_RH_ClearFeaturePortSuspend: OhciExtension - %p, Port - %x\n",
400 OhciExtension = ohciExtension;
402 DPRINT(
"OHCI_RH_ClearFeaturePortEnableChange: ohciExtension - %p, Port - %x\n",
429 OhciExtension = ohciExtension;
431 DPRINT(
"OHCI_RH_ClearFeaturePortConnectChange: OhciExtension - %p, Port - %x\n",
458 OhciExtension = ohciExtension;
460 DPRINT(
"OHCI_RH_ClearFeaturePortResetChange: OhciExtension - %p, Port - %x\n",
487 OhciExtension = ohciExtension;
489 DPRINT(
"OHCI_RH_ClearFeaturePortSuspendChange: OhciExtension - %p, Port - %x\n",
518 OhciExtension = ohciExtension;
520 DPRINT(
"OHCI_RH_ClearFeaturePortOvercurrentChange: OhciExtension - %p, Port - %x\n",
530 PortStatus.PortOverCurrentIndicatorChange = 1;
554 PULONG InterruptDisableReg;
557 DPRINT(
"OHCI_RH_DisableIrq: OhciExtension - %p\n", OhciExtension);
574 PULONG InterruptEnableReg;
577 DPRINT(
"OHCI_RH_EnableIrq: OhciExtension - %p\n", OhciExtension);
#define WRITE_REGISTER_ULONG(r, v)
#define READ_REGISTER_ULONG(r)
#define OHCI_MINIMAL_POTPGT
#define OHCI_MAX_PORT_COUNT
_Outptr_ PUSB_DEVICE_HANDLE _In_ PUSB_DEVICE_HANDLE _In_ USHORT PortStatus
#define KeStallExecutionProcessor(MicroSeconds)
POHCI_OPERATIONAL_REGISTERS OperationalRegs
OHCI_REG_RH_DESCRIPTORA HcRhDescriptorA
OHCI_REG_INTERRUPT_ENABLE_DISABLE HcInterruptEnable
OHCI_REG_INTERRUPT_ENABLE_DISABLE HcInterruptDisable
OHCI_REG_RH_STATUS HcRhStatus
OHCI_REG_RH_PORT_STATUS HcRhPortStatus[OHCI_MAX_PORT_COUNT]
USBPORT_HUB_CHARACTERISTICS HubCharacteristics
ULONG RootHubStatusChange
ULONG PowerOnToPowerGoodTime
ULONG NumberDownstreamPorts
ULONG NoOverCurrentProtection
ULONG OverCurrentProtectionMode
ULONG OverCurrentIndicatorChangeR
ULONG LocalPowerStatusChange
ULONG OverCurrentIndicatorChangeW
ULONG OverCurrentIndicator
USHORT PartOfCompoundDevice
USHORT OverCurrentProtectionMode
USHORT NoOverCurrentProtection
USBPORT_HUB_11_CHARACTERISTICS Usb11HubCharacteristics
#define USB_GETSTATUS_SELF_POWERED
#define MP_STATUS_SUCCESS
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortSuspendChange(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_SetFeaturePortPower(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortConnectChange(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_GetHubStatus(IN PVOID ohciExtension, IN PUSB_HUB_STATUS_AND_CHANGE HubStatus)
OHCI_REG_RH_DESCRIPTORA NTAPI OHCI_ReadRhDescriptorA(IN POHCI_EXTENSION OhciExtension)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortOvercurrentChange(IN PVOID ohciExtension, IN USHORT Port)
VOID NTAPI OHCI_RH_GetRootHubData(IN PVOID ohciExtension, IN PVOID rootHubData)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortResetChange(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortPower(IN PVOID ohciExtension, IN USHORT Port)
VOID NTAPI OHCI_RH_DisableIrq(IN PVOID ohciExtension)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortEnableChange(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortEnable(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_SetFeaturePortReset(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_GetStatus(IN PVOID ohciExtension, IN PUSHORT Status)
MPSTATUS NTAPI OHCI_RH_SetFeaturePortEnable(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_GetPortStatus(IN PVOID ohciExtension, IN USHORT Port, IN PUSB_PORT_STATUS_AND_CHANGE PortStatus)
VOID NTAPI OHCI_RH_EnableIrq(IN PVOID ohciExtension)
MPSTATUS NTAPI OHCI_RH_ClearFeaturePortSuspend(IN PVOID ohciExtension, IN USHORT Port)
MPSTATUS NTAPI OHCI_RH_SetFeaturePortSuspend(IN PVOID ohciExtension, IN USHORT Port)
_Reserved_ PVOID Reserved