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()193 wdt->restart_nb.notifier_call = qcom_wdt_restart; in qcom_wdt_probe()194 ret = register_restart_handler(&wdt->restart_nb); in qcom_wdt_probe()210 unregister_restart_handler(&wdt->restart_nb); in qcom_wdt_remove()
60 struct notifier_block restart_nb; member840 struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); in msm_ps_hold_restart()851 msm_ps_hold_restart(&poweroff_pctrl->restart_nb, 0, NULL); in msm_ps_hold_poweroff()861 pctrl->restart_nb.notifier_call = msm_ps_hold_restart; in msm_pinctrl_setup_pm_reset()862 pctrl->restart_nb.priority = 128; in msm_pinctrl_setup_pm_reset()863 if (register_restart_handler(&pctrl->restart_nb)) in msm_pinctrl_setup_pm_reset()933 unregister_restart_handler(&pctrl->restart_nb); in msm_pinctrl_remove()