Lines Matching full:suspend
3 * kernel/power/suspend.c - Suspend to RAM and standby functionality.
26 #include <linux/suspend.h>
65 * pm_suspend_default_s2idle - Check if suspend-to-idle is the default suspend.
67 * Return 'true' if suspend-to-idle has been selected as the default system
68 * suspend method.
122 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop()
125 * Suspend-to-idle equals: in s2idle_loop()
130 * Wakeups during the noirq suspend of devices may be spurious, so try in s2idle_loop()
147 pm_pr_dbg("resume from suspend-to-idle\n"); in s2idle_loop()
181 * Suspend-to-idle should be supported even without any suspend_ops, in pm_states_init()
203 * suspend_set_ops - Set the global suspend method table.
204 * @ops: Suspend operations to use.
234 * Platform drivers that implement mem suspend only and only need to check for
327 "Number of seconds to wait before resuming from suspend test");
334 pr_info("suspend debug: Waiting for %d second(s).\n", in suspend_test()
348 * hibernation). Run suspend notifiers, allocate the "suspend" console and
407 pr_err("late suspend of devices failed\n"); in suspend_enter()
416 pr_err("noirq suspend of devices failed\n"); in suspend_enter()
479 * suspend_devices_and_enter - Suspend devices and enter system sleep state.
503 pr_err("Some devices failed to suspend, or early wake event detected\n"); in suspend_devices_and_enter()
506 suspend_test_finish("suspend devices"); in suspend_devices_and_enter()
533 * suspend_finish - Clean up before finishing the suspend sequence.
550 * Fail if that's not the case. Otherwise, prepare for system suspend, make the
561 …pr_warn("Unsupported test mode for suspend to idle, please choose none/freezer/devices/platform.\n… in enter_state()
609 * execute enter_state() and update system suspend statistics.
618 pr_info("suspend entry (%s)\n", mem_sleep_labels[state]); in pm_suspend()
626 pr_info("suspend exit\n"); in pm_suspend()