44#define EXPORT_ACPI_INTERFACES
51#define _COMPONENT ACPI_EVENTS
55#if (!ACPI_REDUCED_HARDWARE)
95 if (AcpiGbl_AllGpesInitialized)
104 AcpiGbl_AllGpesInitialized =
TRUE;
110 if (IsPollingNeeded && AcpiGbl_AllGpesInitialized)
634 if (!GpeRegisterInfo)
1031 (!GpeBlockAddress) ||
1069 GpeBlockAddress->
SpaceId, RegisterCount,
1070 0, InterruptNumber, &GpeBlock);
1223 if (
Index >= AcpiCurrentGpeCount)
1233 Info.NextBlockBaseIndex = 0;
#define ACPI_GPE_IS_POLLING_NEEDED(__gpe__)
ACPI_GPE_EVENT_INFO * GpeEventInfo
ACPI_GPE_EVENT_INFO UINT32 GpeNumber
#define AE_ALREADY_EXISTS
#define ACPI_MTX_NAMESPACE
ACPI_OPERAND_OBJECT * AcpiNsGetAttachedObject(ACPI_NAMESPACE_NODE *Node)
ACPI_NAMESPACE_NODE * AcpiNsValidateHandle(ACPI_HANDLE Handle)
ACPI_STATUS AcpiNsAttachObject(ACPI_NAMESPACE_NODE *Node, ACPI_OPERAND_OBJECT *Object, ACPI_OBJECT_TYPE Type)
#define ACPI_MODULE_NAME(Name)
#define return_ACPI_STATUS(s)
#define ACPI_FUNCTION_TRACE(a)
#define ACPI_ERROR(plist)
void AcpiOsReleaseLock(ACPI_SPINLOCK Handle, ACPI_CPU_FLAGS Flags)
ACPI_CPU_FLAGS AcpiOsAcquireLock(ACPI_SPINLOCK Handle)
#define ACPI_GPE_LEVEL_TRIGGERED
#define ACPI_SET_BIT(target, bit)
#define ACPI_GPE_DISPATCH_NONE
#define ACPI_GPE_AUTO_ENABLED
#define ACPI_GPE_DISPATCH_TYPE(flags)
#define ACPI_GPE_CAN_WAKE
#define ACPI_GPE_DISPATCH_NOTIFY
#define ACPI_CAST_PTR(t, p)
#define ACPI_EXPORT_SYMBOL(Symbol)
#define ACPI_ALLOCATE_ZEROED(a)
#define ACPI_CLEAR_BIT(target, bit)
#define AcpiUtCreateInternalObject(t)
ACPI_STATUS AcpiUtAcquireMutex(ACPI_MUTEX_HANDLE MutexId)
ACPI_STATUS AcpiUtReleaseMutex(ACPI_MUTEX_HANDLE MutexId)
void AcpiUtRemoveReference(ACPI_OPERAND_OBJECT *Object)
BOOL WINAPI SHIM_OBJ_NAME() Notify(DWORD fdwReason, PVOID ptr)
ACPI_STATUS AcpiEvFinishGpe(ACPI_GPE_EVENT_INFO *GpeEventInfo)
ACPI_GPE_EVENT_INFO * AcpiEvGetGpeEventInfo(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
UINT32 AcpiEvGpeDetect(ACPI_GPE_XRUPT_INFO *GpeXruptList)
ACPI_STATUS AcpiEvMaskGpe(ACPI_GPE_EVENT_INFO *GpeEventInfo, BOOLEAN IsMasked)
UINT32 AcpiEvDetectGpe(ACPI_NAMESPACE_NODE *GpeDevice, ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 GpeNumber)
ACPI_STATUS AcpiEvRemoveGpeReference(ACPI_GPE_EVENT_INFO *GpeEventInfo)
ACPI_STATUS AcpiEvAddGpeReference(ACPI_GPE_EVENT_INFO *GpeEventInfo, BOOLEAN ClearOnEnable)
ACPI_STATUS AcpiEvInitializeGpeBlock(ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context)
ACPI_STATUS AcpiEvDeleteGpeBlock(ACPI_GPE_BLOCK_INFO *GpeBlock)
ACPI_STATUS AcpiEvCreateGpeBlock(ACPI_NAMESPACE_NODE *GpeDevice, UINT64 Address, UINT8 SpaceId, UINT32 RegisterCount, UINT16 GpeBlockBaseNumber, UINT32 InterruptNumber, ACPI_GPE_BLOCK_INFO **ReturnGpeBlock)
ACPI_STATUS AcpiEvWalkGpeList(ACPI_GPE_CALLBACK GpeWalkCallback, void *Context)
ACPI_STATUS AcpiEvGetGpeDevice(ACPI_GPE_XRUPT_INFO *GpeXruptInfo, ACPI_GPE_BLOCK_INFO *GpeBlock, void *Context)
ACPI_STATUS AcpiClearGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiUpdateAllGpes(void)
UINT32 AcpiAnyGpeStatusSet(void)
UINT32 AcpiDispatchGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiMarkGpeForWake(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiEnableGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiEnableAllRuntimeGpes(void)
ACPI_STATUS AcpiDisableGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiDisableAllGpes(void)
ACPI_STATUS AcpiMaskGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber, BOOLEAN IsMasked)
ACPI_STATUS AcpiGetGpeDevice(UINT32 Index, ACPI_HANDLE *GpeDevice)
ACPI_STATUS AcpiSetGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber, UINT8 Action)
ACPI_STATUS AcpiInstallGpeBlock(ACPI_HANDLE GpeDevice, ACPI_GENERIC_ADDRESS *GpeBlockAddress, UINT32 RegisterCount, UINT32 InterruptNumber)
ACPI_STATUS AcpiSetGpeWakeMask(ACPI_HANDLE GpeDevice, UINT32 GpeNumber, UINT8 Action)
ACPI_STATUS AcpiGetGpeStatus(ACPI_HANDLE GpeDevice, UINT32 GpeNumber, ACPI_EVENT_STATUS *EventStatus)
ACPI_STATUS AcpiSetupGpeForWake(ACPI_HANDLE WakeDevice, ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
ACPI_STATUS AcpiEnableAllWakeupGpes(void)
ACPI_STATUS AcpiRemoveGpeBlock(ACPI_HANDLE GpeDevice)
ACPI_STATUS AcpiFinishGpe(ACPI_HANDLE GpeDevice, UINT32 GpeNumber)
UINT32 AcpiHwGetGpeRegisterBit(ACPI_GPE_EVENT_INFO *GpeEventInfo)
ACPI_STATUS AcpiHwClearGpe(ACPI_GPE_EVENT_INFO *GpeEventInfo)
ACPI_STATUS AcpiHwEnableAllWakeupGpes(void)
ACPI_STATUS AcpiHwLowSetGpe(ACPI_GPE_EVENT_INFO *GpeEventInfo, UINT32 Action)
ACPI_STATUS AcpiHwDisableAllGpes(void)
UINT8 AcpiHwCheckAllGpes(void)
ACPI_STATUS AcpiHwEnableAllRuntimeGpes(void)
ACPI_STATUS AcpiHwGetGpeStatus(ACPI_GPE_EVENT_INFO *GpeEventInfo, ACPI_EVENT_STATUS *EventStatus)
struct acpi_gpe_register_info * RegisterInfo
union acpi_gpe_dispatch_info Dispatch
BOOLEAN DisableForDispatch
struct acpi_gpe_notify_info * Next
ACPI_NAMESPACE_NODE * DeviceNode
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_NOTIFY_INFO ACPI_GPE_BLOCK_INFO * GpeBlock
ACPI_GPE_NOTIFY_INFO * NotifyList
ACPI_OBJECT_DEVICE Device
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDFIOTARGET _In_ _Strict_type_match_ WDF_IO_TARGET_SENT_IO_ACTION Action
_Must_inspect_result_ _In_ ULONG Flags