Searched refs:restart_nb (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/reset/ |
H A D | reset-ath79.c | 18 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 D | reset-lpc18xx.c | 34 struct notifier_block restart_nb; member 48 restart_nb); in lpc18xx_rgu_restart() 197 rc->restart_nb.priority = 192, in lpc18xx_rgu_probe() 198 rc->restart_nb.notifier_call = lpc18xx_rgu_restart, in lpc18xx_rgu_probe() 199 ret = register_restart_handler(&rc->restart_nb); in lpc18xx_rgu_probe()
|
H A D | reset-intel-gw.c | 31 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()
|
H A D | reset-npcm.c | 92 struct notifier_block restart_nb; member 107 restart_nb); in npcm_rc_restart() 476 rc->restart_nb.priority = 192, in npcm_rc_probe() 477 rc->restart_nb.notifier_call = npcm_rc_restart, in npcm_rc_probe() 478 ret = register_restart_handler(&rc->restart_nb); in npcm_rc_probe()
|
/openbmc/linux/drivers/power/reset/ |
H A D | atc260x-poweroff.c | 19 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()
|
H A D | msm-poweroff.c | 26 static struct notifier_block restart_nb = { variable 33 deassert_pshold(&restart_nb, 0, NULL); in do_msm_poweroff() 42 register_restart_handler(&restart_nb); in msm_restart_probe()
|
/openbmc/linux/drivers/watchdog/ |
H A D | watchdog_core.c | 182 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()
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.c | 66 struct notifier_block restart_nb; member 1430 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart() 1441 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff() 1451 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset() 1452 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset() 1453 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset() 1556 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()
|
/openbmc/linux/include/linux/ |
H A D | watchdog.h | 109 struct notifier_block restart_nb; member
|
/openbmc/linux/Documentation/watchdog/ |
H A D | watchdog-kernel-api.rst | 62 struct notifier_block restart_nb; 104 * restart_nb: notifier block that is registered for machine restart, for
|