ReactOS 0.4.17-dev-1281-g065abb3
fdo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HubMux
 
struct  HubParentInfo
 
struct  HubRouterIdentity
 
class  HubFdo
 
struct  HubQueueContext
 

Macros

#define HUB_PARENT_DISABLE_LPM   0x00000001
 
#define HUB_PARENT_HIGH_SPEED_CAPABLE   0x00000002
 

Enumerations

enum class  HubFlag : ULONG {
  TtHub = 0x00000001 , MultiTtHub = 0x00000002 , PerPortPower = 0x00000004 , PerPortOverCurrent = 0x00000008 ,
  NoOverCurrentProtection = 0x00000010 , Initialized = 0x00000020 , Configured = 0x00000040 , ParentNoSelectiveSuspend = 0x00000080 ,
  WakeOnConnect = 0x00000100 , ArmedForWake = 0x00000200 , WaitWakeQueued = 0x00000400 , ResetTtOnCancel = 0x00000800 ,
  NoClearTtOnCancel = 0x00001000 , PowerOnPortsOnStart = 0x00002000 , PowerReferencePending = 0x00004000 , DisableLpm = 0x00008000 ,
  DisableUsb20Lpm = 0x00010000 , PowerReferenceAllowed = 0x00020000 , InAcpiNamespace = 0x00040000 , DelayAfterResetComplete = 0x00080000 ,
  ToleratesU0WhileDetached = 0x00100000 , IgnoreEnabledInSsInactive = 0x00200000 , InBootOrPagingPath = 0x00400000 , DisableSuperSpeed = 0x00800000 ,
  DiscardEnableDuringReset = 0x01000000 , NoSelectiveSuspendIntegrated = 0x02000000 , S0IdleConfigured = 0x04000000 , GlobalPowerReference = 0x08000000 ,
  DisallowU2AcceptOnly = 0x10000000 , OverCurrentDetected = 0x20000000 , DisableOnSoftRemove = 0x40000000 , PollingToComplianceOnStart = 0x80000000
}
 
enum class  HubDeviceFanOut : UCHAR { None , PowerUp , PowerDown , StopWhileSuspended }
 

Functions

 C_ASSERT (FIELD_OFFSET(HubParentInfo, U1ExitLatency)==22)
 
 C_ASSERT (FIELD_OFFSET(HubParentInfo, TotalTpPropagationDelay)==40)
 
 C_ASSERT (FIELD_OFFSET(HubParentInfo, Flags)==44)
 
 C_ASSERT (sizeof(HubParentInfo)==56)
 
 WDF_DECLARE_CONTEXT_TYPE_WITH_NAME (HubFdo, HubGetFdoContext)
 
 WDF_DECLARE_CONTEXT_TYPE_WITH_NAME (HubQueueContext, HubGetQueueContext)
 

Variables

EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL HubEvtIoDeviceControl
 
EVT_WDF_IO_QUEUE_IO_INTERNAL_DEVICE_CONTROL HubEvtIoInternalDeviceControl
 

Macro Definition Documentation

◆ HUB_PARENT_DISABLE_LPM

#define HUB_PARENT_DISABLE_LPM   0x00000001

Definition at line 106 of file fdo.h.

◆ HUB_PARENT_HIGH_SPEED_CAPABLE

#define HUB_PARENT_HIGH_SPEED_CAPABLE   0x00000002

Definition at line 107 of file fdo.h.

Enumeration Type Documentation

◆ HubDeviceFanOut

Enumerator
None 
PowerUp 
PowerDown 
StopWhileSuspended 

Definition at line 48 of file fdo.h.

◆ HubFlag

enum class HubFlag : ULONG
strong
Enumerator
TtHub 
MultiTtHub 
PerPortPower 
PerPortOverCurrent 
NoOverCurrentProtection 
Initialized 
Configured 
ParentNoSelectiveSuspend 
WakeOnConnect 
ArmedForWake 
WaitWakeQueued 
ResetTtOnCancel 
NoClearTtOnCancel 
PowerOnPortsOnStart 
PowerReferencePending 
DisableLpm 
DisableUsb20Lpm 
PowerReferenceAllowed 
InAcpiNamespace 
DelayAfterResetComplete 
ToleratesU0WhileDetached 
IgnoreEnabledInSsInactive 
InBootOrPagingPath 
DisableSuperSpeed 
DiscardEnableDuringReset 
NoSelectiveSuspendIntegrated 
S0IdleConfigured 
GlobalPowerReference 
DisallowU2AcceptOnly 
OverCurrentDetected 
DisableOnSoftRemove 
PollingToComplianceOnStart 

