Lines Matching +full:is +full:- +full:ram

28  * This function is passed as argument and called by @ref arch_pm_s2ram_suspend
31 * This function never returns if the system is powered off. If the operation
32 * cannot be performed a proper value is returned and the code must take care
35 * @retval none The system is powered off.
36 * @retval -EBUSY The system is busy and cannot be powered off at this time.
37 * @retval -errno Other error codes.
44 * This function is used on suspend-to-RAM (S2RAM) to save the CPU context in
45 * (retained) RAM before powering the system off using the provided function.
46 * This function is usually called from the PM subsystem / hooks.
48 * The CPU context is usually the minimum set of CPU registers which content
55 * @retval -EBUSY The system is busy and cannot be suspended at this time.
56 * @retval -errno Negative errno code in case of failure.
61 * @brief Mark that core is entering suspend-to-RAM state.
63 * Function is called when system state is stored to RAM, just before going to system
66 * Default implementation is setting a magic word in RAM. CONFIG_PM_S2RAM_CUSTOM_MARKING
69 * - the function cannot use stack (asm function or function with 'naked' attribute)
70 * - the content of the R1 and R4 registers must remain unchanged
71 * - returning from the function should be performed with the `bx lr` instruction
77 * @brief Check suspend-to-RAM marking and clear its state.
79 * Function is used to determine if resuming after suspend-to-RAM shall be performed
82 * Default implementation is checking a magic word in RAM. CONFIG_PM_S2RAM_CUSTOM_MARKING
85 * - the function cannot use stack (most likely asm function)
86 * - the content of the R1 and R4 registers must remain unchanged
87 * - the function's return value is passed by R0 register
88 * - returning from the function should be performed with the `bx lr` instruction
90 * @retval true if marking is found which indicates resuming after suspend-to-RAM.
91 * @retval false if marking is not found which indicates standard boot.