blob: a8178add7fd12f03ed0a541f2f8eb1567b5f5441 [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);
4
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -06005/* --------------------------------------------------------------------------
6 Power Resource
7 -------------------------------------------------------------------------- */
Bjorn Helgaas44515372009-03-24 16:49:53 -06008int acpi_power_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -06009int acpi_device_sleep_wake(struct acpi_device *dev,
10 int enable, int sleep_state, int dev_state);
11int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
12int acpi_disable_wakeup_device_power(struct acpi_device *dev);
13int acpi_power_get_inferred_state(struct acpi_device *device);
14int acpi_power_transition(struct acpi_device *device, int state);
15extern int acpi_power_nocheck;
16
17/* --------------------------------------------------------------------------
18 Embedded Controller
19 -------------------------------------------------------------------------- */
Bjorn Helgaasa5f820f2009-03-24 16:49:48 -060020int acpi_ec_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060021int acpi_ec_ecdt_probe(void);
22int acpi_boot_ec_enable(void);
23
24/*--------------------------------------------------------------------------
25 Suspend/Resume
26 -------------------------------------------------------------------------- */
27extern int acpi_sleep_init(void);