| Bjorn Helgaas | e60cc7a | 2009-03-13 12:08:26 -0600 | [diff] [blame] | 1 | /* For use by Linux/ACPI infrastructure, not drivers */ | 
|  | 2 |  | 
| Bjorn Helgaas | 0e46517 | 2009-03-24 16:50:09 -0600 | [diff] [blame] | 3 | int init_acpi_device_notify(void); | 
| Bjorn Helgaas | e747f27 | 2009-03-24 16:49:43 -0600 | [diff] [blame] | 4 | int acpi_scan_init(void); | 
| Bjorn Helgaas | 141a0af | 2009-03-24 16:49:58 -0600 | [diff] [blame] | 5 | int acpi_system_init(void); | 
| Bjorn Helgaas | e747f27 | 2009-03-24 16:49:43 -0600 | [diff] [blame] | 6 |  | 
| Bjorn Helgaas | 84f810c | 2009-03-24 16:50:03 -0600 | [diff] [blame] | 7 | #ifdef CONFIG_ACPI_DEBUG | 
|  | 8 | int acpi_debug_init(void); | 
|  | 9 | #else | 
|  | 10 | static inline int acpi_debug_init(void) { return 0; } | 
|  | 11 | #endif | 
|  | 12 |  | 
| Bjorn Helgaas | e60cc7a | 2009-03-13 12:08:26 -0600 | [diff] [blame] | 13 | /* -------------------------------------------------------------------------- | 
|  | 14 | Power Resource | 
|  | 15 | -------------------------------------------------------------------------- */ | 
| Bjorn Helgaas | 4451537 | 2009-03-24 16:49:53 -0600 | [diff] [blame] | 16 | int acpi_power_init(void); | 
| Bjorn Helgaas | e60cc7a | 2009-03-13 12:08:26 -0600 | [diff] [blame] | 17 | int acpi_device_sleep_wake(struct acpi_device *dev, | 
|  | 18 | int enable, int sleep_state, int dev_state); | 
|  | 19 | int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state); | 
|  | 20 | int acpi_disable_wakeup_device_power(struct acpi_device *dev); | 
|  | 21 | int acpi_power_get_inferred_state(struct acpi_device *device); | 
|  | 22 | int acpi_power_transition(struct acpi_device *device, int state); | 
|  | 23 | extern int acpi_power_nocheck; | 
|  | 24 |  | 
| Bjorn Helgaas | 201b8c6 | 2009-03-24 16:50:19 -0600 | [diff] [blame] | 25 | int acpi_wakeup_device_init(void); | 
|  | 26 |  | 
| Bjorn Helgaas | e60cc7a | 2009-03-13 12:08:26 -0600 | [diff] [blame] | 27 | /* -------------------------------------------------------------------------- | 
|  | 28 | Embedded Controller | 
|  | 29 | -------------------------------------------------------------------------- */ | 
| Bjorn Helgaas | a5f820f | 2009-03-24 16:49:48 -0600 | [diff] [blame] | 30 | int acpi_ec_init(void); | 
| Bjorn Helgaas | e60cc7a | 2009-03-13 12:08:26 -0600 | [diff] [blame] | 31 | int acpi_ec_ecdt_probe(void); | 
|  | 32 | int acpi_boot_ec_enable(void); | 
|  | 33 |  | 
|  | 34 | /*-------------------------------------------------------------------------- | 
|  | 35 | Suspend/Resume | 
|  | 36 | -------------------------------------------------------------------------- */ | 
|  | 37 | extern int acpi_sleep_init(void); | 
| Bjorn Helgaas | 9cee43e | 2009-03-24 16:50:14 -0600 | [diff] [blame] | 38 |  | 
|  | 39 | #ifdef CONFIG_ACPI_SLEEP | 
|  | 40 | int acpi_sleep_proc_init(void); | 
|  | 41 | #else | 
|  | 42 | static inline int acpi_sleep_proc_init(void) { return 0; } | 
|  | 43 | #endif |