Lines Matching full:magic
20 u32 magic; member
38 int magic = 0; in get_reboot_mode_magic() local
46 magic = info->magic; in get_reboot_mode_magic()
51 return magic; in get_reboot_mode_magic()
59 int magic; in reboot_mode_write() local
61 magic = get_reboot_mode_magic(reboot, cmd); in reboot_mode_write()
62 if (!magic) in reboot_mode_write()
63 magic = get_reboot_mode_magic(reboot, NULL); in reboot_mode_write()
64 if (magic) { in reboot_mode_write()
65 reboot->write(reboot, magic); in reboot_mode_write()
66 last_magic = magic; in reboot_mode_write()
108 unsigned int magic = reboot->read(reboot); in boot_mode_parse() local
111 if (info->magic == magic) { in boot_mode_parse()
146 if (of_property_read_u32(np, prop->name, &info->magic)) { in reboot_mode_register()
147 dev_err(reboot->dev, "reboot mode %s without magic number\n", in reboot_mode_register()