ReactOS 0.4.16-dev-197-g92996da
|
#include <fxpowerpolicystatemachine.hpp>
Public Member Functions | |
FxPowerPolicyOwnerSettings (__in FxPkgPnp *PkgPnp) | |
~FxPowerPolicyOwnerSettings (VOID) | |
_Must_inspect_result_ NTSTATUS | Init (VOID) |
VOID | CleanupPowerCallback (VOID) |
VOID | IncrementChildrenArmedForWakeCount (VOID) |
VOID | DecrementChildrenArmedForWakeCount (VOID) |
Public Member Functions inherited from FxStump | |
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType) |
VOID | operator delete (__in PVOID pointer) |
PVOID | operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
VOID | operator delete[] (__in PVOID pointer) |
Protected Attributes | |
PCALLBACK_OBJECT | m_PowerCallbackObject |
PVOID | m_PowerCallbackRegistration |
LONG | m_WaitWakeCancelCompletionOwnership |
Static Protected Attributes | |
static MdCallbackFunctionType | _PowerStateCallback |
Additional Inherited Members | |
Protected Member Functions inherited from FxStump | |
FxStump (VOID) | |
Definition at line 550 of file fxpowerpolicystatemachine.hpp.
Definition at line 2607 of file powerpolicystatemachine.cpp.
FxPowerPolicyOwnerSettings::~FxPowerPolicyOwnerSettings | ( | VOID | ) |
Definition at line 2651 of file powerpolicystatemachine.cpp.
Definition at line 2670 of file powerpolicystatemachine.cpp.
Referenced by FxPkgPnp::CleanupStateMachines(), and ~FxPowerPolicyOwnerSettings().
Definition at line 583 of file fxpowerpolicystatemachine.hpp.
Definition at line 575 of file fxpowerpolicystatemachine.hpp.
_Must_inspect_result_ NTSTATUS FxPowerPolicyOwnerSettings::Init | ( | VOID | ) |
Definition at line 2700 of file powerpolicystatemachine.cpp.
Referenced by FxPkgPnp::Initialize().
|
staticprotected |
Definition at line 593 of file fxpowerpolicystatemachine.hpp.
Referenced by Init().
friend FxPowerPolicyOwnerSettings::FxPowerPolicyMachine |
Definition at line 552 of file fxpowerpolicystatemachine.hpp.
BOOLEAN FxPowerPolicyOwnerSettings::m_CanSaveState |
Definition at line 674 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), and FxPkgPnp::SaveState().
LONG FxPowerPolicyOwnerSettings::m_ChildrenArmedCount |
Definition at line 642 of file fxpowerpolicystatemachine.hpp.
Referenced by DecrementChildrenArmedForWakeCount(), FxPowerPolicyOwnerSettings(), IncrementChildrenArmedForWakeCount(), and FxPkgPnp::PowerPolicyGetCurrentWakeReason().
BOOLEAN FxPowerPolicyOwnerSettings::m_ChildrenCanPowerUp |
Definition at line 680 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), FxPkgPnp::PowerPolicyBlockChildrenPowerUp(), FxPkgPnp::PowerPolicyCanChildPowerUp(), FxPkgPnp::PowerPolicyCanIdlePowerDown(), and FxPkgPnp::PowerPolicyChildrenCanPowerUp().
ULONG FxPowerPolicyOwnerSettings::m_ChildrenPoweredOnCount |
Definition at line 634 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), FxPkgPnp::PowerPolicyCanChildPowerUp(), FxPkgPnp::PowerPolicyCanIdlePowerDown(), and FxPkgPnp::PowerPolicyChildPoweredDown().
FxPowerDeviceArmWakeFromS0 FxPowerPolicyOwnerSettings::m_DeviceArmWakeFromS0 |
Definition at line 604 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::RegisterPowerPolicyCallbacks().
FxPowerDeviceArmWakeFromSx FxPowerPolicyOwnerSettings::m_DeviceArmWakeFromSx |
Definition at line 605 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::RegisterPowerPolicyCallbacks().
FxPowerDeviceDisarmWakeFromS0 FxPowerPolicyOwnerSettings::m_DeviceDisarmWakeFromS0 |
Definition at line 607 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::RegisterPowerPolicyCallbacks().
FxPowerDeviceDisarmWakeFromSx FxPowerPolicyOwnerSettings::m_DeviceDisarmWakeFromSx |
Definition at line 608 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::PowerPolicyDisarmWakeFromSx(), and FxPkgPnp::RegisterPowerPolicyCallbacks().
FxPowerDeviceWakeFromS0Triggered FxPowerPolicyOwnerSettings::m_DeviceWakeFromS0Triggered |
Definition at line 610 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::RegisterPowerPolicyCallbacks().
FxPowerDeviceWakeFromSxTriggered FxPowerPolicyOwnerSettings::m_DeviceWakeFromSxTriggered |
Definition at line 611 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::RegisterPowerPolicyCallbacks().
BYTE FxPowerPolicyOwnerSettings::m_IdealDxStateForSx |
Definition at line 653 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), and FxPkgPnp::SetPowerCaps().
IdlePolicySettings FxPowerPolicyOwnerSettings::m_IdleSettings |
Definition at line 619 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::_S0IdleQueryInstance(), if(), FxPkgPnp::IsS0IdleSystemManaged(), FxPkgPnp::IsS0IdleUsbSSEnabled(), FxPkgPnp::IsS0IdleWakeFromS0Enabled(), FxPkgPnp::PowerPolicySetS0IdleSettings(), FxPkgPnp::PowerPolicySetS0IdleState(), FxDevice::ProcessWmiPowerQueryOrSetData(), and FxPkgPnp::SaveState().
FxPkgPnp* FxPowerPolicyOwnerSettings::m_PkgPnp |
Definition at line 615 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), and IdleTimeoutManagement::GetDevice().
|
protected |
Definition at line 694 of file fxpowerpolicystatemachine.hpp.
Referenced by CleanupPowerCallback(), FxPowerPolicyOwnerSettings(), and Init().
|
protected |
Definition at line 696 of file fxpowerpolicystatemachine.hpp.
Referenced by CleanupPowerCallback(), FxPowerPolicyOwnerSettings(), and Init().
BOOLEAN FxPowerPolicyOwnerSettings::m_PowerFailed |
Definition at line 669 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings().
FxPowerIdleMachine FxPowerPolicyOwnerSettings::m_PowerIdleMachine |
Definition at line 596 of file fxpowerpolicystatemachine.hpp.
Referenced by Init(), FxPkgPnp::PowerDereference(), FxPkgPnp::PowerPolicySetS0IdleSettings(), FxPkgPnp::PowerReference(), FxPkgPnp::PowerSendIdlePowerEvent(), FxPkgPnp::PowerSendPowerDownEvents(), and FxPkgPnp::PowerSendPowerDownFailureEvent().
FxPoxInterface FxPowerPolicyOwnerSettings::m_PoxInterface |
Definition at line 597 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::CleanupStateMachines(), and FxPkgPnp::PowerPolicySetS0IdleSettings().
BOOLEAN FxPowerPolicyOwnerSettings::m_RequestedPowerDownIrp |
Definition at line 661 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgFdo::DispatchDeviceSetPower(), FxPkgPdo::DispatchDeviceSetPower(), FxPowerPolicyOwnerSettings(), and FxPkgPnp::PowerPolicySendDevicePowerRequest().
BOOLEAN FxPowerPolicyOwnerSettings::m_RequestedPowerUpIrp |
Definition at line 660 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgFdo::DispatchDeviceSetPower(), FxPkgPdo::DispatchDeviceSetPower(), FxPowerPolicyOwnerSettings(), and FxPkgPnp::PowerPolicySendDevicePowerRequest().
BOOLEAN FxPowerPolicyOwnerSettings::m_RequestedWaitWakeIrp |
Definition at line 662 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::DispatchWaitWake(), FxPowerPolicyOwnerSettings(), and FxPkgPnp::PowerPolicySendWaitWakeRequest().
ULONG FxPowerPolicyOwnerSettings::m_SystemToDeviceStateMap |
Definition at line 626 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), and FxPkgPnp::QueryForCapabilities().
BOOLEAN FxPowerPolicyOwnerSettings::m_SystemWakeSource |
Definition at line 691 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgPnp::PowerPolicyDisarmWakeFromSx(), and FxPkgPnp::PowerPolicyUpdateSystemWakeSource().
FxUsbIdleInfo* FxPowerPolicyOwnerSettings::m_UsbIdle |
Definition at line 613 of file fxpowerpolicystatemachine.hpp.
Referenced by __drv_maxIRQL(), FxPowerPolicyOwnerSettings(), FxPowerPolicyMachine::InitUsbSS(), FxPkgPnp::PowerPolicyCancelUsbSS(), FxPkgPnp::PowerPolicyCancelUsbSSIfCapable(), FxPkgPnp::PowerPolicyProcessEventInner(), FxPowerPolicyMachine::UsbSSCallbackProcessingComplete(), and ~FxPowerPolicyOwnerSettings().
|
protected |
Definition at line 698 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyMachine::CanCompleteWaitWakeIrp(), FxPowerPolicyOwnerSettings(), and FxPowerPolicyMachine::SetWaitWakeUnclaimed().
NTSTATUS FxPowerPolicyOwnerSettings::m_WaitWakeStatus |
Definition at line 647 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), and FxPkgPnp::PowerPolicyDisarmWakeFromSx().
BOOLEAN FxPowerPolicyOwnerSettings::m_WakeCompletionEventDropped |
Definition at line 667 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPowerPolicyOwnerSettings(), FxPkgPnp::PowerPolicyProcessEventInner(), and FxPkgPnp::PowerPolicySendWaitWakeRequest().
WakePolicySettings FxPowerPolicyOwnerSettings::m_WakeSettings |
Definition at line 617 of file fxpowerpolicystatemachine.hpp.
Referenced by FxPkgPnp::_SxWakeQueryInstance(), if(), FxPkgPnp::IsSxWakeEnabled(), FxPkgPnp::PowerPolicyGetCurrentWakeReason(), FxPkgPnp::PowerPolicySetSxWakeSettings(), FxPkgPnp::PowerPolicySetSxWakeState(), FxPkgPnp::PowerPolicyShouldPropagateWakeStatusToChildren(), FxDevice::ProcessWmiPowerQueryOrSetData(), and FxPkgPnp::SaveState().