Searched refs:reboot_mode (Results 1 – 3 of 3) sorted by relevance
95 char reboot_mode[2] = { 0 }; in misc_init_r() local114 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() local173 omap_reboot_mode(reboot_mode, sizeof(reboot_mode)); in reset_misc()174 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()
89 char reboot_mode[2] = { 0 }; in misc_init_r() local96 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()