blob: 584265edde5695dd30e80f9027c0142327f068ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* SPDX-License-Identifier: GPL-2.0-only */
#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_fetch_pm_state(const struct chipset_power_state **ps,
enum power_state_claimer ps_claimer);
#endif
|