Home
last modified time | relevance | path

Searched refs:restart_nb (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/reset/
H A Dreset-ath79.c18 struct notifier_block restart_nb; member
79 container_of(nb, struct ath79_reset, restart_nb); in ath79_reset_restart_handler()
111 ath79_reset->restart_nb.notifier_call = ath79_reset_restart_handler; in ath79_reset_probe()
112 ath79_reset->restart_nb.priority = 128; in ath79_reset_probe()
114 err = register_restart_handler(&ath79_reset->restart_nb); in ath79_reset_probe()
H A Dreset-lpc18xx.c34 struct notifier_block restart_nb; member
48 restart_nb); in lpc18xx_rgu_restart()
181 rc->restart_nb.priority = 192, in lpc18xx_rgu_probe()
182 rc->restart_nb.notifier_call = lpc18xx_rgu_restart, in lpc18xx_rgu_probe()
183 ret = register_restart_handler(&rc->restart_nb); in lpc18xx_rgu_probe()
H A Dreset-intel-gw.c31 struct notifier_block restart_nb; member
161 reset_data = container_of(nb, struct intel_reset_data, restart_nb); in intel_reset_restart_handler()
218 data->restart_nb.notifier_call = intel_reset_restart_handler; in intel_reset_probe()
219 data->restart_nb.priority = 128; in intel_reset_probe()
220 register_restart_handler(&data->restart_nb); in intel_reset_probe()
H A Dreset-npcm.c92 struct notifier_block restart_nb; member
107 restart_nb); in npcm_rc_restart()
475 rc->restart_nb.priority = 192; in npcm_rc_probe()
476 rc->restart_nb.notifier_call = npcm_rc_restart; in npcm_rc_probe()
477 ret = register_restart_handler(&rc->restart_nb); in npcm_rc_probe()
/linux/drivers/watchdog/
H A Dwatchdog_core.c183 restart_nb); in watchdog_restart_notifier()
237 wdd->restart_nb.priority = priority; in watchdog_set_restart_priority()
321 wdd->restart_nb.notifier_call = watchdog_restart_notifier; in ___watchdog_register_device()
323 ret = register_restart_handler(&wdd->restart_nb); in ___watchdog_register_device()
389 unregister_restart_handler(&wdd->restart_nb); in __watchdog_unregister_device()
/linux/include/linux/
H A Dwatchdog.h113 struct notifier_block restart_nb; member
/linux/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst62 struct notifier_block restart_nb;
104 * restart_nb: notifier block that is registered for machine restart, for