blob: 4a35f6e819d35010ff79172c0dd6afea31af5f28 [file] [log] [blame]
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -06001/* For use by Linux/ACPI infrastructure, not drivers */
2
Bjorn Helgaase747f272009-03-24 16:49:43 -06003int acpi_scan_init(void);
Bjorn Helgaas141a0af2009-03-24 16:49:58 -06004int acpi_system_init(void);
Bjorn Helgaase747f272009-03-24 16:49:43 -06005
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -06006/* --------------------------------------------------------------------------
7 Power Resource
8 -------------------------------------------------------------------------- */
Bjorn Helgaas44515372009-03-24 16:49:53 -06009int acpi_power_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060010int acpi_device_sleep_wake(struct acpi_device *dev,
11 int enable, int sleep_state, int dev_state);
12int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
13int acpi_disable_wakeup_device_power(struct acpi_device *dev);
14int acpi_power_get_inferred_state(struct acpi_device *device);
15int acpi_power_transition(struct acpi_device *device, int state);
16extern int acpi_power_nocheck;
17
18/* --------------------------------------------------------------------------
19 Embedded Controller
20 -------------------------------------------------------------------------- */
Bjorn Helgaasa5f820f2009-03-24 16:49:48 -060021int acpi_ec_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060022int acpi_ec_ecdt_probe(void);
23int acpi_boot_ec_enable(void);
24
25/*--------------------------------------------------------------------------
26 Suspend/Resume
27 -------------------------------------------------------------------------- */
28extern int acpi_sleep_init(void);