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

Public Member Functions | |
| _IRQL_requires_ (PASSIVE_LEVEL) static HubPort *Create(_In_ HubFdo *Hub | |
| VOID | Post (_In_ PortEvent Event) |
| BOOLEAN | HasMuxFlag (_In_ PortMuxFlag Flag) const |
| VOID | SetMuxFlag (_In_ PortMuxFlag Flag) |
| VOID | ClearMuxFlag (_In_ PortMuxFlag Flag) |
| BOOLEAN | HasFlag (_In_ PortFlag Flag) const |
| VOID | SetFlag (_In_ PortFlag Flag) |
| VOID | ClearFlag (_In_ PortFlag Flag) |
| BOOLEAN | HasProperty (_In_ PortProperty Property) const |
| USHORT | Number () const |
| BOOLEAN | IsUsb30 () const |
Static Public Member Functions | |
| static HubPort * | FromObject (_In_ WDFOBJECT Object) |
Static Private Member Functions | |
| static VOID NTAPI | TimerFired (_In_ PVOID Context) |
Static Private Attributes | |
| static EVT_WDF_TIMER | ResetPollFired |
| static EVT_WDF_OBJECT_CONTEXT_CLEANUP | EvtCleanup |
| static EVT_WDF_OBJECT_CONTEXT_DESTROY | EvtDestroy |
| static UCXHUB_WORKITEM_ROUTINE | MachineWorkItem |
Friends | |
| class | PortMachine |
| HubPort::_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Creates the port object and its resources under the hub FDO.
Definition at line 199 of file hubport.h.
Referenced by PortMachine::CancelUserOverCurrentReset(), PortMachine::ConnectDevice(), and PortMachine::ForgetDetachedDevice().
|
inline |
Definition at line 185 of file hubport.h.
Referenced by PortMachine::BootDeviceReturning(), PortMachine::DisconnectDevice(), PortMachine::ForgetDetachedDevice(), if(), PortMachine::NotifyBootDeviceRemoval(), PortMachine::OldDevicePresent(), and PortMachine::StartTimer().
|
inline |
Definition at line 164 of file hubport.h.
Referenced by PortMachine::HubPowerDrop().
|
inline |
Definition at line 206 of file hubport.h.
Referenced by PortMachine::D3ColdEnabled(), HubPdoEvtParentInterfaceQuery(), and PortMachine::SendGetStatus().
|
inline |
Definition at line 219 of file hubport.h.
Referenced by PortMachine::SendResume(), and PortMachine::SendSuspend().
|
inline |
Definition at line 213 of file hubport.h.
Referenced by PortMachine::ConnectDevice(), PortMachine::D3ColdEnabled(), PortMachine::DisconnectDevice(), PortMachine::ErrorResponseDuringReset(), DeviceMachine::FailClientRequest(), HubMachine::FailPortStatus(), PortMachine::ForgetDetachedDevice(), HubEvtBandwidthRetryTimer(), PortMachine::HubPowerTake(), HubWmiResetOverCurrent(), if(), PortMachine::LostChange(), DeviceMachine::MarkSystemWakeSource(), PortMachine::NotifyBootDeviceRemoval(), PortMachine::NotifyUserOfOverCurrent(), DeviceMachine::NotifyWrongDevice(), PortMachine::PendingChange(), DeviceMachine::RecordResetTimeout(), DeviceMachine::ReferenceHubPower(), DeviceMachine::ReportDeviceMissing(), PortMachine::SendAckChange(), PortMachine::SendDisable(), PortMachine::SendGetStatus(), PortMachine::SendPortPower(), PortMachine::SendReset(), PortMachine::SendResume(), PortMachine::SendSuspend(), PortMachine::SendWarmReset(), and PortMachine::StartTimer().
Definition at line 157 of file hubport.h.
Referenced by DeviceMachine::AskPortCycle(), DeviceMachine::CyclePortForClient(), HubWmiResetOverCurrent(), DeviceMachine::NotifyPortDetached(), DeviceMachine::RequestHibernationPrep(), DeviceMachine::RequestPortDisable(), DeviceMachine::RequestPortReset(), DeviceMachine::RequestPortResume(), DeviceMachine::RequestPortSuspend(), DeviceMachine::RequestPortWarmReset(), DeviceMachine::RequestSuperSpeedDisable(), DeviceMachine::RequestU1Timeout(), and DeviceMachine::RequestU2Timeout().
Definition at line 192 of file hubport.h.
Referenced by PortMachine::ConnectDevice(), if(), PortMachine::NotifyBootDeviceRemoval(), PortMachine::NotifyUserOfOverCurrent(), and PortMachine::ReattachBootDevice().
|
inline |
Definition at line 171 of file hubport.h.
Referenced by PortMachine::HubPowerTake().
Definition at line 146 of file hubport.cpp.
|
friend |
Definition at line 290 of file hubport.h.
Referenced by _IRQL_requires_().
Definition at line 291 of file hubport.h.
Referenced by _IRQL_requires_().
| _In_ const HubPortInfo* HubPort::Info |
Definition at line 149 of file hubport.h.
Referenced by _IRQL_requires_().
| HubAcpiPld HubPort::m_AcpiPld |
| HubAcpiUpc HubPort::m_AcpiUpc |
| USHORT HubPort::m_ChangeAccumulator |
Definition at line 246 of file hubport.h.
Referenced by PortMachine::ErrorResponse(), PortMachine::ErrorResponseDuringReset(), PortMachine::NextChange(), PortMachine::PendingChange(), PortMachine::PollResetCompletion(), and PortMachine::ResetChangeAccumulator().
| HubChild* HubPort::m_Child |
Definition at line 236 of file hubport.h.
Referenced by PortMachine::ConnectDevice(), PortMachine::D3ColdEnabled(), PortMachine::DisconnectDevice(), PortMachine::ForceResetOnEnumeration(), PortMachine::ForgetDetachedDevice(), HubEvtBandwidthRetryTimer(), PortMachine::LogLinkStateError(), PortMachine::MarkUsb2Device(), PortMachine::MarkUsb3Device(), PortMachine::NotifyBootDeviceRemoval(), PortMachine::ReattachBootDevice(), PortMachine::SendU1Timeout(), PortMachine::SendU2Timeout(), PortMachine::StartTimer(), PortMachine::TellDevice(), and while().
| USB_CONNECTION_STATUS HubPort::m_ConnectionStatus |
Definition at line 254 of file hubport.h.
Referenced by PortMachine::ConnectDevice(), DeviceMachine::CreatePlaceholderPdo(), PortMachine::ErrorResponseDuringReset(), PortMachine::ForgetDetachedDevice(), PortMachine::LostChange(), PortMachine::MarkOverCurrentCause(), PortMachine::OverCurrentActive(), PortMachine::PendingChange(), PortMachine::ReattachBootDevice(), and PortMachine::SendPortPower().
| HubConnectorId HubPort::m_ConnectorId |
Definition at line 268 of file hubport.h.
Referenced by HubPdoEvtParentInterfaceQuery().
| HubControlRequest HubPort::m_Control |
| HubPortStatus HubPort::m_Current |
Definition at line 244 of file hubport.h.
Referenced by PortMachine::ConnectChangedOnResume(), PortMachine::DeviceConnected(), PortMachine::DevicePresent(), DeviceMachine::DeviceSpeedChanged(), PortMachine::ErrorResponse(), PortMachine::ErrorResponseDuringReset(), PortMachine::LinkInU0(), PortMachine::LostChange(), PortMachine::NextChange(), PortMachine::OverCurrentActive(), PortMachine::PendingChange(), PortMachine::PortPowered(), PortMachine::ReadPortBits(), PortMachine::RecordPortDisabled(), PortMachine::RecordPortSuspended(), PortMachine::SendGetStatus(), and DeviceMachine::SetSpeedFor20().
| ULONG HubPort::m_D3ColdReconnectTimeout |
Definition at line 255 of file hubport.h.
Referenced by PortMachine::StartTimer().
| USHORT HubPort::m_FirstCompanionPort |
Definition at line 274 of file hubport.h.
Referenced by HubPdoEvtParentInterfaceQuery().
Definition at line 233 of file hubport.h.
Referenced by ClearFlag(), HasFlag(), HubWmiResetOverCurrent(), and SetFlag().
| HubFdo* HubPort::m_Hub |
Definition at line 228 of file hubport.h.
Referenced by PortMachine::DisconnectDevice(), PortMachine::DropHubResetReference(), PortMachine::DropInterruptReference(), PortMachine::DropPortPowerReference(), PortMachine::ErrorResponseDuringReset(), PortMachine::HubArmedForWake(), HubEvtBandwidthRetryTimer(), PortMachine::HubPowerDrop(), PortMachine::HubPowerTake(), PortMachine::LostChange(), PortMachine::NextChange(), PortMachine::NotifyBootDeviceRemoval(), PortMachine::NotifyUserOfOverCurrent(), PortMachine::OverCurrentActive(), PortMachine::PendingChange(), PortMachine::PollResetCompletion(), PortMachine::QueuePassiveWork(), PortMachine::RequestHubReset(), PortMachine::ResumeInterruptTransfer(), PortMachine::StartTimer(), PortMachine::SuperSpeedBlocked(), PortMachine::TakeInterruptReference(), and PortMachine::TakePortPowerReference().
| LIST_ENTRY HubPort::m_HubLink |
| HubPortInfo HubPort::m_Info |
Definition at line 229 of file hubport.h.
Referenced by HasProperty(), IsUsb30(), and Number().
| BOOLEAN HubPort::m_InitialConnectPowerReference |
Definition at line 252 of file hubport.h.
Referenced by PortMachine::LostChange().
| PortEvent HubPort::m_LastChange |
Definition at line 248 of file hubport.h.
Referenced by PortMachine::LostChange(), PortMachine::NextChange(), PortMachine::SendReset(), and PortMachine::SendWarmReset().
| USHORT HubPort::m_LastCompanionPort |
Definition at line 275 of file hubport.h.
Referenced by HubPdoEvtParentInterfaceQuery().
| LARGE_INTEGER HubPort::m_LastOverCurrentTime |
Definition at line 251 of file hubport.h.
Referenced by PortMachine::OverCurrentPersists().
| ULONG HubPort::m_LinkErrorCount |
Definition at line 249 of file hubport.h.
Referenced by PortMachine::NextChange().
| PortMachine HubPort::m_Machine |
Definition at line 232 of file hubport.h.
Referenced by ClearMuxFlag(), HasMuxFlag(), and SetMuxFlag().
| WDFOBJECT HubPort::m_Object |
Definition at line 227 of file hubport.h.
Referenced by DeviceMachine::DereferencePort(), PortMachine::DereferencePort(), DeviceMachine::ReferencePort(), and PortMachine::ReferencePort().
| UCHAR HubPort::m_OverCurrentCount |
Definition at line 250 of file hubport.h.
Referenced by PortMachine::OverCurrentPersists().
| USHORT HubPort::m_PreviousStatus |
Definition at line 245 of file hubport.h.
Referenced by PortMachine::ClearPortStatus(), PortMachine::LogLinkStateError(), PortMachine::LostChange(), PortMachine::NextChange(), and PortMachine::NotifyBootDeviceRemoval().
| WDFTIMER HubPort::m_ResetPollTimer |
Definition at line 239 of file hubport.h.
Referenced by PortMachine::StartTimer().
| USHORT HubPort::m_SelectedFeature |
Definition at line 247 of file hubport.h.
Referenced by PortMachine::ConnectChangedOnResume(), PortMachine::PendingChange(), and PortMachine::SendAckChange().
| HubTimer HubPort::m_Timer |
Definition at line 238 of file hubport.h.
Referenced by PortMachine::StartTimer(), and PortMachine::StopTimer().
| PUCXHUB_WORKITEM HubPort::m_WorkItem |
Definition at line 240 of file hubport.h.
Referenced by PortMachine::QueuePassiveWork().
Definition at line 292 of file hubport.h.
Referenced by PortMachine::QueuePassiveWork().
Definition at line 289 of file hubport.h.
Referenced by _IRQL_requires_().