10#if defined(EVENT_TRACING)
11#include "PoxInterfaceKm.tmh"
31 "WDFDEVICE 0x%p !devobj 0x%p PO_FX_COMPONENT_IDLE_STATE_CALLBACK "
46 if ((
NULL != poxSettings) &&
53 "WDFDEVICE 0x%p !devobj 0x%p Invoking client driver's "
54 "PO_FX_COMPONENT_IDLE_STATE_CALLBACK.",
83 "WDFDEVICE 0x%p !devobj 0x%p PO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK "
98 if ((
NULL != poxSettings) &&
105 "WDFDEVICE 0x%p !devobj 0x%p Invoking client driver's "
106 "PO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK.",
140 "WDFDEVICE 0x%p !devobj 0x%p PO_FX_COMPONENT_IDLE_CONDITION_CALLBACK "
155 if ((
NULL != poxSettings) &&
162 "WDFDEVICE 0x%p !devobj 0x%p Invoking client driver's "
163 "PO_FX_COMPONENT_IDLE_CONDITION_CALLBACK.",
204 PoFxCompleteDevicePowerNotRequired(pThis->
m_PoHandle);
231 "WDFDEVICE 0x%p !devobj 0x%p PO_FX_POWER_CONTROL_CALLBACK invoked.",
263 "WDFDEVICE 0x%p !devobj 0x%p Client driver's "
264 "PO_FX_POWER_CONTROL_CALLBACK returned %!STATUS!.",
336 poxDevice.Components[0].IdleStateCount = 1;
356 poxDevice.Components[0].IdleStates = &idleState;
364 sizeof(poxDevice.Components[0]));
370 status = PoFxRegisterDevice(
379 "WDFDEVICE 0x%p !devobj 0x%p FxPox::PoxRegisterDevice failed. "
458 PoFxSetDeviceIdleTimeout(
m_PoHandle, IdleTimeout);
MdDeviceObject __inline GetPhysicalDevice(VOID)
WDFDEVICE __inline GetHandle(VOID)
MdDeviceObject __inline GetDeviceObject(VOID)
__inline PFX_DRIVER_GLOBALS GetDriverGlobals(VOID)
__inline CfxDevice * GetDevice(VOID)
VOID PoxActivateComponent(VOID)
VOID PoxReportDevicePoweredOn(VOID)
struct _POX_SETTINGS * GetPowerFrameworkSettings(VOID)
VOID PowerRequiredCallbackWorker(__in BOOLEAN InvokedFromPoxCallback)
static PO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK ComponentActiveCallback
static PO_FX_COMPONENT_IDLE_CONDITION_CALLBACK ComponentIdleCallback
VOID PoxStartDevicePowerManagement(VOID)
VOID PoxIdleComponent(VOID)
static PO_FX_COMPONENT_IDLE_STATE_CALLBACK StateCallback
VOID PowerNotRequiredCallbackWorker(__in BOOLEAN InvokedFromPoxCallback)
static PO_FX_DEVICE_POWER_REQUIRED_CALLBACK PowerRequiredCallback
VOID PoxUnregisterDevice(VOID)
NTSTATUS PoxRegisterDevice(VOID)
static PO_FX_POWER_CONTROL_CALLBACK PowerControlCallback
VOID PoxSetDeviceIdleTimeout(__in ULONGLONG IdleTimeout)
static PO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK PowerNotRequiredCallback
#define NT_SUCCESS(StatCode)
#define _IRQL_requires_max_(irql)
DoTraceLevelMessage(pFxDriverGlobals, TRACE_LEVEL_VERBOSE, TRACINGPNP, "Enter, WDFDEVICE %p", Device)
#define _Function_class_(x)
#define _In_reads_bytes_opt_(size)
#define _Out_writes_bytes_opt_(size)
_In_ UCHAR _In_ ULONG _Out_ PUCHAR _Outptr_result_bytebuffer_ OutBufferLength PVOID * OutBuffer
#define TRACE_LEVEL_VERBOSE
#define TRACE_LEVEL_ERROR
PPO_FX_COMPONENT Component
PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK ComponentActiveConditionCallback
PPO_FX_COMPONENT_IDLE_STATE_CALLBACK ComponentIdleStateCallback
PPO_FX_POWER_CONTROL_CALLBACK PowerControlCallback
PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK ComponentIdleConditionCallback
ULONGLONG ResidencyRequirement
ULONGLONG TransitionLatency
PPO_FX_COMPONENT_IDLE_CONDITION_CALLBACK ComponentIdleConditionCallback
PPO_FX_COMPONENT_IDLE_STATE_CALLBACK ComponentIdleStateCallback
PPO_FX_DEVICE_POWER_NOT_REQUIRED_CALLBACK DevicePowerNotRequiredCallback
PPO_FX_COMPONENT_ACTIVE_CONDITION_CALLBACK ComponentActiveConditionCallback
PPO_FX_DEVICE_POWER_REQUIRED_CALLBACK DevicePowerRequiredCallback
PPO_FX_POWER_CONTROL_CALLBACK PowerControlCallback
#define RtlCopyMemory(Destination, Source, Length)
#define RtlZeroMemory(Destination, Length)
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_ ULONG _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_MEMORY_DESCRIPTOR _In_opt_ PWDF_REQUEST_SEND_OPTIONS _Out_opt_ PULONG_PTR BytesReturned
_In_ LPCGUID PowerControlCode