blob: 11a69b53004e0caed4a8228f60fd2a164da18cb5 [file] [log] [blame]
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -06001/* For use by Linux/ACPI infrastructure, not drivers */
2
Bjorn Helgaas0e465172009-03-24 16:50:09 -06003int init_acpi_device_notify(void);
Bjorn Helgaase747f272009-03-24 16:49:43 -06004int acpi_scan_init(void);
Bjorn Helgaas141a0af2009-03-24 16:49:58 -06005int acpi_system_init(void);
Bjorn Helgaase747f272009-03-24 16:49:43 -06006
Bjorn Helgaas84f810c2009-03-24 16:50:03 -06007#ifdef CONFIG_ACPI_DEBUG
8int acpi_debug_init(void);
9#else
10static inline int acpi_debug_init(void) { return 0; }
11#endif
12
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060013/* --------------------------------------------------------------------------
14 Power Resource
15 -------------------------------------------------------------------------- */
Bjorn Helgaas44515372009-03-24 16:49:53 -060016int acpi_power_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060017int acpi_device_sleep_wake(struct acpi_device *dev,
18 int enable, int sleep_state, int dev_state);
19int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state);
20int acpi_disable_wakeup_device_power(struct acpi_device *dev);
21int acpi_power_get_inferred_state(struct acpi_device *device);
22int acpi_power_transition(struct acpi_device *device, int state);
23extern int acpi_power_nocheck;
24
Bjorn Helgaas201b8c62009-03-24 16:50:19 -060025int acpi_wakeup_device_init(void);
26
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060027/* --------------------------------------------------------------------------
28 Embedded Controller
29 -------------------------------------------------------------------------- */
Bjorn Helgaasa5f820f2009-03-24 16:49:48 -060030int acpi_ec_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060031int acpi_ec_ecdt_probe(void);
32int acpi_boot_ec_enable(void);
33
34/*--------------------------------------------------------------------------
35 Suspend/Resume
36 -------------------------------------------------------------------------- */
37extern int acpi_sleep_init(void);
Bjorn Helgaas9cee43e2009-03-24 16:50:14 -060038
39#ifdef CONFIG_ACPI_SLEEP
40int acpi_sleep_proc_init(void);
41#else
42static inline int acpi_sleep_proc_init(void) { return 0; }
43#endif