Lines Matching defs: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 = AcpiHwClearGpe (GpeEventInfo);
253 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);
262 * PARAMETERS: GpeEventInfo - GPE to be blocked/unblocked
273 ACPI_GPE_EVENT_INFO *GpeEventInfo,
283 GpeRegisterInfo = GpeEventInfo->RegisterInfo;
289 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo);
300 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
311 if (GpeEventInfo->RuntimeCount &&
312 !GpeEventInfo->DisableForDispatch)
314 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE);
326 * PARAMETERS: GpeEventInfo - Add a reference to this GPE
337 ACPI_GPE_EVENT_INFO *GpeEventInfo)
345 if (GpeEventInfo->RuntimeCount == ACPI_UINT8_MAX)
350 GpeEventInfo->RuntimeCount++;
351 if (GpeEventInfo->RuntimeCount == 1)
355 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
358 Status = AcpiEvEnableGpe (GpeEventInfo);
363 GpeEventInfo->RuntimeCount--;
375 * PARAMETERS: GpeEventInfo - Remove a reference to this GPE
386 ACPI_GPE_EVENT_INFO *GpeEventInfo)
394 if (!GpeEventInfo->RuntimeCount)
399 GpeEventInfo->RuntimeCount--;
400 if (!GpeEventInfo->RuntimeCount)
404 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo);
407 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
412 GpeEventInfo->RuntimeCount++;
549 ACPI_GPE_EVENT_INFO *GpeEventInfo;
652 GpeEventInfo = &GpeBlock->EventInfo[((ACPI_SIZE) i *
670 if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags) ==
675 GpeHandlerInfo = GpeEventInfo->Dispatch.Handler;
699 GpeEventInfo, GpeNumber);
719 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
735 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
746 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
760 Notify = GpeEventInfo->Dispatch.NotifyList;
785 Info->PrefixNode = GpeEventInfo->Dispatch.MethodNode;
796 AcpiUtGetNodeName (GpeEventInfo->Dispatch.MethodNode)));
808 AcpiEvAsynchEnableGpe, GpeEventInfo);
815 AcpiEvAsynchEnableGpe (GpeEventInfo);
824 * PARAMETERS: Context (GpeEventInfo) - Info for this GPE
838 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context;
843 (void) AcpiEvFinishGpe (GpeEventInfo);
854 * PARAMETERS: GpeEventInfo - Info for this GPE
865 ACPI_GPE_EVENT_INFO *GpeEventInfo)
870 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
877 Status = AcpiHwClearGpe (GpeEventInfo);
889 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
890 GpeEventInfo->DisableForDispatch = FALSE;
900 * GpeEventInfo - Info for this GPE
915 ACPI_GPE_EVENT_INFO *GpeEventInfo,
934 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE);
946 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) ==
949 Status = AcpiHwClearGpe (GpeEventInfo);
955 GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE);
960 GpeEventInfo->DisableForDispatch = TRUE;
969 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags))
975 ReturnValue = GpeEventInfo->Dispatch.Handler->Address (
977 GpeEventInfo->Dispatch.Handler->Context);
983 (void) AcpiEvFinishGpe (GpeEventInfo);
994 AcpiEvAsynchExecuteGpeMethod, GpeEventInfo);