summaryrefslogtreecommitdiffstats
path: root/include/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-30 02:25:42 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-30 21:04:47 +0200
commite0fa975d85b2ec300b3d69f08bc4933f79316651 (patch)
treea6db7c3de5d129fff7209ab5e211a150002e13d5 /include/acpi
parent5a0b8deeeb19906b24a48d0078aa6b64dc0b4dab (diff)
downloadblackbird-op-linux-e0fa975d85b2ec300b3d69f08bc4933f79316651.tar.gz
blackbird-op-linux-e0fa975d85b2ec300b3d69f08bc4933f79316651.zip
ACPICA: Introduce acpi_enable_all_wakeup_gpes()
Add a routine for host OSes to enable all wakeup GPEs and disable all of the non-wakeup ones at the same time. It will be used for the handling of GPE wakeup from suspend-to-idle in Linux. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
-rw-r--r--include/acpi/acpixf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h
index dc9d037d3055..9fc1d71c82bc 100644
--- a/include/acpi/acpixf.h
+++ b/include/acpi/acpixf.h
@@ -692,6 +692,7 @@ ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
*event_status))
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_disable_all_gpes(void))
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enable_all_runtime_gpes(void))
+ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status acpi_enable_all_wakeup_gpes(void))
ACPI_HW_DEPENDENT_RETURN_STATUS(acpi_status
acpi_get_gpe_device(u32 gpe_index,
OpenPOWER on IntegriCloud