blob: a82ff74faf7a2ae94c8b16ce7a60cdc4c78f70fc [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001
Rafael J. Wysocki78f5f022010-07-06 22:09:38 -04002extern void acpi_enable_wakeup_devices(u8 sleep_state);
3extern void acpi_disable_wakeup_devices(u8 sleep_state);
Shaohua Li90905892009-04-07 10:24:29 +08004
5extern struct list_head acpi_wakeup_device_list;
6extern struct mutex acpi_device_lock;
Rafael J. Wysocki781d7372013-01-17 14:11:06 +01007
8extern void acpi_resume_power_resources(void);
Hans de Goede8ece1d82017-04-30 22:54:16 +02009extern void acpi_turn_off_unused_power_resources(void);
Rafael J. Wysockie3e9b572016-01-04 22:05:20 +010010
11static 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}