Lines Matching refs:GpeEventInfo

69  * PARAMETERS:  GpeEventInfo            - GPE to update
80 ACPI_GPE_EVENT_INFO *GpeEventInfo)
89 GpeRegisterInfo = GpeEventInfo->RegisterInfo;
95 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo);
103 if (GpeEventInfo->RuntimeCount)
117 * PARAMETERS: GpeEventInfo - GPE to enable
127 ACPI_GPE_EVENT_INFO *GpeEventInfo)
137 Status = AcpiHwClearGpe (GpeEventInfo);
145 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);
154 * PARAMETERS: GpeEventInfo - Add a reference to this GPE
165 ACPI_GPE_EVENT_INFO *GpeEventInfo)
173 if (GpeEventInfo->RuntimeCount == ACPI_UINT8_MAX)
178 GpeEventInfo->RuntimeCount++;
179 if (GpeEventInfo->RuntimeCount == 1)
183 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
186 Status = AcpiEvEnableGpe (GpeEventInfo);
191 GpeEventInfo->RuntimeCount--;
203 * PARAMETERS: GpeEventInfo - Remove a reference to this GPE
214 ACPI_GPE_EVENT_INFO *GpeEventInfo)
222 if (!GpeEventInfo->RuntimeCount)
227 GpeEventInfo->RuntimeCount--;
228 if (!GpeEventInfo->RuntimeCount)
232 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
235 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
240 GpeEventInfo->RuntimeCount++;
377 ACPI_GPE_EVENT_INFO *GpeEventInfo;
480 GpeEventInfo = &GpeBlock->EventInfo[((ACPI_SIZE) i *
498 if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags) ==
503 GpeHandlerInfo = GpeEventInfo->Dispatch.Handler;
527 GpeEventInfo, GpeNumber);
547 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
563 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
574 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
588 Notify = GpeEventInfo->Dispatch.NotifyList;
613 Info->PrefixNode = GpeEventInfo->Dispatch.MethodNode;
624 AcpiUtGetNodeName (GpeEventInfo->Dispatch.MethodNode)));
636 AcpiEvAsynchEnableGpe, GpeEventInfo);
643 AcpiEvAsynchEnableGpe (GpeEventInfo);
652 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
666 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
671 (void) AcpiEvFinishGpe (GpeEventInfo);
682 * PARAMETERS: GpeEventInfo - Info for this GPE
693 ACPI_GPE_EVENT_INFO *GpeEventInfo)
698 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
705 Status = AcpiHwClearGpe (GpeEventInfo);
717 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
727 * GpeEventInfo - Info for this GPE
742 ACPI_GPE_EVENT_INFO *GpeEventInfo,
761 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
773 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
776 Status = AcpiHwClearGpe (GpeEventInfo);
782 GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
794 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
800 ReturnValue = GpeEventInfo->Dispatch.Handler->Address (
802 GpeEventInfo->Dispatch.Handler->Context);
808 (void) AcpiEvFinishGpe (GpeEventInfo);
819 AcpiEvAsynchExecuteGpeMethod, GpeEventInfo);