Lines Matching +full:off +full:- +full:by
1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define SYS_POWER_OFF 0x0003 /* Notify of system power off */
18 REBOOT_UNDEFINED = -1,
54 * Architecture-specific implementations of sys_reboot commands.
69 * sys-off handler API.
73 * Standard sys-off priority levels. Users are expected to set priorities
76 * SYS_OFF_PRIO_PLATFORM: Use this for platform-level handlers.
86 #define SYS_OFF_PRIO_PLATFORM -256
87 #define SYS_OFF_PRIO_LOW -128
96 * Handlers prepare system to be powered off. Handlers are
104 * Handlers power-off system. Handlers are disallowed to sleep.
125 * struct sys_off_data - sys-off callback argument
127 * @mode: Mode ID. Currently used only by the sys-off restart mode,
130 * @cmd: Command string. Currently used only by the sys-off restart mode,
132 * @dev: Device of the sys-off handler. Only if known (devm_register_*),
182 * enum hw_protection_action - Hardware protection action
186 * by default, but can be overridden.
188 * The system should be shut down (powered off) for HW protection.
198 * hw_protection_trigger - Trigger default emergency system hardware protection action
219 #include <asm/emergency-restart.h>