summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/achware.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-11 17:52:32 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-02-11 23:26:15 +0100
commitea128834dd76f9a72a35d011c651fa96658f06a7 (patch)
tree45997758f4bd1eda7f0eb1dc6c4da03f586ff394 /drivers/acpi/acpica/achware.h
parente3728b50cd9be7d4b1469447cdf1feb93e3b7adb (diff)
downloadlinux-ea128834dd76f9a72a35d011c651fa96658f06a7.tar.bz2
ACPICA: Introduce acpi_any_gpe_status_set()
Introduce a new helper function, acpi_any_gpe_status_set(), for checking the status bits of all enabled GPEs in one go. It is needed to distinguish spurious SCIs from genuine ones when deciding whether or not to wake up the system from suspend-to-idle. Cc: 5.4+ <stable@vger.kernel.org> # 5.4+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/achware.h')
-rw-r--r--drivers/acpi/acpica/achware.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/achware.h b/drivers/acpi/acpica/achware.h
index 67f282e9e0af..6ad0517553d5 100644
--- a/drivers/acpi/acpica/achware.h
+++ b/drivers/acpi/acpica/achware.h
@@ -101,6 +101,8 @@ acpi_status acpi_hw_enable_all_runtime_gpes(void);
acpi_status acpi_hw_enable_all_wakeup_gpes(void);
+u8 acpi_hw_check_all_gpes(void);
+
acpi_status
acpi_hw_enable_runtime_gpe_block(struct acpi_gpe_xrupt_info *gpe_xrupt_info,
struct acpi_gpe_block_info *gpe_block,