ReactOS  0.4.15-dev-3456-g4a17d4b
powerpolicystatemachinekm.cpp File Reference
#include "../pnppriv.hpp"
#include "fxusbidleinfo.hpp"
Include dependency graph for powerpolicystatemachinekm.cpp:

Go to the source code of this file.

Functions

 __drv_maxIRQL (PASSIVE_LEVEL) VOID FxUsbIdleInfo
 

Function Documentation

◆ __drv_maxIRQL()

__drv_maxIRQL ( PASSIVE_LEVEL  )

Definition at line 204 of file powerpolicystatemachinekm.cpp.

209 {
210  FxPkgPnp* pPkgPnp;
211  FxUsbIdleInfo* pThis;
213 
214  pPkgPnp = (FxPkgPnp*) Context;
215 
218  "Entering USB Selective Suspend Idle callback");
219 
221 
222  ASSERT(pThis->m_IdleCallbackEvent == NULL);
223  pThis->m_IdleCallbackEvent = event.GetSelfPointer();
224 
226 
227  event.EnterCRAndWaitAndLeave();
228  pThis->m_IdleCallbackEvent = NULL;
229 
232  "Leaving USB Selective Suspend Idle callback");
233 }
FxPowerPolicyMachine m_PowerPolicyMachine
Definition: fxpkgpnp.hpp:4153
#define TRACE_LEVEL_VERBOSE
Definition: storswtr.h:30
FxPkgPnp * pPkgPnp
FxPowerPolicyOwnerSettings * m_Owner
#define ASSERT(a)
Definition: mode.c:44
VOID PowerPolicyProcessEvent(__in FxPowerPolicyEvent Event, __in BOOLEAN ProcessEventOnDifferentThread=FALSE)
struct _cl_event * event
Definition: glext.h:7739
#define TRACINGPNP
Definition: dbgtrace.h:67
__inline PFX_DRIVER_GLOBALS GetDriverGlobals(VOID)
Definition: fxobject.hpp:734
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define NULL
Definition: types.h:112