Symbol: reboot_mode
arch/arm/include/asm/mach/arch.h
43
enum reboot_mode reboot_mode; /* default restart mode */
arch/arm/include/asm/mach/arch.h
59
void (*restart)(enum reboot_mode, const char *);
arch/arm/include/asm/v7m.h
94
enum reboot_mode;
arch/arm/include/asm/v7m.h
96
void armv7m_restart(enum reboot_mode mode, const char *cmd);
arch/arm/kernel/setup.c
1082
static void (*__arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd);
arch/arm/kernel/setup.c
1126
if (mdesc->reboot_mode != REBOOT_HARD)
arch/arm/kernel/setup.c
1127
reboot_mode = mdesc->reboot_mode;
arch/arm/kernel/v7m.c
10
void armv7m_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-bcm/board_bcm281xx.c
19
static void bcm281xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-clps711x/board-dt.c
63
static void clps711x_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-dove/common.c
435
void dove_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-dove/common.h
44
void dove_restart(enum reboot_mode, const char *);
arch/arm/mach-footbridge/common.c
255
void footbridge_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-footbridge/common.h
13
extern void footbridge_restart(enum reboot_mode, const char *);
arch/arm/mach-footbridge/netwinder-hw.c
638
static void netwinder_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-highbank/core.h
7
extern void highbank_restart(enum reboot_mode, const char *);
arch/arm/mach-highbank/system.c
12
void highbank_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-imx/common.h
28
void mxc_restart(enum reboot_mode, const char *);
arch/arm/mach-imx/system.c
33
void mxc_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-mv78xx0/common.c
430
void mv78xx0_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-mv78xx0/common.h
49
void mv78xx0_restart(enum reboot_mode, const char *);
arch/arm/mach-mvebu/common.h
17
void mvebu_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-mvebu/system-controller.c
91
void mvebu_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-mxs/mach-mxs.c
453
static void mxs_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-nomadik/cpu-8815.c
74
static void cpu8815_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap1/common.h
55
void omap1_restart(enum reboot_mode, const char *);
arch/arm/mach-omap1/reset.c
26
void omap1_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/am33xx-restart.c
53
void am33xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/board-generic.c
253
.reboot_mode = REBOOT_WARM,
arch/arm/mach-omap2/common.h
134
void omap2xxx_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-omap2/common.h
136
static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/common.h
142
void am33xx_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-omap2/common.h
144
static inline void am33xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/common.h
150
void omap3xxx_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-omap2/common.h
152
static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/common.h
158
void ti81xx_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-omap2/common.h
160
static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/common.h
167
void omap44xx_restart(enum reboot_mode mode, const char *cmd);
arch/arm/mach-omap2/common.h
169
static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/omap2-restart.c
31
void omap2xxx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/omap3-restart.c
28
void omap3xxx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/omap4-restart.c
19
void omap44xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-omap2/prm.h
18
extern enum reboot_mode prm_reboot_mode;
arch/arm/mach-omap2/prm_common.c
73
enum reboot_mode prm_reboot_mode;
arch/arm/mach-omap2/ti81xx-restart.c
25
void ti81xx_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-orion5x/common.c
352
void orion5x_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-orion5x/common.h
50
void orion5x_restart(enum reboot_mode, const char *);
arch/arm/mach-pxa/generic.h
46
void pxa_restart(enum reboot_mode, const char *);
arch/arm/mach-pxa/reset.c
87
void pxa_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-pxa/spitz.c
1085
static void spitz_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-rpc/riscpc.c
204
static void rpc_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-s5pv210/s5pv210.c
49
static void s5pv210_dt_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-sa1100/generic.c
94
void sa11x0_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-sa1100/generic.h
14
extern void sa11x0_restart(enum reboot_mode, const char *);
arch/arm/mach-socfpga/socfpga.c
68
static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-socfpga/socfpga.c
81
static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-spear/generic.h
33
void spear_restart(enum reboot_mode, const char *);
arch/arm/mach-spear/restart.c
18
void spear_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-ux500/cpu-db8500.c
99
static void ux500_restart(enum reboot_mode mode, const char *cmd)
arch/arm/mach-vt8500/vt8500.c
33
static void vt8500_restart(enum reboot_mode mode, const char *cmd)
arch/arm64/kernel/process.c
141
efi_reboot(reboot_mode, NULL);
arch/x86/kernel/reboot.c
593
mode = reboot_mode == REBOOT_WARM ? 0x1234 : 0;
arch/x86/kernel/reboot.c
631
efi_reboot(reboot_mode, NULL);
arch/x86/kernel/reboot.c
648
u8 reboot_code = reboot_mode == REBOOT_WARM ? 0x06 : 0x0E;
drivers/firmware/efi/reboot.c
13
void efi_reboot(enum reboot_mode reboot_mode, const char *__unused)
drivers/firmware/efi/reboot.c
21
switch (reboot_mode) {
drivers/firmware/psci/psci.c
312
if ((reboot_mode == REBOOT_WARM || reboot_mode == REBOOT_SOFT) &&
drivers/input/misc/pm8941-pwrkey.c
124
if (reboot_mode == REBOOT_WARM)
drivers/mfd/acer-ec-a500.c
116
unsigned long reboot_mode, void *data)
drivers/mfd/acer-ec-a500.c
118
if (reboot_mode == REBOOT_WARM)
drivers/mfd/tps65219.c
42
static int tps65219_restart(struct tps65219 *tps, unsigned long reboot_mode)
drivers/mfd/tps65219.c
44
if (reboot_mode == REBOOT_WARM)
drivers/platform/cznic/turris-omnia-mcu-sys-off-wakeup.c
150
if (reboot_mode == REBOOT_HARD)
drivers/power/reset/qcom-pon.c
26
struct reboot_mode_driver reboot_mode;
drivers/power/reset/qcom-pon.c
34
(reboot, struct qcom_pon, reboot_mode);
drivers/power/reset/qcom-pon.c
73
pon->reboot_mode.dev = &pdev->dev;
drivers/power/reset/qcom-pon.c
75
pon->reboot_mode.write = qcom_pon_reboot_mode_write;
drivers/power/reset/qcom-pon.c
76
error = devm_reboot_mode_register(&pdev->dev, &pon->reboot_mode);
drivers/power/reset/reboot-mode.c
67
ATTRIBUTE_GROUPS(reboot_mode);
drivers/power/reset/restart-poweroff.c
19
reboot_mode = REBOOT_HARD;
drivers/spi/spi-sprd-adi.c
374
u32 val, reboot_mode = 0;
drivers/spi/spi-sprd-adi.c
377
reboot_mode = HWRST_STATUS_NORMAL;
drivers/spi/spi-sprd-adi.c
379
reboot_mode = HWRST_STATUS_RECOVERY;
drivers/spi/spi-sprd-adi.c
381
reboot_mode = HWRST_STATUS_ALARM;
drivers/spi/spi-sprd-adi.c
383
reboot_mode = HWRST_STATUS_SLEEP;
drivers/spi/spi-sprd-adi.c
385
reboot_mode = HWRST_STATUS_FASTBOOT;
drivers/spi/spi-sprd-adi.c
387
reboot_mode = HWRST_STATUS_PANIC;
drivers/spi/spi-sprd-adi.c
389
reboot_mode = HWRST_STATUS_SPECIAL;
drivers/spi/spi-sprd-adi.c
391
reboot_mode = HWRST_STATUS_CFTREBOOT;
drivers/spi/spi-sprd-adi.c
393
reboot_mode = HWRST_STATUS_AUTODLOADER;
drivers/spi/spi-sprd-adi.c
395
reboot_mode = HWRST_STATUS_IQMODE;
drivers/spi/spi-sprd-adi.c
397
reboot_mode = HWRST_STATUS_SPRDISK;
drivers/spi/spi-sprd-adi.c
399
reboot_mode = HWRST_STATUS_SECURITY;
drivers/spi/spi-sprd-adi.c
401
reboot_mode = HWRST_STATUS_FACTORYTEST;
drivers/spi/spi-sprd-adi.c
403
reboot_mode = HWRST_STATUS_NORMAL;
drivers/spi/spi-sprd-adi.c
408
val |= reboot_mode;
drivers/watchdog/realtek_otto_wdt.c
172
static int otto_wdt_restart(struct watchdog_device *wdev, unsigned long reboot_mode,
drivers/watchdog/realtek_otto_wdt.c
181
switch (reboot_mode) {
include/linux/efi.h
859
extern void efi_reboot(enum reboot_mode reboot_mode, const char *__unused);
include/linux/efi.h
880
efi_reboot(enum reboot_mode reboot_mode, const char *__unused) {}
include/linux/reboot.h
25
extern enum reboot_mode reboot_mode;
include/linux/reboot.h
26
extern enum reboot_mode panic_reboot_mode;
kernel/panic.c
742
reboot_mode = panic_reboot_mode;
kernel/reboot.c
1100
enum reboot_mode *mode;
kernel/reboot.c
1113
mode = &reboot_mode;
kernel/reboot.c
1198
switch (reboot_mode) {
kernel/reboot.c
1227
reboot_mode = REBOOT_COLD;
kernel/reboot.c
1229
reboot_mode = REBOOT_WARM;
kernel/reboot.c
1231
reboot_mode = REBOOT_HARD;
kernel/reboot.c
1233
reboot_mode = REBOOT_SOFT;
kernel/reboot.c
1235
reboot_mode = REBOOT_GPIO;
kernel/reboot.c
247
atomic_notifier_call_chain(&restart_handler_list, reboot_mode, cmd);
kernel/reboot.c
35
enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE;
kernel/reboot.c
36
EXPORT_SYMBOL_GPL(reboot_mode);
kernel/reboot.c
37
enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED;