Searched refs:restart_nb (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/reset/ |
D | reset-ath79.c | 27 struct notifier_block restart_nb; member 88 container_of(nb, struct ath79_reset, restart_nb); in ath79_reset_restart_handler() 124 ath79_reset->restart_nb.notifier_call = ath79_reset_restart_handler; in ath79_reset_probe() 125 ath79_reset->restart_nb.priority = 128; in ath79_reset_probe() 127 err = register_restart_handler(&ath79_reset->restart_nb); in ath79_reset_probe()
|
D | reset-lpc18xx.c | 38 struct notifier_block restart_nb; member 52 restart_nb); in lpc18xx_rgu_restart() 205 rc->restart_nb.priority = 192, in lpc18xx_rgu_probe() 206 rc->restart_nb.notifier_call = lpc18xx_rgu_restart, in lpc18xx_rgu_probe() 207 ret = register_restart_handler(&rc->restart_nb); in lpc18xx_rgu_probe()
|
/Linux-v4.19/drivers/power/reset/ |
D | msm-poweroff.c | 35 static struct notifier_block restart_nb = { variable 42 deassert_pshold(&restart_nb, 0, NULL); in do_msm_poweroff() 55 register_restart_handler(&restart_nb); in msm_restart_probe()
|
/Linux-v4.19/drivers/watchdog/ |
D | watchdog_core.c | 145 restart_nb); in watchdog_restart_notifier() 172 wdd->restart_nb.priority = priority; in watchdog_set_restart_priority() 230 wdd->restart_nb.notifier_call = watchdog_restart_notifier; in __watchdog_register_device() 232 ret = register_restart_handler(&wdd->restart_nb); in __watchdog_register_device() 272 unregister_restart_handler(&wdd->restart_nb); in __watchdog_unregister_device()
|
/Linux-v4.19/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 62 struct notifier_block restart_nb; member 976 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart() 987 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff() 997 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset() 998 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset() 999 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset() 1070 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()
|
/Linux-v4.19/include/linux/ |
D | watchdog.h | 112 struct notifier_block restart_nb; member
|
/Linux-v4.19/Documentation/watchdog/ |
D | watchdog-kernel-api.txt | 60 struct notifier_block restart_nb; 101 * restart_nb: notifier block that is registered for machine restart, for
|