diff options
Diffstat (limited to 'src/include/acpi/acpi_pm.h')
-rw-r--r-- | src/include/acpi/acpi_pm.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/include/acpi/acpi_pm.h b/src/include/acpi/acpi_pm.h index 48342a3ac8..584265edde 100644 --- a/src/include/acpi/acpi_pm.h +++ b/src/include/acpi/acpi_pm.h @@ -3,10 +3,16 @@ #ifndef ACPI_PM_H #define ACPI_PM_H +enum power_state_claimer { + PS_CLAIMER_ELOG, + PS_CLAIMER_RTC, + PS_CLAIMER_WAKE, + PS_CLAIMER_MAX /* Not a valid value, needs to be last element */ +}; + struct chipset_power_state; struct chipset_power_state *acpi_get_pm_state(void); -int acpi_pm_state_for_elog(const struct chipset_power_state **ps); -int acpi_pm_state_for_rtc(const struct chipset_power_state **ps); -int acpi_pm_state_for_wake(const struct chipset_power_state **ps); +int acpi_fetch_pm_state(const struct chipset_power_state **ps, + enum power_state_claimer ps_claimer); #endif |