|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Classes | |
| struct | HubStartFailHeader |
| struct | HubBillboardHeader |
| struct | HubBillboardMode |
| struct | HubPdoIrpWork |
Typedefs | |
| typedef VOID(NTAPI * | PFN_HUB_SET_SYSTEM_WAKE_DEVICE) (_In_ PDEVICE_OBJECT DeviceObject) |
Enumerations | |
| enum | HubLpmSlot { HubLpmU1Enable , HubLpmU2Enable , HubLpmU1Timeout , HubLpmU2Timeout , HubLpmPolicy } |
| #define HUB_DEVICE_CHARACTERISTICS_SIZE 0x18 |
Definition at line 46 of file childpdo.cpp.
| #define HUB_IOCTL_GET_DEVICE_CHARACTERISTICS HUB_USB_BUFFERED_IOCTL(USB_GET_DEVICE_CHARACTERISTICS) |
Definition at line 42 of file childpdo.cpp.
| #define HUB_IOCTL_GET_TIME_SYNC HUB_USB_BUFFERED_IOCTL(USB_GET_FRAME_NUMBER_AND_QPC_FOR_TIME_SYNC) |
Definition at line 40 of file childpdo.cpp.
| #define HUB_IOCTL_GET_TRANSPORT_CHARACTERISTICS HUB_USB_BUFFERED_IOCTL(USB_GET_TRANSPORT_CHARACTERISTICS) |
Definition at line 35 of file childpdo.cpp.
| #define HUB_IOCTL_MEDIA_SERIAL_NUMBER CTL_CODE(FILE_DEVICE_MASS_STORAGE, 0x0304, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 50 of file childpdo.cpp.
| #define HUB_IOCTL_NOTIFY_TRANSPORT_CHANGE HUB_USB_BUFFERED_IOCTL(USB_NOTIFY_ON_TRANSPORT_CHARACTERISTICS_CHANGE) |
Definition at line 37 of file childpdo.cpp.
| #define HUB_IOCTL_REGISTER_TRANSPORT_CHANGE HUB_USB_BUFFERED_IOCTL(USB_REGISTER_FOR_TRANSPORT_CHARACTERISTICS_CHANGE) |
Definition at line 36 of file childpdo.cpp.
| #define HUB_IOCTL_START_TIME_SYNC HUB_USB_BUFFERED_IOCTL(USB_START_TRACKING_FOR_TIME_SYNC) |
Definition at line 39 of file childpdo.cpp.
| #define HUB_IOCTL_STOP_TIME_SYNC HUB_USB_BUFFERED_IOCTL(USB_STOP_TRACKING_FOR_TIME_SYNC) |
Definition at line 41 of file childpdo.cpp.
| #define HUB_IOCTL_UNREGISTER_TRANSPORT_CHANGE HUB_USB_BUFFERED_IOCTL(USB_UNREGISTER_FOR_TRANSPORT_CHARACTERISTICS_CHANGE) |
Definition at line 38 of file childpdo.cpp.
| #define HUB_LPM_POLICY_LINK_BITS |
Definition at line 139 of file childpdo.cpp.
| #define HUB_MSOS20_SET_INDEX 7 |
Definition at line 29 of file childpdo.cpp.
| #define HUB_PDO_DRIVER_WAIT_TIME 10000 |
Definition at line 20 of file childpdo.cpp.
| #define HUB_STAMPED_HANDLE_OFFSET 4 |
Definition at line 47 of file childpdo.cpp.
| #define HUB_START_FAIL_MAX 4096 |
Definition at line 53 of file childpdo.cpp.
Definition at line 45 of file childpdo.cpp.
| #define HUB_URB_FUNCTION_FAST_PATH_1 0x0039 |
Definition at line 24 of file childpdo.cpp.
| #define HUB_URB_FUNCTION_FAST_PATH_2 0x003A |
Definition at line 25 of file childpdo.cpp.
| #define HUB_URB_FUNCTION_LAST 0x003C |
Definition at line 23 of file childpdo.cpp.
| #define HUB_URB_FUNCTION_SELECT_LIKE 0x003B |
Definition at line 26 of file childpdo.cpp.
| #define HUB_USB_BUFFERED_IOCTL | ( | Function | ) | CTL_CODE(FILE_DEVICE_USB, Function, METHOD_BUFFERED, FILE_ANY_ACCESS) |
Definition at line 32 of file childpdo.cpp.
| #define NDEBUG |
Definition at line 11 of file childpdo.cpp.
| typedef VOID(NTAPI * PFN_HUB_SET_SYSTEM_WAKE_DEVICE) (_In_ PDEVICE_OBJECT DeviceObject) |
Definition at line 145 of file childpdo.cpp.
| Enumerator | |
|---|---|
| HubLpmU1Enable | |
| HubLpmU2Enable | |
| HubLpmU1Timeout | |
| HubLpmU2Timeout | |
| HubLpmPolicy | |
Definition at line 130 of file childpdo.cpp.
| _IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
Sends a synchronous IOCTL to the specified device object.
Lets KMDF handle the IRP, then hands it back here still uncompleted.
Definition at line 270 of file childpdo.cpp.
| _IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Definition at line 818 of file childpdo.cpp.
| _IRQL_requires_max_ | ( | PASSIVE_LEVEL | ) |
Definition at line 923 of file Messaging.c.
| C_ASSERT | ( | sizeof(HubBillboardHeader) | = =4 | ) |
| C_ASSERT | ( | sizeof(HubBillboardMode) | = =8 | ) |
| Pdo ClearFlag | ( | PdoFlag::Started | ) |
| else Pdo m_Child ClearState | ( | ChildState::D3ColdEnabledByDriver | ) |
| DPRINT | ( | "Child PDO %p on port %u D0 entry from %d\n" | , |
| Device | , | ||
| Pdo-> | m_PortNumber, | ||
| (int) | PreviousState | ||
| ) |
| DPRINT | ( | "Child PDO %p on port %u D0 exit to % | d, |
| action %d\n" | , | ||
| Device | , | ||
| Pdo-> | m_PortNumber, | ||
| (int) | TargetState, | ||
| (int) | Action | ||
| ) |
| DPRINT1 | ( | "Child PDO %p for port % | u, |
| VID %04x PID %04x\n" | , | ||
| Device | , | ||
| Pdo-> | m_PortNumber, | ||
| Child->m_DeviceDescriptor. | idVendor, | ||
| Child->m_DeviceDescriptor. | idProduct | ||
| ) |
Definition at line 3084 of file childpdo.cpp.
| HubCacheMsOs20SetInfo | ( | Child | ) |
|
static |
Definition at line 3570 of file childpdo.cpp.
Referenced by DeviceMachine::SelectConfigValid().
Definition at line 3416 of file childpdo.cpp.
Referenced by DeviceMachine::CompleteClientRequest(), DeviceMachine::CompleteClientRequestFailed(), DeviceMachine::CompleteClientRequestLastStatus(), DeviceMachine::FindClientPipe(), DeviceMachine::SelectConfigValid(), and DeviceMachine::SelectInterfaceValid().
Definition at line 522 of file childpdo.cpp.
Referenced by HubPdoAnswerD3Cold().
Definition at line 510 of file childpdo.cpp.
Referenced by HubPdoAnswerD3Cold().
Definition at line 2938 of file childpdo.cpp.
|
static |
Definition at line 3605 of file childpdo.cpp.
Referenced by DeviceMachine::SelectConfigValid(), and DeviceMachine::SelectInterfaceValid().
|
static |
Definition at line 3692 of file childpdo.cpp.
Referenced by HubInitInterfaceInformation().
|
static |
Definition at line 3757 of file childpdo.cpp.
Referenced by DeviceMachine::SelectInterfaceValid().
| VOID NTAPI HubNoPingResponse | ( | _In_ UCXHUB_HUB_CONTEXT | HubContext, |
| _In_ UCXHUB_DEVICE_CONTEXT | DeviceContext | ||
| ) |
Definition at line 2955 of file childpdo.cpp.
| USBD_STATUS NTAPI HubNtStatusToUsbd | ( | _In_ NTSTATUS | Status | ) |
NT to USBD status mapping shared by the hub and the child PDO.
Definition at line 190 of file childpdo.cpp.
Referenced by DeviceMachine::CompleteClientRequestFailed(), HubChildConfigureDone(), HubChildRecordFailure(), HubChildSubmitUcxIoctl(), HubChildUcxIoctlComplete(), HubPdoSyncComplete(), and DeviceMachine::NotifyDeviceReset().
Definition at line 3433 of file childpdo.cpp.
Referenced by DeviceMachine::CompleteClientRequestFailed(), and DeviceMachine::CompleteClientRequestLastStatus().
Definition at line 721 of file childpdo.cpp.
Referenced by HubPdoQueryInterface().
|
static |
Definition at line 2000 of file childpdo.cpp.
Referenced by HubPdoRouteUrb().
Completes with whatever status the IRP already carries.
Definition at line 300 of file childpdo.cpp.
Referenced by HubPdoAnswerD3Cold(), HubPdoDispatchIoctl(), HubPdoPreprocessPnp(), and HubPdoQueryInterface().
Definition at line 287 of file childpdo.cpp.
Referenced by HubPdoAnswerD3Cold(), HubPdoCachedDescriptor(), HubPdoCyclePort(), HubPdoDispatchIoctl(), HubPdoForwardSelectLike(), HubPdoGetHubName(), HubPdoMsFeatureDescriptor(), HubPdoPreprocessInternalIoctl(), HubPdoPreprocessPnp(), HubPdoQueryCapability(), HubPdoRouteUrb(), HubPdoStampAndForward(), and HubPdoToController().
Definition at line 2526 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
Definition at line 2553 of file childpdo.cpp.
Referenced by HubPdoPreprocessInternalIoctl().
Definition at line 1087 of file childpdo.cpp.
|
static |
Definition at line 1676 of file childpdo.cpp.
|
static |
Definition at line 2908 of file childpdo.cpp.
|
static |
Definition at line 2815 of file childpdo.cpp.
|
static |
Definition at line 876 of file childpdo.cpp.
Definition at line 1332 of file childpdo.cpp.
Definition at line 1322 of file childpdo.cpp.
Definition at line 1369 of file childpdo.cpp.
Definition at line 1469 of file childpdo.cpp.
Definition at line 1479 of file childpdo.cpp.
Definition at line 2428 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
|
static |
Definition at line 2132 of file childpdo.cpp.
Referenced by HubPdoRouteUrb().
Definition at line 2218 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
Definition at line 1598 of file childpdo.cpp.
Referenced by DeviceMachine::FinishWaitWake(), and HubPdoWakeNotificationComplete().
Definition at line 866 of file childpdo.cpp.
Referenced by HubPdoEvtParentInterfaceQuery().
|
static |
Definition at line 1742 of file childpdo.cpp.
|
static |
Definition at line 2062 of file childpdo.cpp.
Referenced by HubPdoRouteUrb().
Definition at line 312 of file childpdo.cpp.
Referenced by HubPdoPreprocessIoctl(), HubPdoPreprocessPnp(), HubPdoPreprocessSetPower(), and HubPdoQueryInterface().
| HubPdoPostAndWait | ( | Pdo-> | m_Child, |
| DsmEvent::PdoInstallMsOsExt | , | ||
| "PdoInstallMsOsExt" | |||
| ) |
|
static |
Definition at line 1101 of file childpdo.cpp.
Referenced by HubPdoPreprocessSetPower().
|
static |
Definition at line 2697 of file childpdo.cpp.
Definition at line 2781 of file childpdo.cpp.
Definition at line 1013 of file childpdo.cpp.
Definition at line 1139 of file childpdo.cpp.
| HubPdoPreStart | ( | Pdo-> | m_Child | ) |
|
static |
Definition at line 2480 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
Definition at line 769 of file childpdo.cpp.
Referenced by HubPdoPreprocessPnp().
|
static |
Definition at line 1902 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl(), and HubPdoRouteUrb().
Definition at line 1929 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl(), and HubPdoRouteUrb().
|
static |
Definition at line 2281 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
| HubPdoRegisterLpmSettings | ( | Pdo | ) |
| HubPdoResolveSystemWake | ( | ) |
|
static |
Definition at line 2153 of file childpdo.cpp.
Referenced by HubPdoPreprocessInternalIoctl().
|
static |
Definition at line 2112 of file childpdo.cpp.
Referenced by HubPdoForwardSelectLike().
Definition at line 1636 of file childpdo.cpp.
Referenced by HubPdoEvtEnableWakeAtBus().
| HubPdoSetCallbacks | ( | Init | ) |
| HubPdoSetPnpCapabilities | ( | Pdo | ) |
|
static |
Definition at line 341 of file childpdo.cpp.
|
static |
Definition at line 2754 of file childpdo.cpp.
Referenced by HubPdoPreprocessIoctl().
Definition at line 1940 of file childpdo.cpp.
Referenced by HubPdoCachedDescriptor(), HubPdoForwardSelectLike(), HubPdoMsFeatureDescriptor(), and HubPdoRouteUrb().
|
static |
Definition at line 1876 of file childpdo.cpp.
Referenced by HubPdoQueueAndWait().
Definition at line 324 of file childpdo.cpp.
Referenced by HubPdoCachedDescriptor(), HubPdoDispatchIoctl(), HubPdoMsFeatureDescriptor(), HubPdoPreprocessIoctl(), HubPdoQueryCapability(), HubPdoQueryInterface(), HubPdoRouteUrb(), and HubPdoStampAndForward().
|
static |
Definition at line 2401 of file childpdo.cpp.
Referenced by HubPdoDispatchIoctl().
Definition at line 1986 of file childpdo.cpp.
Referenced by HubPdoCachedDescriptor(), and HubPdoMsFeatureDescriptor().
Definition at line 1951 of file childpdo.cpp.
Referenced by HubPdoCachedDescriptor(), and HubPdoRouteUrb().
|
static |
Definition at line 1616 of file childpdo.cpp.
| HubReadDeviceHardwareValues | ( | Child | ) |
Definition at line 3451 of file childpdo.cpp.
Referenced by DeviceMachine::CompleteClientRequest(), DeviceMachine::CompleteClientRequestFailed(), and DeviceMachine::CompleteClientRequestLastStatus().
|
static |
Definition at line 220 of file childpdo.cpp.
Referenced by HubFailClientCheck().
| HubWriteEnumerationData | ( | Child | ) |
| if | ( | ! | Hub->HasFlag(HubFlag::InAcpiNamespace) &&Child->HasProperty(ChildProperty::NotRemovable) | ) |
| if | ( | !Child-> | HasPropertyChildProperty::IsHub) &&!Child->HasProperty(ChildProperty::IsComposite | ) |
| if | ( | ! | Known | ) |
Definition at line 3319 of file childpdo.cpp.
| if | ( | ! | NT_SUCCESSStatus | ) |
Definition at line 1000 of file childpdo.cpp.
| if | ( | !Pdo-> | HasFlagPdoFlag::DeviceGone) &&Child->HasState(ChildState::WorkingDevice | ) | -> m_FailRequests=FALSE |
| if | ( | (Hub->m_ParentInfo.Flags &HUB_PARENT_HIGH_SPEED_CAPABLE)||Hub->m_ParentInfo.DeviceDescriptor.bcdUSB >= | 0x0200 | ) |
Definition at line 2348 of file childpdo.cpp.
Definition at line 961 of file childpdo.cpp.
| if | ( | Child-> | HasPropertyChildProperty::DualRole | ) | -> ClearProperty(ChildProperty::DualRole) |
| if | ( | Child-> | HasPropertyChildProperty::IsHub | ) |
Definition at line 1222 of file childpdo.cpp.
| if | ( | Child-> | HasPropertyChildProperty::UxdReserved | ) |
Definition at line 2370 of file childpdo.cpp.
| if | ( | D3ColdSupport | ) | -> m_Child->SetState(ChildState::D3ColdEnabledByDriver) |
Definition at line 3399 of file childpdo.cpp.
| if | ( | Hub-> | HasFlagHubFlag::MultiTtHub | ) |
Definition at line 2354 of file childpdo.cpp.
| if | ( | Hub-> | HasFlagHubFlag::WakeOnConnect | ) | -> HubFlags.HubIsArmedWakeOnConnect=1 |
| if | ( | Hub-> | IsRootHub() | ) | -> HubFlags.HubIsRoot=1 |
| if | ( | Hub-> | m_MaxPortPower = =100 | ) | -> HubFlags.HubIsBusPowered=1 |
| if | ( | Hub->m_Parent. | HubSpeed = =UsbHighSpeed | ) | -> HubFlags.HubIsHighSpeed=1 |
| if | ( | HubUsb4NeedsHostPower(Child) | ) |
Definition at line 1207 of file childpdo.cpp.
| if | ( | HubUsb4NeedsHostPower(Pdo->m_Child) | ) |
Definition at line 2337 of file childpdo.cpp.
Definition at line 2331 of file childpdo.cpp.
| if | ( | Known | ) |
Definition at line 3279 of file childpdo.cpp.
| if | ( | NT_SUCCESS(Status) &&*D3ColdSupported &&Pdo->m_Child->m_Port->HasProperty(PortProperty::Removable) | ) |
Definition at line 607 of file childpdo.cpp.
| if | ( | NT_SUCCESS(Status) | ) |
Definition at line 2380 of file childpdo.cpp.
| if | ( | Pdo->HasFlag(PdoFlag::Started)||Stack->Parameters.QueryId.IdType ! | = BusQueryDeviceID || KeGetCurrentIrql() != PASSIVE_LEVEL | ) |
Definition at line 992 of file childpdo.cpp.
| if | ( | Pdo-> | HasFlagPdoFlag::WasResetAtResume | ) |
Definition at line 600 of file childpdo.cpp.
Definition at line 565 of file childpdo.cpp.
Definition at line 645 of file childpdo.cpp.
| if | ( | Pdo->m_AcpiD3Cold.SetD3ColdSupport ! | = NULL | ) | -> m_AcpiD3Cold.SetD3ColdSupport(Pdo->m_AcpiD3Cold.Context, D3ColdSupport) |
| if | ( | Pdo->m_Hub->m_Capabilities.SystemWake >=SystemPowerState && | Child->HasProperty(ChildProperty::RemoteWakeCapable)||Child->HasProperty(ChildProperty::IsHub) | ) |
Definition at line 574 of file childpdo.cpp.
| if | ( | Pdo->m_SymbolicLink ! | = NULL | ) | -> m_SymbolicLink, SymbolicLinkName) |
Definition at line 1246 of file childpdo.cpp.
| if | ( | Pdo-> | TestAndClearFlagPdoFlag::QueryRemoved | ) |
| if | ( | Pdo-> | TestAndClearFlagPdoFlag::QueryStopped | ) |
| if | ( | Referenced | ) | -> m_Object,(PVOID) HubTagPdo) |
| if | ( | TargetState ! | = WdfPowerDeviceD3Final &&Action==PowerActionNone | ) |
| else if | ( | TargetState | = = WdfPowerDeviceD3Final && Action == PowerActionNone | ) |
Definition at line 1546 of file childpdo.cpp.
| IoCopyCurrentIrpStackLocationToNext | ( | Irp | ) |
| IoSetCompletionRoutine | ( | Irp | , |
| HubPdoSignalCompletion | , | ||
| & | Event, | ||
| TRUE | , | ||
| TRUE | , | ||
| TRUE | |||
| ) |
| PAGED_CODE | ( | ) |
Referenced by _IRQL_requires_().
Referenced by CdCleanupIrpContext(), and NtfsCachedRead().
| Pdo m_Idle Post | ( | IdleEvent::PoweredUp | , |
| NULL | |||
| ) |
| Pdo m_Idle Post | ( | IdleEvent::Start | , |
| NULL | |||
| ) |
| RtlInitEmptyUnicodeString | ( | SymbolicLinkName | , |
| NULL | , | ||
| 0 | |||
| ) |
Referenced by _Function_class_(), _IRQL_requires_(), _main(), _Success_(), _tmain(), AddNTOSInstallation(), ApphelppInitDebugLevel(), ArbpOpenPolicySubkey(), AVrfpLoadAndInitializeProvider(), BaseCreateVDMEnvironment(), BaseInitApphelp(), BaseInitializeStaticServerData(), BasepIsCurDirAllowedForPlainExeNames(), BasepOpenFileForMove(), BuildSubSysCommandLine(), BuildUserModeWindowStationName(), CheckSid__(), ClassNameToVersion(), cleanup(), CmpAddDriverToList(), CmpCmdHiveOpen(), CmpInitializeHive(), CmpInitializeHiveList(), CmpInitializeRegistryNode(), CmpInitializeSystemHive(), CmpIsSafe(), CmpOpenHiveFiles(), CmpRemoveFromHiveFileList(), CmpSetVersionData(), CNtObjectFolder::CompareIDs(), ConvertNtPathToWin32Path(), CreateDeviceFromRegistry(), CreateProcessInternalW(), dempIsFileMatch(), EjectFloppy(), ElfCloseFile(), ElfCreateFile(), EmulatorInitialize(), EnumerateInstallations(), EraseLine(), ExpandEnvironmentStringsA(), ExpandEnvironmentStringsW(), ExpInitializeExecutive(), ExpLoadInitialProcess(), FltpAttachToFileSystemDevice(), GetClassNameW(), CNtObjectFolder::GetDetailsEx(), CNtObjectFolder::GetDetailsOf(), GetEnvironmentVariableA(), GetEnvironmentVariableW(), GetFinalPathNameByHandleW(), GetKeyboardLayoutNameW(), GetSourcePaths(), GetSystemVersionString(), HalpRegisterPciDebuggingDeviceInfo(), HubUsb4OpenWorkItem(), IntGdiAddFontResourceSingle(), IntGdiRemoveFontResourceSingle(), IntResolveDesktop(), IntSetAconData(), IntSetCursorData(), IopLogWorker(), IopQueryDeviceDescription(), IopSeparateSymbolicLink(), IopStartRamdisk(), IopStoreSystemPartitionInformation(), IsShortName_U(), IsValidNTOSInstallationByHandle(), KsepGetShimsFromRegistry(), LDEVOBJ_bLoadImage(), LDEVOBJ_pLoadDriver(), LdrGetDllHandleEx(), LdrLoadDll(), LdrpFreeUnicodeString(), LdrpInitializeDotLocalSupport(), LdrpInitializeProcess(), LdrpLoadDll(), LdrpLoadImportModule(), LdrpSnapThunk(), LdrpUpdateLoadCount2(), LoadSymbolsRoutine(), LpcpCreatePort(), LsapSetLogonSessionData(), MiQueryMemorySectionName(), MountFloppy(), NpCancelWaiter(), NtGdiOpenDCW(), NtQueryDirectoryObject(), NtQueryInformationThread(), NtQuerySystemEnvironmentValue(), NtUserChangeDisplaySettings(), NtUserEnumDisplayDevices(), NtUserEnumDisplaySettings(), NtUserLoadKeyboardLayoutEx(), NtVdmConfigureBios(), NtVdmConfigureFloppy(), NtVdmConfigureHDD(), NtVdmConfigureRom(), ObpCaptureObjectCreateInformation(), ObpCaptureObjectName(), ObpDeleteObject(), ObpDereferenceNameInfo(), ObQueryNameString(), ParseArcName(), PiPropBuildValuePath(), PiPropInitLocale(), PnpRootCreateDevice(), PrivMoveFileIdentityW(), ProbeAndCaptureObjectAttributes(), ProbeAndCaptureUnicodeStringOrAtom(), ProcessPortMessage(), RealGetWindowClassW(), RegCreateKeyExA(), RegDeleteKeyExA(), RegLoadKeyA(), RegOpenKeyExA(), RegQueryInfoKeyA(), RegQueryValueExA(), RegReplaceKeyA(), RegRestoreKeyA(), RegSaveKeyA(), RegSaveKeyExA(), RegUnLoadKeyA(), CNtObjectFolder::ResolveSymLink(), RtlConvertUiListToApiList(), RtlDosApplyFileIsolationRedirection_Ustr(), RtlDosSearchPath_Ustr(), RtlFormatCurrentUserKeyPath(), RtlpCallQueryRegistryRoutine(), RtlpDosPathNameToRelativeNtPathName_Ustr(), RtlpGetRegistryHandle(), RtlpNtQueryValueKey(), RtlpNtSetValueKey(), RtlpWin32NTNameToNtPathName_U(), RtlQueryRegistryValues(), RtlSetCurrentDirectory_U(), RunTestCases(), RxCanonicalizeNameAndObtainNetRoot(), RxCreateTreeConnect(), RxFirstCanonicalize(), RxPrefixClaim(), ScmConvertToBootPathName(), SdbpMatchExe(), SdbpPropagateEnvLayers(), SdbUnregisterDatabase(), SeiAddHooks(), SeiInitDebugSupport(), SetupLdrLoadNlsData(), SmLookupSubsystem(), SmpCreateDynamicEnvironmentVariables(), SmpInvokeAutoChk(), SmpParseCommandLine(), SmpProcessModuleImports(), SmpTranslateSystemPartitionInformation(), START_TEST(), test_allocations(), test_dllnames(), Test_RtlCultureNameToLCID(), Test_RtlLCIDToCultureName(), Test_RtlLcidToLocaleName(), Test_RtlUnicodeStringPrintf(), Test_RtlUnicodeStringPrintfEx(), TestBuffers(), TestIoVolumeDeviceToDosName(), TestMessageHandler(), TestQueryLink(), TestRedirection(), TestRelativeNames(), TestUpcaseUnicodeString(), UcxBuildRootHubHardwareIds(), UcxParentGetHubSymbolicName(), UserpFormatMessages(), UserpGetClientFileName(), UserServerHardError(), VersionRegisterClass(), vfatGetFCBForFile(), VfatSetRenameInformation(), WinLdrAddDriverToList(), and WinLdrGetNLSNames().
| Pdo SetFlag | ( | PdoFlag::IdleMachineStarted | ) |
| Pdo SetFlag | ( | PdoFlag::Started | ) |
| UNREFERENCED_PARAMETER | ( | IoResourceRequirementsList | ) |
| UNREFERENCED_PARAMETER | ( | PreviousState | ) |
| UNREFERENCED_PARAMETER | ( | ResourcesRaw | ) |
| UNREFERENCED_PARAMETER | ( | ResourcesTranslated | ) |
| WDF_DECLARE_CONTEXT_TYPE_WITH_NAME | ( | HubPdoIrpWork | , |
| HubGetPdoIrpWork | |||
| ) |
| WdfDeviceInitSetDeviceType | ( | Init | , |
| FILE_DEVICE_UNKNOWN | |||
| ) |
Referenced by Bus_CreatePdo(), DriverEvtDeviceAdd(), and SklHdAudBusEvtDeviceAdd().
Referenced by DriverEvtDeviceAdd().
| WdfDeviceInitSetRemoveLockOptions | ( | Init | , |
| & | RemoveLock | ||
| ) |
Referenced by DriverEvtDeviceAdd().
| WdfDeviceResumeIdle | ( | HubDevice | ) |
| WdfDeviceSetSpecialFileSupport | ( | Device | , |
| WdfSpecialFileBoot | , | ||
| TRUE | |||
| ) |
| WdfDeviceSetSpecialFileSupport | ( | Device | , |
| WdfSpecialFileDump | , | ||
| TRUE | |||
| ) |
| WdfDeviceSetSpecialFileSupport | ( | Device | , |
| WdfSpecialFileHibernation | , | ||
| TRUE | |||
| ) |
| WdfDeviceSetSpecialFileSupport | ( | Device | , |
| WdfSpecialFilePaging | , | ||
| TRUE | |||
| ) |
Referenced by UcxRootHub::CreatePdo(), and XhciCreateFdo().
| WdfPdoInitAllowForwardingRequestToParent | ( | Init | ) |
Referenced by UcxRootHub::CreatePdo().
| Failed __pad0__ |
Definition at line 3393 of file childpdo.cpp.
Definition at line 1530 of file childpdo.cpp.
Definition at line 1190 of file childpdo.cpp.
Referenced by HubPdoPowerIrpComplete().
| WCHAR Buffer[32] = (PWCHAR)ExAllocatePoolWithTag(PagedPool, Count * sizeof(WCHAR), HUB_TAG_DEVICE) |
Definition at line 953 of file childpdo.cpp.
Referenced by HubPdoCachedDescriptor(), and HubPdoMsFeatureDescriptor().
Definition at line 264 of file childpdo.cpp.
Definition at line 952 of file childpdo.cpp.
| WDFDEVICE Device |
Definition at line 3064 of file childpdo.cpp.
Referenced by if().
| else |
Definition at line 579 of file childpdo.cpp.
Definition at line 259 of file childpdo.cpp.
Referenced by HubPdoQueueAndWait().
| Attributes EvtCleanupCallback = HubPdoEvtCleanup |
Definition at line 3082 of file childpdo.cpp.
| return FALSE |
Definition at line 3408 of file childpdo.cpp.
Referenced by HubFailClientCheck(), HubFindSelectedInterface(), HubPdoEvtParentInterfaceQuery(), HubPdoPowerIrpComplete(), HubPdoPreprocessInternalIoctl(), HubPdoQueueAndWait(), HubPdoSignalCompletion(), HubPdoSyncComplete(), HubPdoWakeNotificationComplete(), and if().
| USB_ID_STRING FriendlyName |
Definition at line 2328 of file childpdo.cpp.
Referenced by if(), and Test_DeviceBuiltins().
Definition at line 1189 of file childpdo.cpp.
Referenced by HubPdoEvtParentInterfaceQuery(), HubPdoFillHubInfo(), HubPdoTopologyAddress(), and if().
Definition at line 98 of file childpdo.cpp.
Referenced by HubPdoQueryCapability().
Definition at line 100 of file childpdo.cpp.
Referenced by HubPdoQueryCapability().
Definition at line 94 of file childpdo.cpp.
Referenced by if().
Definition at line 989 of file childpdo.cpp.
Referenced by UcxUsbDevice::CreateFromHub(), HubWmiQueryHubNode(), and UcxHubQueryControllerBus().
|
static |
Definition at line 104 of file childpdo.cpp.
|
static |
Definition at line 106 of file childpdo.cpp.
|
static |
Definition at line 108 of file childpdo.cpp.
|
static |
Definition at line 112 of file childpdo.cpp.
Referenced by HubPdoLpmSettingChanged().
|
static |
Definition at line 121 of file childpdo.cpp.
Referenced by HubPdoLpmSettingChanged().
|
static |
Definition at line 165 of file childpdo.cpp.
|
static |
Definition at line 173 of file childpdo.cpp.
Referenced by HubPdoPowerIrpComplete().
|
static |
Definition at line 152 of file childpdo.cpp.
|
static |
Definition at line 153 of file childpdo.cpp.
|
static |
Definition at line 162 of file childpdo.cpp.
|
static |
Definition at line 161 of file childpdo.cpp.
|
static |
Definition at line 172 of file childpdo.cpp.
|
static |
Definition at line 171 of file childpdo.cpp.
|
static |
Definition at line 170 of file childpdo.cpp.
|
static |
Definition at line 154 of file childpdo.cpp.
|
static |
Definition at line 160 of file childpdo.cpp.
|
static |
Definition at line 159 of file childpdo.cpp.
|
static |
Definition at line 155 of file childpdo.cpp.
|
static |
Definition at line 163 of file childpdo.cpp.
|
static |
Definition at line 164 of file childpdo.cpp.
|
static |
Definition at line 157 of file childpdo.cpp.
|
static |
Definition at line 158 of file childpdo.cpp.
|
static |
Definition at line 156 of file childpdo.cpp.
|
static |
Definition at line 175 of file childpdo.cpp.
|
static |
Definition at line 166 of file childpdo.cpp.
|
static |
Definition at line 167 of file childpdo.cpp.
|
static |
Definition at line 168 of file childpdo.cpp.
|
static |
Definition at line 169 of file childpdo.cpp.
|
static |
Definition at line 174 of file childpdo.cpp.
Referenced by HubPdoSendWakeNotification().
|
static |
Definition at line 149 of file childpdo.cpp.
Referenced by DeviceMachine::MarkSystemWakeSource().
|
static |
Definition at line 150 of file childpdo.cpp.
Definition at line 17 of file childpdo.cpp.
Definition at line 3073 of file childpdo.cpp.
Referenced by HubInitInterfaceInformation(), and HubPdoGetHubName().
| _Inout_opt_ PHUB_DEVICE_CONFIG_INFO Info |
Definition at line 2324 of file childpdo.cpp.
Definition at line 1191 of file childpdo.cpp.
Referenced by FxQueryInterface::_FormatIrp(), CreateSymbolicLink(), GetDeviceListInterfaces(), GetInterfaceProperties(), if(), InstallOneInterface(), IpDeleteArpCache(), IpDumpFn(), IpShowAdapters(), KsCreateBusEnumObject(), NsGetFriendlyNameFromIfName(), NsGetIfNameFromFriendlyName(), OpenAdapterHandle(), OpenDeviceList(), PNP_GetInterfaceDeviceList(), PNP_GetInterfaceDeviceListSize(), PNP_RegisterDeviceClassAssociation(), SetInterfaceProperties(), SETUP_CreateInterfaceList(), and SetupDiInstallDeviceInterfaces().
| _In_ WDFIORESREQLIST IoResourceRequirementsList |
Definition at line 1385 of file childpdo.cpp.
Definition at line 360 of file childpdo.cpp.
Referenced by HubPdoPowerIrpComplete().
Definition at line 3264 of file childpdo.cpp.
Referenced by PrintAttributeInfo(), DeviceMachine::SameDeviceConnected(), and UniataFindBusMasterController().
Definition at line 2346 of file childpdo.cpp.
Referenced by HubPdoRecordFailure().
| * LocationStrings |
Definition at line 949 of file childpdo.cpp.
Referenced by locintrf_GetLocationString(), and UcxGetLocationString().
Definition at line 3339 of file childpdo.cpp.
| Pdo m_ClientContractVersion = HUB_PDO_CONTRACT_UNKNOWN |
Definition at line 3342 of file childpdo.cpp.
Definition at line 3337 of file childpdo.cpp.
Referenced by FxPkgFdo::_PnpPassDown(), FxPkgPdo::_PnpSetLock(), _Releases_lock_(), FxPkgPdo::AddEjectionDevice(), FxPkgFdo::CreateDefaultDeviceList(), FxPkgFdo::DeleteSymbolicLinkOverload(), FxPkgPdo::DeleteSymbolicLinkOverload(), FxPkgFdo::DispatchDeviceSetPower(), FxPkgPdo::DispatchDeviceSetPower(), FxPkgFdo::DispatchSystemSetPower(), FxPkgPdo::DispatchSystemSetPower(), FxPkgFdo::HandleQueryPnpDeviceStateCompletion(), if(), FxPkgFdo::Initialize(), FxPkgPdo::Initialize(), FxPkgPdo::PnpEventEjectHardwareOverload(), FxPkgPdo::PnpEventPdoRemovedOverload(), FxPkgFdo::PnpFilterResourceRequirements(), FxPkgPdo::PnpQueryCapabilities(), FxPkgPdo::PnpQueryDeviceRelations(), FxPkgPdo::PnpQueryResourceRequirements(), FxPkgPdo::PnpQueryResources(), FxPkgFdo::PnpSendStartDeviceDownTheStackOverload(), FxPkgFdo::PostCreateDeviceInitialize(), FxPkgPdo::PowerCheckParentOverload(), FxPkgPdo::PowerDisableWakeAtBusOverload(), FxPkgPdo::PowerEnableWakeAtBusOverload(), FxPkgPdo::PowerNotifyParentChildWakeArmed(), FxPkgPdo::PowerNotifyParentChildWakeDisarmed(), FxPkgPdo::PowerParentPowerDereference(), FxPkgFdo::ProcessRemoveDeviceOverload(), FxPkgPdo::ProcessRemoveDeviceOverload(), FxPkgFdo::QueryForPowerThread(), FxPkgFdo::QueryForReenumerationInterface(), FxPkgFdo::RaiseDevicePower(), and FxPkgFdo::SendIrpSynchronously().
Definition at line 1299 of file childpdo.cpp.
Definition at line 3338 of file childpdo.cpp.
| Child m_LpmPolicy = HUB_LPM_POLICY_LINK_BITS |
Definition at line 3386 of file childpdo.cpp.
Definition at line 3360 of file childpdo.cpp.
Definition at line 267 of file childpdo.cpp.
Definition at line 1510 of file childpdo.cpp.
Definition at line 3384 of file childpdo.cpp.
| Pdo m_WdfPowerState = WdfPowerDeviceD0 |
Definition at line 1505 of file childpdo.cpp.
| UNICODE_STRING Name |
Definition at line 3071 of file childpdo.cpp.
Referenced by for(), and HubPdoGetHubName().
| KeInitializeEvent& Pdo = HubGetPdoContext(Device) |
Definition at line 1187 of file childpdo.cpp.
Referenced by HubPdoAnswerD3Cold(), HubPdoDispatchIoctl(), and HubPdoEvtParentInterfaceQuery().
Definition at line 3267 of file childpdo.cpp.
Referenced by HubEvtBandwidthRetryTimer(), HubPdoEvtParentInterfaceQuery(), and if().
Definition at line 1494 of file childpdo.cpp.
| Referenced = FALSE |
Definition at line 3271 of file childpdo.cpp.
Referenced by BroadcastOpen(), and CreateRedirectedFile().
| WDF_REMOVE_LOCK_OPTIONS_INIT & RemoveLock |
Definition at line 3268 of file childpdo.cpp.
Referenced by IoAcquireRemoveLockEx(), IoInitializeRemoveLockEx(), IoReleaseRemoveLockAndWaitEx(), IoReleaseRemoveLockEx(), Mx::MxAcquireRemoveLock(), Mx::MxReleaseRemoveLock(), and Mx::MxReleaseRemoveLockAndWait().
| _In_ WDFCMRESLIST ResourcesRaw |
Definition at line 1183 of file childpdo.cpp.
| _In_ WDFCMRESLIST ResourcesTranslated |
Definition at line 1184 of file childpdo.cpp.
| Failed Port Status = Pdo->m_AcpiD3Cold.GetD3ColdCapability(Pdo->m_AcpiD3Cold.Context, D3ColdSupported) |
Definition at line 561 of file childpdo.cpp.
Referenced by for(), HubInitInterfaceInformation(), HubPdoCachedDescriptor(), HubPdoCompleteAsIs(), HubPdoCompleteIrp(), HubPdoDispatchIoctl(), HubPdoEvtEnableWakeAtBus(), HubPdoIndicateWake(), HubPdoPowerIrpComplete(), HubPdoPreprocessSetPower(), HubPdoQueueAndWait(), HubPdoRouteUrb(), HubPdoSendWakeNotification(), and if().
| return STATUS_SUCCESS |
Definition at line 584 of file childpdo.cpp.
Referenced by HubNtStatusToUsbd(), HubPdoAnswerD3Cold(), HubPdoCachedDescriptor(), HubPdoCyclePort(), HubPdoDispatchIoctl(), HubPdoEvtEnableWakeAtBus(), HubPdoEvtParentInterfaceQuery(), HubPdoEvtQueryRemove(), HubPdoEvtQueryStop(), HubPdoEvtSelfManagedIoStart(), HubPdoEvtSelfManagedIoSuspend(), HubPdoGetHubName(), HubPdoIndicateWake(), HubPdoLpmSettingChanged(), HubPdoMsFeatureDescriptor(), HubPdoPreprocessInternalIoctl(), HubPdoPreprocessPnp(), HubPdoQueryCapability(), HubPdoRecordFailure(), HubPdoSendWakeNotification(), HubPdoTopologyAddress(), HubPdoValidateUrb(), HubUsbdStatusToNt(), and if().
Definition at line 556 of file childpdo.cpp.
Definition at line 1526 of file childpdo.cpp.
| return TRUE |
Definition at line 3391 of file childpdo.cpp.
Referenced by HubFindSelectedInterface(), HubPdoForwardSelectLike(), HubPdoPreprocessInternalIoctl(), HubPdoPreprocessSetPower(), HubPdoQueryCapability(), and HubPdoQueueAndWait().
Definition at line 2345 of file childpdo.cpp.
Definition at line 260 of file childpdo.cpp.
Referenced by CreateBase(), and PortReportChange().