ReactOS 0.4.16-dev-122-g325d74c
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 93 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.

14 {
15 // CAN BE REUSED = 0x0001,
21 PowerIdleEventEnabled = 0x0040,
25 PowerIdleEventStart = 0x0400,
26 PowerIdleEventStop = 0x0800,
27 PowerIdleNull = 0x0000,
28};
@ PowerIdleEventIoIncrement
@ PowerIdleEventPowerUpComplete
@ PowerIdleEventEnabled
@ PowerIdleEventPowerDown
@ PowerIdleEventPowerDownFailed
@ PowerIdleEventStop
@ PowerIdleEventTimerExpired
@ PowerIdleEventDisabled
@ PowerIdleEventStart
@ PowerIdleEventPowerUpFailed
@ PowerIdleEventIoDecrement

◆ FxPowerIdleFlags

Enumerator
FxPowerIdleTimerEnabled 
FxPowerIdleInDx 
FxPowerIdleTimerCanceled 
FxPowerIdleTimerStarted 
FxPowerIdlePowerFailed 
FxPowerIdleIsStarted 
FxPowerIdleIoPresentSent 
FxPowerIdleSendPnpPowerUpEvent 

Definition at line 76 of file fxpoweridlestatemachine.hpp.

76 {
78 FxPowerIdleInDx = 0x02,
85};
@ FxPowerIdleTimerCanceled
@ FxPowerIdleIsStarted
@ FxPowerIdlePowerFailed
@ FxPowerIdleSendPnpPowerUpEvent
@ FxPowerIdleTimerEnabled
@ FxPowerIdleTimerStarted
@ FxPowerIdleIoPresentSent

◆ 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,
70};
@ FxIdleCheckIoCount
@ FxIdleTimerRunning
@ FxIdleTimedOutEnabled
@ FxIdleDisablingWaitForTimeout
@ FxIdleInDxIoIncrement
@ FxIdleTimedOutIoIncrement
@ FxIdlePowerUpComplete
@ FxIdleTimedOutPowerDown
@ FxIdleDisablingTimerExpired
@ FxIdleTimerExpired
@ FxIdlePowerFailedWaitForTimeout
@ FxIdleInDxPowerUpFailure
@ FxIdleTimedOutPowerDownFailed
@ FxIdleStartedPowerUp
@ FxIdleTimedOutDisabled
@ FxIdleInDxDisabled
@ FxIdleStartedPowerFailed
@ FxIdleWaitForTimeout

◆ FxPowerReferenceFlags

Enumerator
FxPowerReferenceDefault 
FxPowerReferenceSendPnpPowerUpEvent 

Definition at line 87 of file fxpoweridlestatemachine.hpp.

87 {
90};
@ FxPowerReferenceDefault
@ FxPowerReferenceSendPnpPowerUpEvent

Variable Documentation

◆ FxPowerIdleEventQueueDepth

const UCHAR FxPowerIdleEventQueueDepth = 8

Definition at line 12 of file fxpoweridlestatemachine.hpp.