Definition at line 11 of file fdo.h.

12{
13 TtHub = 0x00000001,
14 MultiTtHub = 0x00000002,
15 PerPortPower = 0x00000004,
16 PerPortOverCurrent = 0x00000008,
17 NoOverCurrentProtection = 0x00000010,
18 Initialized = 0x00000020,
19 Configured = 0x00000040,
20 ParentNoSelectiveSuspend = 0x00000080,
21 WakeOnConnect = 0x00000100,
22 ArmedForWake = 0x00000200,
23 WaitWakeQueued = 0x00000400,
24 ResetTtOnCancel = 0x00000800,
25 NoClearTtOnCancel = 0x00001000,
26 PowerOnPortsOnStart = 0x00002000,
27 PowerReferencePending = 0x00004000,
28 DisableLpm = 0x00008000,
29 DisableUsb20Lpm = 0x00010000,
30 PowerReferenceAllowed = 0x00020000,
31 InAcpiNamespace = 0x00040000,
32 DelayAfterResetComplete = 0x00080000,
33 ToleratesU0WhileDetached = 0x00100000,
34 IgnoreEnabledInSsInactive = 0x00200000,
35 InBootOrPagingPath = 0x00400000,
36 DisableSuperSpeed = 0x00800000,
37 DiscardEnableDuringReset = 0x01000000,
39 S0IdleConfigured = 0x04000000,
40 GlobalPowerReference = 0x08000000,
41 DisallowU2AcceptOnly = 0x10000000,
42 OverCurrentDetected = 0x20000000,
43 DisableOnSoftRemove = 0x40000000,
45};
@ OverCurrentDetected
@ PollingToComplianceOnStart
@ ToleratesU0WhileDetached
@ DelayAfterResetComplete
@ InAcpiNamespace
@ S0IdleConfigured
@ NoSelectiveSuspendIntegrated
@ PerPortPower
@ DisableUsb20Lpm
@ ArmedForWake
@ ResetTtOnCancel
@ PerPortOverCurrent
@ DisallowU2AcceptOnly
@ PowerReferenceAllowed
@ WaitWakeQueued
@ IgnoreEnabledInSsInactive
@ GlobalPowerReference
@ PowerOnPortsOnStart
@ ParentNoSelectiveSuspend
@ PowerReferencePending
@ InBootOrPagingPath
@ DisableOnSoftRemove
@ NoClearTtOnCancel
@ NoOverCurrentProtection
@ WakeOnConnect
@ DisableSuperSpeed
@ DiscardEnableDuringReset

Function Documentation

◆ C_ASSERT() [1/4]

C_ASSERT ( FIELD_OFFSET(HubParentInfo, Flags)  = =44)

◆ C_ASSERT() [2/4]

C_ASSERT ( FIELD_OFFSET(HubParentInfo, TotalTpPropagationDelay)  = =40)

◆ C_ASSERT() [3/4]

C_ASSERT ( FIELD_OFFSET(HubParentInfo, U1ExitLatency)  = =22)

◆ C_ASSERT() [4/4]

C_ASSERT ( sizeof(HubParentInfo)  = =56)

◆ WDF_DECLARE_CONTEXT_TYPE_WITH_NAME() [1/2]

WDF_DECLARE_CONTEXT_TYPE_WITH_NAME ( HubFdo  ,
HubGetFdoContext   
)

◆ WDF_DECLARE_CONTEXT_TYPE_WITH_NAME() [2/2]

WDF_DECLARE_CONTEXT_TYPE_WITH_NAME ( HubQueueContext  ,
HubGetQueueContext   
)

Variable Documentation

◆ HubEvtIoDeviceControl

EVT_WDF_IO_QUEUE_IO_DEVICE_CONTROL HubEvtIoDeviceControl

Definition at line 549 of file fdo.h.

◆ HubEvtIoInternalDeviceControl

EVT_WDF_IO_QUEUE_IO_INTERNAL_DEVICE_CONTROL HubEvtIoInternalDeviceControl

Definition at line 550 of file fdo.h.