Lines Matching +full:needs +full:- +full:reset +full:- +full:on +full:- +full:resume

1 /* SPDX-License-Identifier: GPL-2.0 */
100 * struct platform_suspend_ops - Callbacks for managing platform dependent
124 * 0 on success or a negative error code otherwise, in which case the
132 * 0 on success or a negative error code otherwise, in which case the
138 * This callback is mandatory. It returns 0 on success or a negative
144 * resume callbacks are executed.
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
205 * suspend_set_ops - set platform dependent suspend operations
238 * pm_suspend_via_firmware - Check if platform firmware will suspend the system.
240 * To be called during system-wide power management transitions to sleep states
241 * or during the subsequent system-wide transitions back to the working state.
244 * the system-wide power management transition (to a sleep state) in progress in
249 * This matters if the caller needs or wants to carry out some special actions
250 * depending on whether or not control will be passed to the platform firmware
251 * subsequently (for example, the device may need to be reset before letting the
263 * pm_resume_via_firmware - Check if platform firmware has woken up the system.
265 * To be called during system-wide power management transitions from sleep
269 * the beginning of the system-wide power management transition in progress, so
279 * pm_suspend_no_platform - Check if platform may change device power states.
281 * To be called during system-wide power management transitions to sleep states
282 * or during the subsequent system-wide transitions back to the working state.
285 * kernel throughout the system-wide suspend and resume cycle in progress (that
287 * expected to remain in that state during resume).
294 /* Suspend-to-idle state machnine. */
297 S2IDLE_STATE_ENTER, /* Enter suspend-to-idle. */
298 S2IDLE_STATE_WAKE, /* Wake up from suspend-to-idle. */
314 * arch_suspend_disable_irqs - disable IRQs for suspend
317 * code and thus allows architectures to override it if more needs to be
323 * arch_suspend_enable_irqs - enable IRQs after suspend
326 * code and thus allows architectures to override it if more needs to be
345 static inline int pm_suspend(suspend_state_t state) { return -ENOSYS; } in pm_suspend()
354 * atomically during the resume from disk, because the page frames they have
367 * struct platform_hibernation_ops - hibernation platform support
382 * CPUs are disabled (runs with IRQs on).
388 * thawing devices (runs with IRQs on).
407 * CPUs are disabled (runs with IRQs on).
411 * thawing devices (runs with IRQs on).
466 static inline int hibernate(void) { return -ENOSYS; } in hibernate()
471 return -ENOTSUPP; in hibernate_quiet_exec()
514 extern void pm_wakeup_clear(bool reset);
542 static inline void pm_wakeup_clear(bool reset) {} in pm_wakeup_clear() argument