| /OK3568_Linux_fs/u-boot/board/lg/sniper/ |
| H A D | sniper.c | 95 char reboot_mode[2] = { 0 }; in misc_init_r() local 114 rc = omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in misc_init_r() 117 reboot_mode[0] = 'r'; in misc_init_r() 119 reboot_mode[0] = 'b'; in misc_init_r() 121 if (rc < 0 || reboot_mode[0] == 'o') { in misc_init_r() 135 if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) { in misc_init_r() 137 env_set("reboot-mode", (char *)reboot_mode); in misc_init_r() 166 char reboot_mode[2] = { 0 }; in reset_misc() local 173 omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in reset_misc() 174 omap_reboot_mode_store(reboot_mode); in reset_misc()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-omap2/omap3/ |
| H A D | boot.c | 62 u32 reboot_mode; in omap_reboot_mode() local 68 reboot_mode = readl((u32 *)(OMAP34XX_SCRATCHPAD + in omap_reboot_mode() 71 c = (reboot_mode >> 24) & 0xff; in omap_reboot_mode() 75 c = (reboot_mode >> 16) & 0xff; in omap_reboot_mode() 79 c = reboot_mode & 0xff; in omap_reboot_mode() 96 u32 reboot_mode; in omap_reboot_mode_store() local 98 reboot_mode = 'B' << 24 | 'M' << 16 | mode[0]; in omap_reboot_mode_store() 100 writel(reboot_mode, (u32 *)(OMAP34XX_SCRATCHPAD + in omap_reboot_mode_store()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-omap2/ |
| H A D | common.h | 158 void omap2xxx_restart(enum reboot_mode mode, const char *cmd); 160 static inline void omap2xxx_restart(enum reboot_mode mode, const char *cmd) in omap2xxx_restart() 166 void am33xx_restart(enum reboot_mode mode, const char *cmd); 168 static inline void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart() 174 void omap3xxx_restart(enum reboot_mode mode, const char *cmd); 176 static inline void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart() 182 void ti81xx_restart(enum reboot_mode mode, const char *cmd); 184 static inline void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart() 191 void omap44xx_restart(enum reboot_mode mode, const char *cmd); 193 static inline void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart()
|
| H A D | omap4-restart.c | 19 void omap44xx_restart(enum reboot_mode mode, const char *cmd) in omap44xx_restart()
|
| H A D | am33xx-restart.c | 19 void am33xx_restart(enum reboot_mode mode, const char *cmd) in am33xx_restart()
|
| H A D | omap3-restart.c | 28 void omap3xxx_restart(enum reboot_mode mode, const char *cmd) in omap3xxx_restart()
|
| H A D | ti81xx-restart.c | 25 void ti81xx_restart(enum reboot_mode mode, const char *cmd) in ti81xx_restart()
|
| /OK3568_Linux_fs/u-boot/board/amazon/kc1/ |
| H A D | kc1.c | 89 char reboot_mode[2] = { 0 }; in misc_init_r() local 96 rc = omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in misc_init_r() 104 reboot_mode[0] = 'b'; in misc_init_r() 106 if (rc < 0 || reboot_mode[0] == 'o') { in misc_init_r() 120 if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) { in misc_init_r() 122 env_set("reboot-mode", (char *)reboot_mode); in misc_init_r()
|
| /OK3568_Linux_fs/kernel/drivers/spi/ |
| H A D | spi-sprd-adi.c | 337 u32 val, reboot_mode = 0; in sprd_adi_restart_handler() local 340 reboot_mode = HWRST_STATUS_NORMAL; in sprd_adi_restart_handler() 342 reboot_mode = HWRST_STATUS_RECOVERY; in sprd_adi_restart_handler() 344 reboot_mode = HWRST_STATUS_ALARM; in sprd_adi_restart_handler() 346 reboot_mode = HWRST_STATUS_SLEEP; in sprd_adi_restart_handler() 348 reboot_mode = HWRST_STATUS_FASTBOOT; in sprd_adi_restart_handler() 350 reboot_mode = HWRST_STATUS_PANIC; in sprd_adi_restart_handler() 352 reboot_mode = HWRST_STATUS_SPECIAL; in sprd_adi_restart_handler() 354 reboot_mode = HWRST_STATUS_CFTREBOOT; in sprd_adi_restart_handler() 356 reboot_mode = HWRST_STATUS_AUTODLOADER; in sprd_adi_restart_handler() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/power/reset/ |
| H A D | qcom-pon.c | 24 struct reboot_mode_driver reboot_mode; member 32 (reboot, struct pm8916_pon, reboot_mode); in pm8916_reboot_mode_write() 67 pon->reboot_mode.dev = &pdev->dev; in pm8916_pon_probe() 69 pon->reboot_mode.write = pm8916_reboot_mode_write; in pm8916_pon_probe() 70 error = devm_reboot_mode_register(&pdev->dev, &pon->reboot_mode); in pm8916_pon_probe()
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | reboot.c | 34 enum reboot_mode reboot_mode DEFAULT_REBOOT_MODE; 35 EXPORT_SYMBOL_GPL(reboot_mode); 36 enum reboot_mode panic_reboot_mode = REBOOT_UNDEFINED; 217 atomic_notifier_call_chain(&restart_handler_list, reboot_mode, cmd); in do_kernel_restart() 237 atomic_notifier_call_chain(&pre_restart_handler_list, reboot_mode, cmd); in do_kernel_pre_restart() 547 enum reboot_mode *mode; in reboot_setup() 560 mode = &reboot_mode; in reboot_setup()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | reboot.h | 16 enum reboot_mode { enum 24 extern enum reboot_mode reboot_mode; 25 extern enum reboot_mode panic_reboot_mode;
|
| /OK3568_Linux_fs/kernel/drivers/firmware/efi/ |
| H A D | reboot.c | 13 void efi_reboot(enum reboot_mode reboot_mode, const char *__unused) in efi_reboot() argument 21 switch (reboot_mode) { in efi_reboot()
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/mach/ |
| H A D | arch.h | 43 enum reboot_mode reboot_mode; /* default restart mode */ member 62 void (*restart)(enum reboot_mode, const char *);
|
| /OK3568_Linux_fs/kernel/arch/arm/include/asm/ |
| H A D | v7m.h | 93 enum reboot_mode; 95 void armv7m_restart(enum reboot_mode mode, const char *cmd);
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-socfpga/ |
| H A D | socfpga.c | 70 static void socfpga_cyclone5_restart(enum reboot_mode mode, const char *cmd) in socfpga_cyclone5_restart() 83 static void socfpga_arria10_restart(enum reboot_mode mode, const char *cmd) in socfpga_arria10_restart()
|
| /OK3568_Linux_fs/kernel/arch/arm/kernel/ |
| H A D | setup.c | 82 extern enum reboot_mode reboot_mode; 1085 static void (*__arm_pm_restart)(enum reboot_mode reboot_mode, const char *cmd); 1129 if (mdesc->reboot_mode != REBOOT_HARD) in setup_arch() 1130 reboot_mode = mdesc->reboot_mode; in setup_arch()
|
| H A D | v7m.c | 10 void armv7m_restart(enum reboot_mode mode, const char *cmd) in armv7m_restart()
|
| /OK3568_Linux_fs/kernel/arch/x86/kernel/ |
| H A D | reboot.c | 598 mode = reboot_mode == REBOOT_WARM ? 0x1234 : 0; in native_machine_emergency_restart() 636 efi_reboot(reboot_mode, NULL); in native_machine_emergency_restart() 653 u8 reboot_code = reboot_mode == REBOOT_WARM ? 0x06 : 0x0E; in native_machine_emergency_restart()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-iop32x/ |
| H A D | restart.c | 11 void iop3xx_restart(enum reboot_mode mode, const char *cmd) in iop3xx_restart()
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-highbank/ |
| H A D | system.c | 12 void highbank_restart(enum reboot_mode mode, const char *cmd) in highbank_restart()
|
| H A D | core.h | 7 extern void highbank_restart(enum reboot_mode, const char *);
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-footbridge/ |
| H A D | common.h | 13 extern void footbridge_restart(enum reboot_mode, const char *);
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-mmp/ |
| H A D | common.h | 9 extern void mmp_restart(enum reboot_mode, const char *);
|
| /OK3568_Linux_fs/kernel/arch/arm/mach-spear/ |
| H A D | restart.c | 21 void spear_restart(enum reboot_mode mode, const char *cmd) in spear_restart()
|