]> bbs.cooldavid.org Git - net-next-2.6.git/blame - drivers/acpi/internal.h
ACPI, x86: expose some IO-APIC routines when CONFIG_ACPI=n
[net-next-2.6.git] / drivers / acpi / internal.h
CommitLineData
e60cc7a6
BH
1/* For use by Linux/ACPI infrastructure, not drivers */
2
0e46517d 3int init_acpi_device_notify(void);
e747f274 4int acpi_scan_init(void);
141a0af3 5int acpi_system_init(void);
e747f274 6
84f810c3
BH
7#ifdef CONFIG_ACPI_DEBUG
8int acpi_debug_init(void);
9#else
10static inline int acpi_debug_init(void) { return 0; }
11#endif
12
e60cc7a6
BH
13/* --------------------------------------------------------------------------
14 Power Resource
15 -------------------------------------------------------------------------- */
44515374 16int acpi_power_init(void);
e60cc7a6
BH
17int 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
201b8c65
BH
25int acpi_wakeup_device_init(void);
26
e60cc7a6
BH
27/* --------------------------------------------------------------------------
28 Embedded Controller
29 -------------------------------------------------------------------------- */
a5f820fe 30int acpi_ec_init(void);
e60cc7a6
BH
31int acpi_ec_ecdt_probe(void);
32int acpi_boot_ec_enable(void);
33
34/*--------------------------------------------------------------------------
35 Suspend/Resume
36 -------------------------------------------------------------------------- */
37extern int acpi_sleep_init(void);
9cee43e0
BH
38
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