Searched refs:reboot_mode (Results 1 – 3 of 3) sorted by relevance
98 char reboot_mode[2] = { 0 }; in misc_init_r() local117 rc = omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in misc_init_r()120 reboot_mode[0] = 'r'; in misc_init_r()122 reboot_mode[0] = 'b'; in misc_init_r()124 if (rc < 0 || reboot_mode[0] == 'o') { in misc_init_r()138 if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) { in misc_init_r()140 env_set("reboot-mode", (char *)reboot_mode); in misc_init_r()169 char reboot_mode[2] = { 0 }; in reset_misc() local176 omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in reset_misc()177 omap_reboot_mode_store(reboot_mode); in reset_misc()
61 u32 reboot_mode; in omap_reboot_mode() local67 reboot_mode = readl((u32 *)(OMAP34XX_SCRATCHPAD + in omap_reboot_mode()70 c = (reboot_mode >> 24) & 0xff; in omap_reboot_mode()74 c = (reboot_mode >> 16) & 0xff; in omap_reboot_mode()78 c = reboot_mode & 0xff; in omap_reboot_mode()95 u32 reboot_mode; in omap_reboot_mode_store() local97 reboot_mode = 'B' << 24 | 'M' << 16 | mode[0]; in omap_reboot_mode_store()99 writel(reboot_mode, (u32 *)(OMAP34XX_SCRATCHPAD + in omap_reboot_mode_store()
92 char reboot_mode[2] = { 0 }; in misc_init_r() local99 rc = omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in misc_init_r()107 reboot_mode[0] = 'b'; in misc_init_r()109 if (rc < 0 || reboot_mode[0] == 'o') { in misc_init_r()123 if (reboot_mode[0] > 0 && isascii(reboot_mode[0])) { in misc_init_r()125 env_set("reboot-mode", (char *)reboot_mode); in misc_init_r()
Completed in 6 milliseconds