Searched refs:reboot_mode_driver (Results 1 – 5 of 5) sorted by relevance
5 struct reboot_mode_driver { struct8 int (*write)(struct reboot_mode_driver *reboot, unsigned int magic); argument12 int reboot_mode_register(struct reboot_mode_driver *reboot); argument13 int reboot_mode_unregister(struct reboot_mode_driver *reboot);15 struct reboot_mode_driver *reboot);17 struct reboot_mode_driver *reboot);
22 static unsigned int get_reboot_mode_magic(struct reboot_mode_driver *reboot, in get_reboot_mode_magic()45 struct reboot_mode_driver *reboot; in reboot_mode_notify()48 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify()62 int reboot_mode_register(struct reboot_mode_driver *reboot) in reboot_mode_register()121 int reboot_mode_unregister(struct reboot_mode_driver *reboot) in reboot_mode_unregister()136 reboot_mode_unregister(*(struct reboot_mode_driver **)res); in devm_reboot_mode_release()147 struct reboot_mode_driver *reboot) in devm_reboot_mode_register()149 struct reboot_mode_driver **dr; in devm_reboot_mode_register()171 struct reboot_mode_driver **p = res; in devm_reboot_mode_match()185 struct reboot_mode_driver *reboot) in devm_reboot_mode_unregister()
15 struct reboot_mode_driver reboot;19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, in nvmem_reboot_mode_write()
18 struct reboot_mode_driver reboot;23 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, in syscon_reboot_mode_write()
26 struct reboot_mode_driver reboot_mode;30 static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, in pm8916_reboot_mode_write()