|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| #define | UCX_ROOT_HUB_ID L"USB\\ROOT_HUB30" |
| #define | UCX_HWID_FULL_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID L"&VID0000&PID0000&REV0000") |
| #define | UCX_HWID_SHORT_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID L"&VID0000&PID0000") |
| #define | UCX_HWID_PLAIN_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID) |
| #define | UCX_HWID_BUFFER_CHARS ((UCX_HWID_FULL_CHARS + UCX_HWID_SHORT_CHARS + UCX_HWID_PLAIN_CHARS + 1) * sizeof(WCHAR)) |
Enumerations | |
| enum class | UcxStackSetup { Skip , DeviceMgmtCompletion , GetInfoCompletion } |
Variables | |
| static IO_COMPLETION_ROUTINE | UcxDeviceMgmtCompletion |
| static IO_COMPLETION_ROUTINE | UcxRootHubGetInfoCompletion |
| static const WCHAR | UcxRootHubDeviceIdText [] = UCX_ROOT_HUB_ID L"\0" |
| static const SIZE_T | UcxHardwareIdSeparators [] |
| static const DEVPROPKEY | UcxPciKeySerialNumber |
| static const DEVPROPKEY | UcxPciKeyUsb4PortAttributes |
| static const DEVPROPKEY | UcxPciKeyParentSerialNumber |
| _In_ WDFDEVICE | Pdo |
| WDFMEMORY | Attributes = NULL |
| PVOID | AttributesData = NULL |
| size_t | AttributesSize = 0 |
| DEVPROPTYPE | AttributesType = DEVPROP_TYPE_UINT32 |
| DEVPROPTYPE | SerialType = DEVPROP_TYPE_EMPTY |
| ULONG64 | Serial = 0 |
| ULONG | Required = 0 |
| BOOLEAN | Found = NT_SUCCESS(Status) |
| NTSTATUS | Status = WdfDeviceQueryPropertyEx(Controller, &Property, sizeof(Serial), &Serial, &Required, &SerialType) |
| WDF_DEVICE_PROPERTY_DATA_INIT & | Property |
| else | |
| #define NDEBUG |
Definition at line 10 of file rhubpdo.cpp.
| #define UCX_HWID_BUFFER_CHARS ((UCX_HWID_FULL_CHARS + UCX_HWID_SHORT_CHARS + UCX_HWID_PLAIN_CHARS + 1) * sizeof(WCHAR)) |
Definition at line 30 of file rhubpdo.cpp.
| #define UCX_HWID_FULL_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID L"&VID0000&PID0000&REV0000") |
Definition at line 27 of file rhubpdo.cpp.
| #define UCX_HWID_PLAIN_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID) |
Definition at line 29 of file rhubpdo.cpp.
| #define UCX_HWID_SHORT_CHARS RTL_NUMBER_OF(UCX_ROOT_HUB_ID L"&VID0000&PID0000") |
Definition at line 28 of file rhubpdo.cpp.
| #define UCX_ROOT_HUB_ID L"USB\\ROOT_HUB30" |
Definition at line 21 of file rhubpdo.cpp.
|
strong |
| Enumerator | |
|---|---|
| Skip | |
| DeviceMgmtCompletion | |
| GetInfoCompletion | |
Definition at line 588 of file rhubpdo.cpp.
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
Nothing is found unless the PCI bus driver publishes the properties.
Definition at line 2121 of file class.c.
| DECLARE_GLOBAL_CONST_UNICODE_STRING | ( | UcxRootHubPdoSddl | , |
| L"D:P(A;;GA;;;SY)(A;;GRGWGX;;;BA)(A;;GRGW;;;WD)(A;;GR;;;RC)" | |||
| ) |
| if | ( | ! | NT_SUCCESSStatus | ) |
Definition at line 342 of file rhubpdo.cpp.
| if | ( | Attributes ! | = NULL | ) |
Definition at line 86 of file fxdmaenablerapi.cpp.
| if | ( | Found | ) |
Definition at line 349 of file rhubpdo.cpp.
|
static |
Most specific ID first, ending with the plain root hub ID.
Definition at line 44 of file rhubpdo.cpp.
Referenced by UcxRootHub::CreatePdo().
Definition at line 656 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl(), and UcxQueueAsyncPortReset().
|
static |
Definition at line 820 of file rhubpdo.cpp.
| NTSTATUS NTAPI UcxEvtRootHubD0Entry | ( | _In_ WDFDEVICE | Device, |
| _In_ WDF_POWER_DEVICE_STATE | PreviousState | ||
| ) |
Definition at line 476 of file rhubpdo.cpp.
| NTSTATUS NTAPI UcxEvtRootHubD0Exit | ( | _In_ WDFDEVICE | Device, |
| _In_ WDF_POWER_DEVICE_STATE | TargetState | ||
| ) |
Definition at line 504 of file rhubpdo.cpp.
Definition at line 564 of file rhubpdo.cpp.
| NTSTATUS NTAPI UcxEvtRootHubEnableWakeAtBus | ( | _In_ WDFDEVICE | Device, |
| _In_ SYSTEM_POWER_STATE | PowerState | ||
| ) |
Definition at line 546 of file rhubpdo.cpp.
| VOID NTAPI UcxEvtRootHubPdoIoDeviceControl | ( | _In_ WDFQUEUE | Queue, |
| _In_ WDFREQUEST | Request, | ||
| _In_ size_t | OutputBufferLength, | ||
| _In_ size_t | InputBufferLength, | ||
| _In_ ULONG | IoControlCode | ||
| ) |
Definition at line 572 of file rhubpdo.cpp.
| NTSTATUS NTAPI UcxEvtRootHubPrepareHardware | ( | _In_ WDFDEVICE | Device, |
| _In_ WDFCMRESLIST | ResourcesRaw, | ||
| _In_ WDFCMRESLIST | ResourcesTranslated | ||
| ) |
Definition at line 398 of file rhubpdo.cpp.
Definition at line 721 of file rhubpdo.cpp.
Definition at line 766 of file rhubpdo.cpp.
Definition at line 788 of file rhubpdo.cpp.
| NTSTATUS NTAPI UcxEvtRootHubReleaseHardware | ( | _In_ WDFDEVICE | Device, |
| _In_ WDFCMRESLIST | ResourcesTranslated | ||
| ) |
Definition at line 450 of file rhubpdo.cpp.
|
static |
Definition at line 692 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl().
|
static |
Definition at line 872 of file rhubpdo.cpp.
|
static |
The controller queue a hub IOCTL goes to, or NULL when the root hub does not serve it.
Definition at line 599 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl().
|
static |
Keeps ucx01000 loaded until the routine ran when the system allows it.
Definition at line 670 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl().
| WDFMEMORY Attributes = NULL |
Definition at line 330 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPrepareHardware().
Definition at line 331 of file rhubpdo.cpp.
Referenced by if().
| size_t AttributesSize = 0 |
Definition at line 332 of file rhubpdo.cpp.
Referenced by if().
| DEVPROPTYPE AttributesType = DEVPROP_TYPE_UINT32 |
Definition at line 333 of file rhubpdo.cpp.
Referenced by if().
| else |
Definition at line 377 of file rhubpdo.cpp.
| Found = NT_SUCCESS(Status) |
Definition at line 337 of file rhubpdo.cpp.
Referenced by if().
Definition at line 327 of file rhubpdo.cpp.
Definition at line 340 of file rhubpdo.cpp.
| _In_ MEMORY_AREA _In_ PVOID _In_ BOOLEAN _Inout_ PMM_REQUIRED_RESOURCES Required = 0 |
Definition at line 336 of file rhubpdo.cpp.
Referenced by ExpectNoProperty(), ExpectProperty(), HubUsb4InterfaceChange(), if(), MiGetOnePage(), MiWriteFilePage(), MmPageOutCacheSection(), profile_items_callback(), SepPrivilegeCheck(), SetupDiGetActualModelsSectionA(), START_TEST(), Test_DeviceBuiltins(), Test_InterfaceBuiltins(), Test_InterfaceParameters(), test_SetupDiGetActualModelsSectionA(), and test_SetupDiGetActualModelsSectionW().
| ULONG64 Serial = 0 |
Definition at line 335 of file rhubpdo.cpp.
Referenced by DeviceMachine::AddChildToHub(), CalcVolumeSerialNumber(), HubIoGetDescriptor(), if(), ScreenDeviceControl(), ScreenWrite(), and VolumeInfoMain().
| DEVPROPTYPE SerialType = DEVPROP_TYPE_EMPTY |
Definition at line 334 of file rhubpdo.cpp.
Referenced by if().
| Status = WdfDeviceQueryPropertyEx(Controller, &Property, sizeof(Serial), &Serial, &Required, &SerialType) |
Definition at line 338 of file rhubpdo.cpp.
Referenced by UcxCompleteIrpWithStatus(), UcxEvtRootHubPrepareHardware(), and UcxSetCompletionRoutine().
|
static |
Definition at line 18 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl().
Definition at line 33 of file rhubpdo.cpp.
Referenced by UcxBuildRootHubHardwareIds().
|
static |
Definition at line 317 of file rhubpdo.cpp.
Referenced by if().
|
static |
Definition at line 313 of file rhubpdo.cpp.
|
static |
Definition at line 315 of file rhubpdo.cpp.
Referenced by if().
|
static |
Definition at line 24 of file rhubpdo.cpp.
Referenced by UcxBuildRootHubHardwareIds().
|
static |
Definition at line 19 of file rhubpdo.cpp.
Referenced by UcxEvtRootHubPreprocessInternalIoctl().