Lines Matching +full:suspend +full:- +full:to +full:- +full:ram
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * PM helper macros for CPU power off (e.g. Suspend-to-RAM).
13 #include <asm/asm-offsets.h>
18 /* Save CPU state to stack for suspend to RAM */
38 /* Restore CPU state from stack after resume from RAM */
63 /* Get address of static suspend state into t1 */
68 /* Save important CPU state for early restoration to global data */
82 /* save stack pointer (pointing to GPRs) */
90 * Segment configuration must be restored prior to any access to
102 /* restore stack pointer (pointing to GPRs) */
106 /* flush caches to make sure context has reached memory */
118 /* Save suspend state and flush data caches to RAM */
126 /* Restore saved state after resume from RAM and return */
136 * struct mips_static_suspend_state - Core saved CPU state across S2R.
141 * data in order to be able to restore the rest of the state. This includes
143 * restored prior to any kmalloc'd memory being referenced (even the stack