kernel_optimize_test/drivers/acpi/sleep
Rafael J. Wysocki e9b3aba887 ACPI: Implement the set_target() callback from pm_ops
In the future some drivers may need to use ACPI to determine the low power
states in which to place their devices, but to provide the drivers with this
information the ACPI core needs to know what sleep state the system is going to
enter.  Namely, the device's state should not be too high power for given system
sleep state and, if the device is supposed to be able to wake up the system, its
state should not be too low power for the wake up to be possible).  For this
purpose, the ACPI core needs to implement the set_target() method in 'struct
pm_ops' and store the target system sleep state passed by the PM core in a
variable.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Len Brown <len.brown@intel.com>
2007-07-22 04:17:38 -04:00
..
main.c ACPI: Implement the set_target() callback from pm_ops 2007-07-22 04:17:38 -04:00
Makefile
poweroff.c PM: Introduce pm_power_off_prepare 2007-07-19 10:04:42 -07:00
proc.c ACPICA: Lindent 2007-05-09 23:34:35 -04:00
sleep.h [ACPI] fix reboot upon suspend-to-disk 2005-12-15 13:28:14 -05:00
wakeup.c ACPI: update comment 2006-11-06 15:19:51 -05:00