ReactOS 0.4.15-dev-8417-gb6b82fe
fxdevicepwrreqstatemachine.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  FxDevicePwrRequirementTargetState
 
union  FxDevicePwrRequirementMachineStateHistory
 
struct  FxDevicePwrRequirementStateTable
 
class  FxDevicePwrRequirementMachine
 

Typedefs

typedef _Must_inspect_result_ FxDevicePwrRequirementStates(* PFN_DEVICE_POWER_REQUIREMENT_STATE_ENTRY_FUNCTION) (__in FxDevicePwrRequirementMachine *This)
 

Enumerations

enum  FxDevicePwrRequirementEvents {
  DprEventInvalid = 0x00 , DprEventRegisteredWithPox = 0x01 , DprEventUnregisteredWithPox = 0x02 , DprEventPoxRequiresPower = 0x04 ,
  DprEventPoxDoesNotRequirePower = 0x08 , DprEventDeviceGoingToDx = 0x10 , DprEventDeviceReturnedToD0 = 0x20 , DprEventNull = 0xFF
}
 
enum  FxDevicePwrRequirementStates {
  DprInvalid = 0 , DprUnregistered , DprDevicePowerRequiredD0 , DprDevicePowerNotRequiredD0 ,
  DprDevicePowerNotRequiredDx , DprDevicePowerRequiredDx , DprReportingDevicePowerAvailable , DprWaitingForDevicePowerRequiredD0 ,
  DprMax
}
 

Variables

const UCHAR FxDevicePwrRequirementEventQueueDepth = 8
 

Typedef Documentation

◆ PFN_DEVICE_POWER_REQUIREMENT_STATE_ENTRY_FUNCTION

typedef _Must_inspect_result_ FxDevicePwrRequirementStates(* PFN_DEVICE_POWER_REQUIREMENT_STATE_ENTRY_FUNCTION) (__in FxDevicePwrRequirementMachine *This)

Definition at line 45 of file fxdevicepwrreqstatemachine.hpp.

Enumeration Type Documentation

◆ FxDevicePwrRequirementEvents

Enumerator
DprEventInvalid 
DprEventRegisteredWithPox 
DprEventUnregisteredWithPox 
DprEventPoxRequiresPower 
DprEventPoxDoesNotRequirePower 
DprEventDeviceGoingToDx 
DprEventDeviceReturnedToD0 
DprEventNull 

Definition at line 14 of file fxdevicepwrreqstatemachine.hpp.

◆ FxDevicePwrRequirementStates

Enumerator
DprInvalid 
DprUnregistered 
DprDevicePowerRequiredD0 
DprDevicePowerNotRequiredD0 
DprDevicePowerNotRequiredDx 
DprDevicePowerRequiredDx 
DprReportingDevicePowerAvailable 
DprWaitingForDevicePowerRequiredD0 
DprMax 

Definition at line 25 of file fxdevicepwrreqstatemachine.hpp.

Variable Documentation

◆ FxDevicePwrRequirementEventQueueDepth

const UCHAR FxDevicePwrRequirementEventQueueDepth = 8

Definition at line 12 of file fxdevicepwrreqstatemachine.hpp.