Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | |
Rafael J. Wysocki | 78f5f02 | 2010-07-06 22:09:38 -0400 | [diff] [blame] | 2 | extern void acpi_enable_wakeup_devices(u8 sleep_state); |
| 3 | extern void acpi_disable_wakeup_devices(u8 sleep_state); |
Shaohua Li | 9090589 | 2009-04-07 10:24:29 +0800 | [diff] [blame] | 4 | |
| 5 | extern struct list_head acpi_wakeup_device_list; |
| 6 | extern struct mutex acpi_device_lock; |
Rafael J. Wysocki | 781d737 | 2013-01-17 14:11:06 +0100 | [diff] [blame] | 7 | |
| 8 | extern void acpi_resume_power_resources(void); |
Hans de Goede | a9b90d8 | 2017-04-30 22:54:16 +0200 | [diff] [blame] | 9 | extern void acpi_turn_off_unused_power_resources(void); |
Rafael J. Wysocki | e3e9b57 | 2016-01-04 22:05:20 +0100 | [diff] [blame] | 10 | |
| 11 | static inline acpi_status acpi_set_waking_vector(u32 wakeup_address) |
| 12 | { |
| 13 | return acpi_set_firmware_waking_vector( |
| 14 | (acpi_physical_address)wakeup_address, 0); |
| 15 | } |