Lines Matching refs:GpeEventInfo

177  * PARAMETERS:  GpeEventInfo            - GPE to update
188 ACPI_GPE_EVENT_INFO *GpeEventInfo)
197 GpeRegisterInfo = GpeEventInfo->RegisterInfo;
203 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo);
211 if (GpeEventInfo->RuntimeCount)
225 * PARAMETERS: GpeEventInfo - GPE to enable
235 ACPI_GPE_EVENT_INFO *GpeEventInfo)
245 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);
254 * PARAMETERS: GpeEventInfo - GPE to be blocked/unblocked
265 ACPI_GPE_EVENT_INFO *GpeEventInfo,
275 GpeRegisterInfo = GpeEventInfo->RegisterInfo;
281 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo);
292 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
303 if (GpeEventInfo->RuntimeCount &&
304 !GpeEventInfo->DisableForDispatch)
306 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);
318 * PARAMETERS: GpeEventInfo - Add a reference to this GPE
330 ACPI_GPE_EVENT_INFO *GpeEventInfo,
339 if (GpeEventInfo->RuntimeCount == ACPI_UINT8_MAX)
344 GpeEventInfo->RuntimeCount++;
345 if (GpeEventInfo->RuntimeCount == 1)
351 (void) AcpiHwClearGpe (GpeEventInfo);
354 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
357 Status = AcpiEvEnableGpe (GpeEventInfo);
362 GpeEventInfo->RuntimeCount--;
374 * PARAMETERS: GpeEventInfo - Remove a reference to this GPE
385 ACPI_GPE_EVENT_INFO *GpeEventInfo)
393 if (!GpeEventInfo->RuntimeCount)
398 GpeEventInfo->RuntimeCount--;
399 if (!GpeEventInfo->RuntimeCount)
403 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
406 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
411 GpeEventInfo->RuntimeCount++;
547 ACPI_GPE_EVENT_INFO *GpeEventInfo;
611 GpeEventInfo = &GpeBlock->EventInfo[((ACPI_SIZE) i *
616 GpeDevice, GpeEventInfo, GpeNumber);
633 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
649 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
660 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
674 Notify = GpeEventInfo->Dispatch.NotifyList;
699 Info->PrefixNode = GpeEventInfo->Dispatch.MethodNode;
710 AcpiUtGetNodeName (GpeEventInfo->Dispatch.MethodNode)));
722 AcpiEvAsynchEnableGpe, GpeEventInfo);
729 AcpiEvAsynchEnableGpe (GpeEventInfo);
738 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
752 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
757 (void) AcpiEvFinishGpe (GpeEventInfo);
768 * PARAMETERS: GpeEventInfo - Info for this GPE
779 ACPI_GPE_EVENT_INFO *GpeEventInfo)
784 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
791 Status = AcpiHwClearGpe (GpeEventInfo);
803 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
804 GpeEventInfo->DisableForDispatch = FALSE;
814 * GpeEventInfo - Info for this GPE
832 ACPI_GPE_EVENT_INFO *GpeEventInfo,
851 if (!GpeEventInfo)
853 GpeEventInfo = AcpiEvGetGpeEventInfo (GpeDevice, GpeNumber);
854 if (!GpeEventInfo)
862 GpeRegisterInfo = GpeEventInfo->RegisterInfo;
866 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo);
913 if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags) ==
918 GpeHandlerInfo = GpeEventInfo->Dispatch.Handler;
940 GpeEventInfo, GpeNumber);
954 * GpeEventInfo - Info for this GPE
967 ACPI_GPE_EVENT_INFO *GpeEventInfo,
986 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
998 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
1001 Status = AcpiHwClearGpe (GpeEventInfo);
1007 GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
1012 GpeEventInfo->DisableForDispatch = TRUE;
1021 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
1027 ReturnValue = GpeEventInfo->Dispatch.Handler->Address (
1029 GpeEventInfo->Dispatch.Handler->Context);
1035 (void) AcpiEvFinishGpe (GpeEventInfo);
1046 AcpiEvAsynchExecuteGpeMethod, GpeEventInfo);