Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/reset/
A 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()
A 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()
A 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()
A Dreset-npcm.c88 struct notifier_block restart_nb; member
102 restart_nb); in npcm_rc_restart()
411 rc->restart_nb.priority = 192, in npcm_rc_probe()
412 rc->restart_nb.notifier_call = npcm_rc_restart, in npcm_rc_probe()
413 ret = register_restart_handler(&rc->restart_nb); in npcm_rc_probe()
/linux-6.3-rc2/drivers/power/reset/
A Datc260x-poweroff.c19 struct notifier_block restart_nb; member
179 restart_nb); in atc260x_pwrc_restart_handler()
197 priv->restart_nb.notifier_call = atc260x_pwrc_restart_handler; in atc260x_pwrc_probe()
198 priv->restart_nb.priority = 192; in atc260x_pwrc_probe()
228 ret = register_restart_handler(&priv->restart_nb); in atc260x_pwrc_probe()
245 unregister_restart_handler(&priv->restart_nb); in atc260x_pwrc_remove()
A 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-6.3-rc2/drivers/watchdog/
A Dwatchdog_core.c182 restart_nb); in watchdog_restart_notifier()
236 wdd->restart_nb.priority = priority; in watchdog_set_restart_priority()
319 wdd->restart_nb.notifier_call = watchdog_restart_notifier; in __watchdog_register_device()
321 ret = register_restart_handler(&wdd->restart_nb); in __watchdog_register_device()
379 unregister_restart_handler(&wdd->restart_nb); in __watchdog_unregister_device()
/linux-6.3-rc2/drivers/pinctrl/qcom/
A Dpinctrl-msm.c67 struct notifier_block restart_nb; member
1402 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart()
1413 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff()
1423 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset()
1424 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset()
1425 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset()
1529 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()
/linux-6.3-rc2/include/linux/
A Dwatchdog.h109 struct notifier_block restart_nb; member
/linux-6.3-rc2/Documentation/watchdog/
A Dwatchdog-kernel-api.rst62 struct notifier_block restart_nb;
104 * restart_nb: notifier block that is registered for machine restart, for

Completed in 15 milliseconds