ReactOS  0.4.15-dev-3177-gd6a0299
fxpoweridlestatemachine.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FxPowerIdleTargetState
 
struct  FxIdleStateTable
 
class  FxPowerIdleMachine
 

Typedefs

typedef FxPowerIdleStates(* PFN_POWER_IDLE_STATE_ENTRY_FUNCTION) (FxPowerIdleMachine *)
 

Enumerations

enum  FxPowerIdleEvents {
  PowerIdleEventPowerUpFailed = 0x0002, PowerIdleEventPowerUpComplete = 0x0004, PowerIdleEventPowerDown = 0x0008, PowerIdleEventPowerDownFailed = 0x0010,
  PowerIdleEventTimerExpired = 0x0020, PowerIdleEventEnabled = 0x0040, PowerIdleEventDisabled = 0x0080, PowerIdleEventIoDecrement = 0x0100,
  PowerIdleEventIoIncrement = 0x0200, PowerIdleEventStart = 0x0400, PowerIdleEventStop = 0x0800, PowerIdleNull = 0x0000
}
 
enum  FxPowerIdleStates {
  FxIdleStopped = 1, FxIdleStarted, FxIdleStartedPowerUp, FxIdleStartedPowerFailed,
  FxIdleDisabled, FxIdleCheckIoCount, FxIdleBusy, FxIdleDecrementIo,
  FxIdleStartTimer, FxIdleTimerRunning, FxIdleTimingOut, FxIdleTimedOut,
  FxIdleTimedOutIoIncrement, FxIdleTimedOutPowerDown, FxIdleTimedOutPowerDownFailed, FxIdleGoingToDx,
  FxIdleInDx, FxIdleInDxIoIncrement, FxIdleInDxPowerUpFailure, FxIdleInDxStopped,
  FxIdleInDxDisabled, FxIdleInDxEnabled, FxIdlePowerUp, FxIdlePowerUpComplete,
  FxIdleTimedOutDisabled, FxIdleTimedOutEnabled, FxIdleCancelTimer, FxIdleWaitForTimeout,
  FxIdleTimerExpired, FxIdleDisabling, FxIdleDisablingWaitForTimeout, FxIdleDisablingTimerExpired,
  FxIdlePowerFailedWaitForTimeout, FxIdlePowerFailed, FxIdleMax
}
 
enum  FxPowerIdleFlags {
  FxPowerIdleTimerEnabled = 0x01, FxPowerIdleInDx = 0x02, FxPowerIdleTimerCanceled = 0x04, FxPowerIdleTimerStarted = 0x08,
  FxPowerIdlePowerFailed = 0x10, FxPowerIdleIsStarted = 0x20, FxPowerIdleIoPresentSent = 0x40, FxPowerIdleSendPnpPowerUpEvent = 0x80
}
 
enum  FxPowerReferenceFlags { FxPowerReferenceDefault = 0x0, FxPowerReferenceSendPnpPowerUpEvent = 0x1 }
 

Variables

const UCHAR FxPowerIdleEventQueueDepth = 8
 

Typedef Documentation

◆ PFN_POWER_IDLE_STATE_ENTRY_FUNCTION

typedef FxPowerIdleStates(* PFN_POWER_IDLE_STATE_ENTRY_FUNCTION) (FxPowerIdleMachine *)

Definition at line 94 of file fxpoweridlestatemachine.hpp.

Enumeration Type Documentation

◆ FxPowerIdleEvents

Enumerator
PowerIdleEventPowerUpFailed 
PowerIdleEventPowerUpComplete 
PowerIdleEventPowerDown 
PowerIdleEventPowerDownFailed 
PowerIdleEventTimerExpired 
PowerIdleEventEnabled 
PowerIdleEventDisabled 
PowerIdleEventIoDecrement 
PowerIdleEventIoIncrement 
PowerIdleEventStart 
PowerIdleEventStop 
PowerIdleNull 

Definition at line 14 of file fxpoweridlestatemachine.hpp.

◆ FxPowerIdleFlags

Enumerator
FxPowerIdleTimerEnabled 
FxPowerIdleInDx 
FxPowerIdleTimerCanceled 
FxPowerIdleTimerStarted 
FxPowerIdlePowerFailed 
FxPowerIdleIsStarted 
FxPowerIdleIoPresentSent 
FxPowerIdleSendPnpPowerUpEvent 

Definition at line 76 of file fxpoweridlestatemachine.hpp.

◆ FxPowerIdleStates

Enumerator
FxIdleStopped 
FxIdleStarted 
FxIdleStartedPowerUp 
FxIdleStartedPowerFailed 
FxIdleDisabled 
FxIdleCheckIoCount 
FxIdleBusy 
FxIdleDecrementIo 
FxIdleStartTimer 
FxIdleTimerRunning 
FxIdleTimingOut 
FxIdleTimedOut 
FxIdleTimedOutIoIncrement 
FxIdleTimedOutPowerDown 
FxIdleTimedOutPowerDownFailed 
FxIdleGoingToDx 
FxIdleInDx 
FxIdleInDxIoIncrement 
FxIdleInDxPowerUpFailure 
FxIdleInDxStopped 
FxIdleInDxDisabled 
FxIdleInDxEnabled 
FxIdlePowerUp 
FxIdlePowerUpComplete 
FxIdleTimedOutDisabled 
FxIdleTimedOutEnabled 
FxIdleCancelTimer 
FxIdleWaitForTimeout 
FxIdleTimerExpired 
FxIdleDisabling 
FxIdleDisablingWaitForTimeout 
FxIdleDisablingTimerExpired 
FxIdlePowerFailedWaitForTimeout 
FxIdlePowerFailed 
FxIdleMax 

Definition at line 34 of file fxpoweridlestatemachine.hpp.

34  {
35  FxIdleStopped = 1,
41  FxIdleBusy,
51  FxIdleInDx,
69  FxIdleMax,
70 };

◆ FxPowerReferenceFlags

Enumerator
FxPowerReferenceDefault 
FxPowerReferenceSendPnpPowerUpEvent 

Definition at line 87 of file fxpoweridlestatemachine.hpp.

Variable Documentation

◆ FxPowerIdleEventQueueDepth

const UCHAR FxPowerIdleEventQueueDepth = 8

Definition at line 12 of file fxpoweridlestatemachine.hpp.