reboot_mode
enum reboot_mode reboot_mode; /* default restart mode */
void (*restart)(enum reboot_mode, const char *);
enum reboot_mode;
void armv7m_restart(enum reboot_mode mode, const char *cmd);
static void (*__arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
if (mdesc->reboot_mode != REBOOT_HARD)
reboot_mode = mdesc->reboot_mode;
void armv7m_restart(enum reboot_mode mode, const char *cmd)
static void bcm281xx_restart(enum reboot_mode mode, const char *cmd)
static void clps711x_restart(enum reboot_mode mode, const char *cmd)
void dove_restart(enum reboot_mode mode, const char *cmd)
void dove_restart(enum reboot_mode, const char *);
void footbridge_restart(enum reboot_mode mode, const char *cmd)
extern void footbridge_restart(enum reboot_mode, const char *);
static void netwinder_restart(enum reboot_mode mode, const char *cmd)
extern void highbank_restart(enum reboot_mode, const char *);
void highbank_restart(enum reboot_mode mode, const char *cmd)
void mxc_restart(enum reboot_mode, const char *);
void mxc_restart(enum reboot_mode mode, const char *cmd)
void mv78xx0_restart(enum reboot_mode mode, const char *cmd)
void mv78xx0_restart(enum reboot_mode, const char *);
void mvebu_restart(enum reboot_mode mode, const char *cmd);
void mvebu_restart(enum reboot_mode mode, const char *cmd)
static void mxs_restart(enum reboot_mode mode, const char *cmd)
static void cpu8815_restart(enum reboot_mode mode, const char *cmd)
void omap1_restart(enum reboot_mode, const char *);
void omap1_restart(enum reboot_mode mode, const char *cmd)
void am33xx_restart(enum reboot_mode mode, const char *cmd)
.reboot_mode = REBOOT_WARM,
void omap2xxx_restart(enum reboot_mode mode, const char *cmd);
static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd)
void am33xx_restart(enum reboot_mode mode, const char *cmd);
static inline void am33xx_restart(enum reboot_mode mode, const char *cmd)
void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
void ti81xx_restart(enum reboot_mode mode, const char *cmd);
static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd)
void omap44xx_restart(enum reboot_mode mode, const char *cmd);
static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
void omap2xxx_restart(enum reboot_mode mode, const char *cmd)
void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
void omap44xx_restart(enum reboot_mode mode, const char *cmd)
extern enum reboot_mode prm_reboot_mode;
enum reboot_mode prm_reboot_mode;
void ti81xx_restart(enum reboot_mode mode, const char *cmd)
void orion5x_restart(enum reboot_mode mode, const char *cmd)
void orion5x_restart(enum reboot_mode, const char *);
void pxa_restart(enum reboot_mode, const char *);
void pxa_restart(enum reboot_mode mode, const char *cmd)
static void spitz_restart(enum reboot_mode mode, const char *cmd)
static void rpc_restart(enum reboot_mode mode, const char *cmd)
static void s5pv210_dt_restart(enum reboot_mode mode, const char *cmd)
void sa11x0_restart(enum reboot_mode mode, const char *cmd)
extern void sa11x0_restart(enum reboot_mode, const char *);
static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)
static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd)
void spear_restart(enum reboot_mode, const char *);
void spear_restart(enum reboot_mode mode, const char *cmd)
static void ux500_restart(enum reboot_mode mode, const char *cmd)
static void vt8500_restart(enum reboot_mode mode, const char *cmd)
efi_reboot(reboot_mode, NULL);
mode = reboot_mode == REBOOT_WARM ? 0x1234 : 0;
efi_reboot(reboot_mode, NULL);
u8 reboot_code = reboot_mode == REBOOT_WARM ? 0x06 : 0x0E;
void efi_reboot(enum reboot_mode reboot_mode, const char *__unused)
switch (reboot_mode) {
if ((reboot_mode == REBOOT_WARM || reboot_mode == REBOOT_SOFT) &&
if (reboot_mode == REBOOT_WARM)
unsigned long reboot_mode, void *data)
if (reboot_mode == REBOOT_WARM)
static int tps65219_restart(struct tps65219 *tps, unsigned long reboot_mode)
if (reboot_mode == REBOOT_WARM)
if (reboot_mode == REBOOT_HARD)
struct reboot_mode_driver reboot_mode;
(reboot, struct qcom_pon, reboot_mode);
pon->reboot_mode.dev = &pdev->dev;
pon->reboot_mode.write = qcom_pon_reboot_mode_write;
error = devm_reboot_mode_register(&pdev->dev, &pon->reboot_mode);
ATTRIBUTE_GROUPS(reboot_mode);
reboot_mode = REBOOT_HARD;
u32 val, reboot_mode = 0;
reboot_mode = HWRST_STATUS_NORMAL;
reboot_mode = HWRST_STATUS_RECOVERY;
reboot_mode = HWRST_STATUS_ALARM;
reboot_mode = HWRST_STATUS_SLEEP;
reboot_mode = HWRST_STATUS_FASTBOOT;
reboot_mode = HWRST_STATUS_PANIC;
reboot_mode = HWRST_STATUS_SPECIAL;
reboot_mode = HWRST_STATUS_CFTREBOOT;
reboot_mode = HWRST_STATUS_AUTODLOADER;
reboot_mode = HWRST_STATUS_IQMODE;
reboot_mode = HWRST_STATUS_SPRDISK;
reboot_mode = HWRST_STATUS_SECURITY;
reboot_mode = HWRST_STATUS_FACTORYTEST;
reboot_mode = HWRST_STATUS_NORMAL;
val |= reboot_mode;
static int otto_wdt_restart(struct watchdog_device *wdev, unsigned long reboot_mode,
switch (reboot_mode) {
extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
efi_reboot(enum reboot_mode reboot_mode, const char *__unused) {}
extern enum reboot_mode reboot_mode;
extern enum reboot_mode panic_reboot_mode;
reboot_mode = panic_reboot_mode;
enum reboot_mode *mode;
mode = &reboot_mode;
switch (reboot_mode) {
reboot_mode = REBOOT_COLD;
reboot_mode = REBOOT_WARM;
reboot_mode = REBOOT_HARD;
reboot_mode = REBOOT_SOFT;
reboot_mode = REBOOT_GPIO;
atomic_notifier_call_chain(&restart_handler_list, reboot_mode, cmd);
enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
EXPORT_SYMBOL_GPL(reboot_mode);
enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;