Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/reset/
Dreset-ath79.c18 struct notifier_block restart_nb; member
79 container_of(nb, struct ath79_reset, restart_nb); in ath79_reset_restart_handler()
115 ath79_reset->restart_nb.notifier_call = ath79_reset_restart_handler; in ath79_reset_probe()
116 ath79_reset->restart_nb.priority = 128; in ath79_reset_probe()
118 err = register_restart_handler(&ath79_reset->restart_nb); in ath79_reset_probe()
Dreset-lpc18xx.c34 struct notifier_block restart_nb; member
48 restart_nb); in lpc18xx_rgu_restart()
201 rc->restart_nb.priority = 192, in lpc18xx_rgu_probe()
202 rc->restart_nb.notifier_call = lpc18xx_rgu_restart, in lpc18xx_rgu_probe()
203 ret = register_restart_handler(&rc->restart_nb); in lpc18xx_rgu_probe()
/Linux-v5.4/drivers/power/reset/
Dmsm-poweroff.c26 static struct notifier_block restart_nb = { variable
33 deassert_pshold(&restart_nb, 0, NULL); in do_msm_poweroff()
46 register_restart_handler(&restart_nb); in msm_restart_probe()
/Linux-v5.4/drivers/watchdog/
Dwatchdog_core.c154 restart_nb); in watchdog_restart_notifier()
181 wdd->restart_nb.priority = priority; in watchdog_set_restart_priority()
239 wdd->restart_nb.notifier_call = watchdog_restart_notifier; in __watchdog_register_device()
241 ret = register_restart_handler(&wdd->restart_nb); in __watchdog_register_device()
290 unregister_restart_handler(&wdd->restart_nb); in __watchdog_unregister_device()
/Linux-v5.4/drivers/pinctrl/qcom/
Dpinctrl-msm.c55 struct notifier_block restart_nb; member
1075 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart()
1086 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff()
1096 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset()
1097 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset()
1098 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset()
1197 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()
/Linux-v5.4/include/linux/
Dwatchdog.h109 struct notifier_block restart_nb; member
/Linux-v5.4/Documentation/watchdog/
Dwatchdog-kernel-api.rst62 struct notifier_block restart_nb;
104 * restart_nb: notifier block that is registered for machine restart, for