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

Go to the source code of this file.

Classes

struct  HubPortStatus
 
struct  HubPortInfo
 
struct  HubConnectorId
 
struct  HubAcpiUpc
 
struct  HubAcpiPld
 
class  HubPort
 

Macros

#define HUB_CONNECTOR_NONE   0
 
#define HUB_CONNECTOR_ROOT   1
 
#define HUB_CONNECTOR_ACPI   2
 
#define HUB_CONNECTOR_MAX_PATH   6
 

Enumerations

enum class  PortProperty : ULONG {
  Removable = 0x00000001 , AcpiUpcValid = 0x00000002 , AcpiPldValid = 0x00000004 , DebugCapable = 0x00000008 ,
  IntegratedHub = 0x00000010 , InConnectorMap = 0x00000020 , Usb20LpmCapable = 0x00000040 , BeslCapable = 0x00000080 ,
  EnhancedSuperSpeed = 0x00000100 , TypeCWithoutSwitch = 0x00000200
}
 
enum class  PortFlag : ULONG {
  DeviceConnected = 0x00000001 , SupportsReattach = 0x00000002 , OverCurrentResetArmed = 0x00000004 , SsInactiveSeenForBoot = 0x00000008 ,
  PendingRecoveryUpdate = 0x00000010 , PendingHubPowerReference = 0x00000020 , Usb4Host = 0x00000040 , AcpiNoU2 = 0x00000080
}
 
enum class  PortMuxFlag : ULONG {
  PortChangePending = 0x00000001 , InterruptReference = 0x00000002 , PnpOperationPending = 0x00000004 , PowerReference = 0x00000008 ,
  ResetPending = 0x00000010 , WdfPowerReference = 0x00000020
}
 

Functions

 C_ASSERT (sizeof(HubAcpiPld)==16)
 
 WDF_DECLARE_CONTEXT_TYPE_WITH_NAME (HubPort, HubGetPortContext)
 

Macro Definition Documentation

◆ HUB_CONNECTOR_ACPI

#define HUB_CONNECTOR_ACPI   2

Definition at line 77 of file hubport.h.

◆ HUB_CONNECTOR_MAX_PATH

#define HUB_CONNECTOR_MAX_PATH   6

Definition at line 80 of file hubport.h.

◆ HUB_CONNECTOR_NONE

#define HUB_CONNECTOR_NONE   0

Definition at line 75 of file hubport.h.

◆ HUB_CONNECTOR_ROOT

#define HUB_CONNECTOR_ROOT   1

Definition at line 76 of file hubport.h.

Enumeration Type Documentation

◆ PortFlag

Enumerator
DeviceConnected 
SupportsReattach 
OverCurrentResetArmed 
SsInactiveSeenForBoot 
PendingRecoveryUpdate 
PendingHubPowerReference 
Usb4Host 
AcpiNoU2 

Definition at line 26 of file hubport.h.

27{
28 DeviceConnected = 0x00000001,
29 SupportsReattach = 0x00000002,
30 OverCurrentResetArmed = 0x00000004,
31 SsInactiveSeenForBoot = 0x00000008,
32 PendingRecoveryUpdate = 0x00000010,
33 PendingHubPowerReference = 0x00000020,
34
35 /* Bound to a USB4 host router name, which m_Usb4HostName holds */
36 Usb4Host = 0x00000040,
37
38 /* The port _DSM asks for U2 to stay off */
39 AcpiNoU2 = 0x00000080
40};
@ SsInactiveSeenForBoot
@ SupportsReattach
@ DeviceConnected
@ OverCurrentResetArmed
@ PendingRecoveryUpdate
@ PendingHubPowerReference

◆ PortMuxFlag

Enumerator
PortChangePending 
InterruptReference 
PnpOperationPending 
PowerReference 
ResetPending 
WdfPowerReference 

Definition at line 43 of file hubport.h.

44{
45 PortChangePending = 0x00000001,
46 InterruptReference = 0x00000002,
47 PnpOperationPending = 0x00000004,
48 PowerReference = 0x00000008,
49 ResetPending = 0x00000010,
50 WdfPowerReference = 0x00000020
51};

◆ PortProperty

Enumerator
Removable 
AcpiUpcValid 
AcpiPldValid 
DebugCapable 
IntegratedHub 
InConnectorMap 
Usb20LpmCapable 
BeslCapable 
EnhancedSuperSpeed 
TypeCWithoutSwitch 

Definition at line 11 of file hubport.h.

12{
13 Removable = 0x00000001,
14 AcpiUpcValid = 0x00000002,
15 AcpiPldValid = 0x00000004,
16 DebugCapable = 0x00000008,
17 IntegratedHub = 0x00000010,
18 InConnectorMap = 0x00000020,
19 Usb20LpmCapable = 0x00000040,
20 BeslCapable = 0x00000080,
21 EnhancedSuperSpeed = 0x00000100,
22 TypeCWithoutSwitch = 0x00000200
23};

Function Documentation

◆ C_ASSERT()

C_ASSERT ( sizeof(HubAcpiPld)  = =16)

◆ WDF_DECLARE_CONTEXT_TYPE_WITH_NAME()

WDF_DECLARE_CONTEXT_TYPE_WITH_NAME ( HubPort  ,
HubGetPortContext   
)