Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
Dreset-intel-gw.c31 struct notifier_block restart_nb; member
162 reset_data = container_of(nb, struct intel_reset_data, restart_nb); in intel_reset_restart_handler()
219 data->restart_nb.notifier_call = intel_reset_restart_handler; in intel_reset_probe()
220 data->restart_nb.priority = 128; in intel_reset_probe()
221 register_restart_handler(&data->restart_nb); in intel_reset_probe()
Dreset-npcm.c57 struct notifier_block restart_nb; member
69 restart_nb); in npcm_rc_restart()
272 rc->restart_nb.priority = 192, in npcm_rc_probe()
273 rc->restart_nb.notifier_call = npcm_rc_restart, in npcm_rc_probe()
274 ret = register_restart_handler(&rc->restart_nb); in npcm_rc_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_core.c177 restart_nb); in watchdog_restart_notifier()
204 wdd->restart_nb.priority = priority; in watchdog_set_restart_priority()
287 wdd->restart_nb.notifier_call = watchdog_restart_notifier; in __watchdog_register_device()
289 ret = register_restart_handler(&wdd->restart_nb); in __watchdog_register_device()
338 unregister_restart_handler(&wdd->restart_nb); in __watchdog_unregister_device()
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/
Dpinctrl-msm.c64 struct notifier_block restart_nb; member
1343 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart()
1354 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff()
1364 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset()
1365 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset()
1366 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset()
1470 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()
/kernel/linux/linux-5.10/include/linux/
Dwatchdog.h109 struct notifier_block restart_nb; member
/kernel/linux/linux-5.10/Documentation/watchdog/
Dwatchdog-kernel-api.rst62 struct notifier_block restart_nb;
104 * restart_nb: notifier block that is registered for machine restart, for