|
ReactOS 0.4.17-dev-1281-g065abb3
|
#include <rhub.h>

Public Member Functions | |
| VOID | PortChanged () |
| UcxUsbDevice * | Device () const |
| VOID | FailIo () |
| VOID | ResumeIo () |
| VOID | FinishPortResetRequest (_In_ BOOLEAN Succeeded) |
| NTSTATUS | EnableForwardProgress () |
| VOID | DispatchGetInfo (_In_ WDFREQUEST Request, _Inout_ PUCXHUB_ROOTHUB_INFO Info) |
| NTSTATUS | ReferenceSymbolicName (_Out_ WDFSTRING *Name) |
| WDFDEVICE | Pdo () const |
Static Public Member Functions | |
| static _Must_inspect_result_ NTSTATUS | Create (_In_ UCXCONTROLLER Controller, _In_ PUCX_ROOTHUB_CONFIG Config, _In_opt_ PWDF_OBJECT_ATTRIBUTES Attributes, _Out_ UCXROOTHUB *RootHub) |
| static UcxRootHub * | FromHandle (_In_ UCXROOTHUB Handle) |
Private Member Functions | |
| NTSTATUS | Initialize (_In_ UcxController *Controller, _In_ PUCX_ROOTHUB_CONFIG Config) |
| NTSTATUS | CreateEndpoint (_In_ BOOLEAN Interrupt) |
| NTSTATUS | CreatePdo () |
| VOID | BuildPowerCapabilities () |
| NTSTATUS | AddQueryInterfaces () |
Static Private Attributes | |
| static EVT_WDF_OBJECT_CONTEXT_CLEANUP | EvtCleanup |
Friends | |
| class | UcxRootHubPdo |
|
private |
Definition at line 518 of file hubinterface.cpp.
Referenced by AddQueryInterfaces(), and CreatePdo().
|
private |
D2 is the wake state for every S state the controller can wake from.
Definition at line 87 of file rhubpdo.cpp.
Referenced by BuildPowerCapabilities(), and CreatePdo().
|
static |
Definition at line 22 of file rhub.cpp.
Referenced by Create().
One of the two endpoints the hub talks to; their queues live on the controller FDO.
Definition at line 121 of file rhub.cpp.
Referenced by CreateEndpoint(), and Initialize().
|
private |
Definition at line 129 of file rhubpdo.cpp.
Referenced by CreatePdo(), and Initialize().
|
inline |
Definition at line 71 of file rhub.h.
Referenced by UcxController::SetFailed(), and UcxController::WalkDevices().
| VOID UcxRootHub::DispatchGetInfo | ( | _In_ WDFREQUEST | Request, |
| _Inout_ PUCXHUB_ROOTHUB_INFO | Info | ||
| ) |
Definition at line 526 of file rhub.cpp.
Referenced by DispatchGetInfo().
|
inline |
Definition at line 90 of file rhub.h.
Referenced by _IRQL_requires_().
| VOID UcxRootHub::FailIo | ( | ) |
Definition at line 477 of file rhub.cpp.
Referenced by FailIo(), and ControllerResetMachine::FailRootHubIo().
Definition at line 500 of file rhub.cpp.
Referenced by ControllerResetMachine::CompleteHubReset(), and FinishPortResetRequest().
|
static |
Definition at line 14 of file rhub.cpp.
Referenced by FromHandle().
|
private |
Definition at line 92 of file rhub.cpp.
Referenced by Initialize().
|
inline |
Definition at line 108 of file rhub.h.
Referenced by UcxEndpoint::CloseStaticStreams(), CreatePdo(), and UcxEndpoint::OpenStaticStreams().
| VOID UcxRootHub::PortChanged | ( | ) |
Port change from the HCD, or one the reset machine simulates.
Definition at line 227 of file rhub.cpp.
Referenced by PortChanged(), ControllerResetMachine::SignalPortChange(), and UcxApiRootHubPortChanged().
Hands out the root hub's interface name with a reference the caller drops.
Definition at line 540 of file rhub.cpp.
Referenced by ReferenceSymbolicName().
| VOID UcxRootHub::ResumeIo | ( | ) |
Definition at line 485 of file rhub.cpp.
Referenced by ResumeIo(), and ControllerResetMachine::UnblockRootHubTraffic().
|
staticprivate |
| UCX_ROOTHUB_CONFIG UcxRootHub::m_Config |
Definition at line 116 of file rhub.h.
Referenced by CreateEndpoint(), CreatePdo(), DispatchGetInfo(), Initialize(), and PortChanged().
| UcxEndpoint* UcxRootHub::m_ControlEndpoint |
Definition at line 121 of file rhub.h.
Referenced by CreateEndpoint().
| UcxController* UcxRootHub::m_Controller |
Definition at line 115 of file rhub.h.
Referenced by BuildPowerCapabilities(), CreateEndpoint(), CreatePdo(), FinishPortResetRequest(), Initialize(), PortChanged(), UcxParentResetDuringResume(), and UcxParentWasProgrammingLost().
| WDFQUEUE UcxRootHub::m_ControlQueue |
Definition at line 123 of file rhub.h.
Referenced by CreateEndpoint(), FailIo(), and ResumeIo().
| UcxUsbDevice* UcxRootHub::m_Device |
Definition at line 119 of file rhub.h.
Referenced by Device(), and Initialize().
| UCXROOTHUB UcxRootHub::m_Handle |
Definition at line 114 of file rhub.h.
Referenced by Create(), CreateEndpoint(), DispatchGetInfo(), Initialize(), and PortChanged().
| UcxEndpoint* UcxRootHub::m_InterruptEndpoint |
Definition at line 122 of file rhub.h.
Referenced by CreateEndpoint(), and DispatchGetInfo().
| WDFQUEUE UcxRootHub::m_InterruptQueue |
Definition at line 124 of file rhub.h.
Referenced by CreateEndpoint(), FailIo(), and ResumeIo().
| UcxInterruptQueueState* UcxRootHub::m_InterruptState |
Definition at line 125 of file rhub.h.
Referenced by CreateEndpoint(), PortChanged(), and ResumeIo().
| SYSTEM_POWER_STATE UcxRootHub::m_LastSystemSleepState |
| WDFDEVICE UcxRootHub::m_Pdo |
Definition at line 135 of file rhub.h.
Referenced by AddQueryInterfaces(), CreatePdo(), Pdo(), and PortChanged().
| KSPIN_LOCK UcxRootHub::m_PdoInfoLock |
Definition at line 134 of file rhub.h.
Referenced by CreatePdo(), Initialize(), and ReferenceSymbolicName().
| BOOLEAN UcxRootHub::m_PdoStarted |
Definition at line 136 of file rhub.h.
Referenced by ReferenceSymbolicName().
| PIRP UcxRootHub::m_PendingAsyncReset |
Definition at line 140 of file rhub.h.
Referenced by FinishPortResetRequest().
| WDF_DEVICE_PNP_CAPABILITIES UcxRootHub::m_PnpCaps |
Definition at line 130 of file rhub.h.
Referenced by CreatePdo().
| WDF_DEVICE_POWER_CAPABILITIES UcxRootHub::m_PowerCaps |
Definition at line 131 of file rhub.h.
Referenced by BuildPowerCapabilities(), and CreatePdo().
| WDFSTRING UcxRootHub::m_SymbolicName |
Definition at line 137 of file rhub.h.
Referenced by ReferenceSymbolicName().
| POWER_ACTION UcxRootHub::m_SystemPowerAction |
Definition at line 143 of file rhub.h.
Referenced by CreatePdo().