Searched refs:restart_nb (Results 1 – 3 of 3) sorted by relevance
35 static struct notifier_block restart_nb = { variable43 do_msm_restart(&restart_nb, 0, NULL); in do_msm_poweroff()56 register_restart_handler(&restart_nb); in msm_restart_probe()
31 struct notifier_block restart_nb; member93 struct qcom_wdt *wdt = container_of(nb, struct qcom_wdt, restart_nb); in qcom_wdt_restart()192 wdt->restart_nb.notifier_call = qcom_wdt_restart; in qcom_wdt_probe()193 ret = register_restart_handler(&wdt->restart_nb); in qcom_wdt_probe()209 unregister_restart_handler(&wdt->restart_nb); in qcom_wdt_remove()
59 struct notifier_block restart_nb; member851 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart()865 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset()866 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset()867 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset()935 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()