blob: 8870e5fd84942dc5d0f59d8c80d192554ebbff67 [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
25/* --------------------------------------------------------------------------
26 Embedded Controller
27 -------------------------------------------------------------------------- */
Bjorn Helgaasa5f820f2009-03-24 16:49:48 -060028int acpi_ec_init(void);
Bjorn Helgaase60cc7a2009-03-13 12:08:26 -060029int acpi_ec_ecdt_probe(void);
30int acpi_boot_ec_enable(void);
31
32/*--------------------------------------------------------------------------
33 Suspend/Resume
34 -------------------------------------------------------------------------- */
35extern int acpi_sleep_init(void);
Bjorn Helgaas9cee43e2009-03-24 16:50:14 -060036
37#ifdef CONFIG_ACPI_SLEEP
38int acpi_sleep_proc_init(void);
39#else
40static inline int acpi_sleep_proc_init(void) { return 0; }
41#endif