Lines Matching refs:GpeEventInfo
188 ACPI_GPE_EVENT_INFO *GpeEventInfo) in AcpiEvUpdateGpeEnableMask() argument
197 GpeRegisterInfo = GpeEventInfo->RegisterInfo; in AcpiEvUpdateGpeEnableMask()
203 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo); in AcpiEvUpdateGpeEnableMask()
211 if (GpeEventInfo->RuntimeCount) in AcpiEvUpdateGpeEnableMask()
235 ACPI_GPE_EVENT_INFO *GpeEventInfo) in AcpiEvEnableGpe() argument
245 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE); in AcpiEvEnableGpe()
265 ACPI_GPE_EVENT_INFO *GpeEventInfo, in AcpiEvMaskGpe() argument
275 GpeRegisterInfo = GpeEventInfo->RegisterInfo; in AcpiEvMaskGpe()
281 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo); in AcpiEvMaskGpe()
292 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE); in AcpiEvMaskGpe()
303 if (GpeEventInfo->RuntimeCount && in AcpiEvMaskGpe()
304 !GpeEventInfo->DisableForDispatch) in AcpiEvMaskGpe()
306 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_ENABLE); in AcpiEvMaskGpe()
330 ACPI_GPE_EVENT_INFO *GpeEventInfo, in AcpiEvAddGpeReference() argument
339 if (GpeEventInfo->RuntimeCount == ACPI_UINT8_MAX) in AcpiEvAddGpeReference()
344 GpeEventInfo->RuntimeCount++; in AcpiEvAddGpeReference()
345 if (GpeEventInfo->RuntimeCount == 1) in AcpiEvAddGpeReference()
351 (void) AcpiHwClearGpe (GpeEventInfo); in AcpiEvAddGpeReference()
354 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo); in AcpiEvAddGpeReference()
357 Status = AcpiEvEnableGpe (GpeEventInfo); in AcpiEvAddGpeReference()
362 GpeEventInfo->RuntimeCount--; in AcpiEvAddGpeReference()
385 ACPI_GPE_EVENT_INFO *GpeEventInfo) in AcpiEvRemoveGpeReference() argument
393 if (!GpeEventInfo->RuntimeCount) in AcpiEvRemoveGpeReference()
398 GpeEventInfo->RuntimeCount--; in AcpiEvRemoveGpeReference()
399 if (!GpeEventInfo->RuntimeCount) in AcpiEvRemoveGpeReference()
403 Status = AcpiEvUpdateGpeEnableMask (GpeEventInfo); in AcpiEvRemoveGpeReference()
406 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE); in AcpiEvRemoveGpeReference()
411 GpeEventInfo->RuntimeCount++; in AcpiEvRemoveGpeReference()
547 ACPI_GPE_EVENT_INFO *GpeEventInfo; in AcpiEvGpeDetect() local
611 GpeEventInfo = &GpeBlock->EventInfo[((ACPI_SIZE) i * in AcpiEvGpeDetect()
616 GpeDevice, GpeEventInfo, GpeNumber); in AcpiEvGpeDetect()
649 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context; in AcpiEvAsynchExecuteGpeMethod() local
660 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags)) in AcpiEvAsynchExecuteGpeMethod()
674 Notify = GpeEventInfo->Dispatch.NotifyList; in AcpiEvAsynchExecuteGpeMethod()
699 Info->PrefixNode = GpeEventInfo->Dispatch.MethodNode; in AcpiEvAsynchExecuteGpeMethod()
710 AcpiUtGetNodeName (GpeEventInfo->Dispatch.MethodNode))); in AcpiEvAsynchExecuteGpeMethod()
722 AcpiEvAsynchEnableGpe, GpeEventInfo); in AcpiEvAsynchExecuteGpeMethod()
729 AcpiEvAsynchEnableGpe (GpeEventInfo); in AcpiEvAsynchExecuteGpeMethod()
752 ACPI_GPE_EVENT_INFO *GpeEventInfo = Context; in AcpiEvAsynchEnableGpe() local
757 (void) AcpiEvFinishGpe (GpeEventInfo); in AcpiEvAsynchEnableGpe()
779 ACPI_GPE_EVENT_INFO *GpeEventInfo) in AcpiEvFinishGpe() argument
784 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) == in AcpiEvFinishGpe()
791 Status = AcpiHwClearGpe (GpeEventInfo); in AcpiEvFinishGpe()
803 (void) AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE); in AcpiEvFinishGpe()
804 GpeEventInfo->DisableForDispatch = FALSE; in AcpiEvFinishGpe()
832 ACPI_GPE_EVENT_INFO *GpeEventInfo, in AcpiEvDetectGpe() argument
851 if (!GpeEventInfo) in AcpiEvDetectGpe()
853 GpeEventInfo = AcpiEvGetGpeEventInfo (GpeDevice, GpeNumber); in AcpiEvDetectGpe()
854 if (!GpeEventInfo) in AcpiEvDetectGpe()
862 GpeRegisterInfo = GpeEventInfo->RegisterInfo; in AcpiEvDetectGpe()
866 RegisterBit = AcpiHwGetGpeRegisterBit (GpeEventInfo); in AcpiEvDetectGpe()
913 if (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags) == in AcpiEvDetectGpe()
918 GpeHandlerInfo = GpeEventInfo->Dispatch.Handler; in AcpiEvDetectGpe()
940 GpeEventInfo, GpeNumber); in AcpiEvDetectGpe()
967 ACPI_GPE_EVENT_INFO *GpeEventInfo, in AcpiEvGpeDispatch() argument
986 Status = AcpiHwLowSetGpe (GpeEventInfo, ACPI_GPE_DISABLE); in AcpiEvGpeDispatch()
998 if ((GpeEventInfo->Flags & ACPI_GPE_XRUPT_TYPE_MASK) == in AcpiEvGpeDispatch()
1001 Status = AcpiHwClearGpe (GpeEventInfo); in AcpiEvGpeDispatch()
1007 GpeEventInfo, ACPI_GPE_CONDITIONAL_ENABLE); in AcpiEvGpeDispatch()
1012 GpeEventInfo->DisableForDispatch = TRUE; in AcpiEvGpeDispatch()
1021 switch (ACPI_GPE_DISPATCH_TYPE (GpeEventInfo->Flags)) in AcpiEvGpeDispatch()
1027 ReturnValue = GpeEventInfo->Dispatch.Handler->Address ( in AcpiEvGpeDispatch()
1029 GpeEventInfo->Dispatch.Handler->Context); in AcpiEvGpeDispatch()
1035 (void) AcpiEvFinishGpe (GpeEventInfo); in AcpiEvGpeDispatch()
1046 AcpiEvAsynchExecuteGpeMethod, GpeEventInfo); in AcpiEvGpeDispatch()