Lines Matching +full:disable +full:- +full:hibernation +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0 */
100 * struct platform_suspend_ops - Callbacks for managing platform dependent
149 * @finish: Finish wake-up of the platform.
160 * suspend_again callback is the place assuming that periodic-wakeup or
161 * alarm-wakeup is already setup. This allows to execute some codes while
206 * suspend_set_ops - set platform dependent suspend operations
239 * pm_suspend_via_firmware - Check if platform firmware will suspend the system.
241 * To be called during system-wide power management transitions to sleep states
242 * or during the subsequent system-wide transitions back to the working state.
245 * the system-wide power management transition (to a sleep state) in progress in
264 * pm_resume_via_firmware - Check if platform firmware has woken up the system.
266 * To be called during system-wide power management transitions from sleep
270 * the beginning of the system-wide power management transition in progress, so
280 * pm_suspend_no_platform - Check if platform may change device power states.
282 * To be called during system-wide power management transitions to sleep states
283 * or during the subsequent system-wide transitions back to the working state.
286 * kernel throughout the system-wide suspend and resume cycle in progress (that
295 /* Suspend-to-idle state machnine. */
298 S2IDLE_STATE_ENTER, /* Enter suspend-to-idle. */
299 S2IDLE_STATE_WAKE, /* Wake up from suspend-to-idle. */
315 * arch_suspend_disable_irqs - disable IRQs for suspend
324 * arch_suspend_enable_irqs - enable IRQs after suspend
346 static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; } in pm_suspend()
368 * struct platform_hibernation_ops - hibernation platform support
371 * operations required by it during a hibernation transition.
375 * @begin: Tell the platform driver that we're starting hibernation.
381 * @pre_snapshot: Prepare the platform for creating the hibernation image.
385 * @finish: Restore the previous state of the platform after the hibernation
387 * mode after the hibernation (the same method is executed in both cases).
392 * Called right after the hibernation image has been saved and before
395 * @enter: Put the system into the low power state after the hibernation image
406 * @pre_restore: Prepare system for the restoration from a hibernation image.
415 * Called by the PM core if the suspending of devices during hibernation
459 static inline int hibernate(void) { return -ENOSYS; } in hibernate()
464 return -ENOTSUPP; in hibernate_quiet_exec()
474 /* Hibernation and suspend events */
476 #define PM_POST_HIBERNATION 0x0002 /* Hibernation finished */
582 * pm_pr_dbg - print pm sleep debug messages