Home
last modified time | relevance | path

Searched refs:reboot_mode_driver (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/linux/
H A Dreboot-mode.h5 struct reboot_mode_driver { struct
8 int (*write)(struct reboot_mode_driver *reboot, unsigned int magic); argument
12 int reboot_mode_register(struct reboot_mode_driver *reboot); argument
13 int reboot_mode_unregister(struct reboot_mode_driver *reboot);
15 struct reboot_mode_driver *reboot);
17 struct reboot_mode_driver *reboot);
/openbmc/linux/drivers/power/reset/
H A Dreboot-mode.c22 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()
H A Dnvmem-reboot-mode.c15 struct reboot_mode_driver reboot;
19 static int nvmem_reboot_mode_write(struct reboot_mode_driver *reboot, in nvmem_reboot_mode_write()
H A Dsyscon-reboot-mode.c18 struct reboot_mode_driver reboot;
23 static int syscon_reboot_mode_write(struct reboot_mode_driver *reboot, in syscon_reboot_mode_write()
H A Dqcom-pon.c26 struct reboot_mode_driver reboot_mode;
30 static int pm8916_reboot_mode_write(struct reboot_mode_driver *reboot, in pm8916_reboot_mode_write()