Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/power/reset/
Dmsm-poweroff.c35 static struct notifier_block restart_nb = { variable
43 do_msm_restart(&restart_nb, 0, NULL); in do_msm_poweroff()
56 register_restart_handler(&restart_nb); in msm_restart_probe()
/linux-4.1.27/drivers/watchdog/
Dqcom-wdt.c31 struct notifier_block restart_nb; member
93 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()
/linux-4.1.27/drivers/pinctrl/qcom/
Dpinctrl-msm.c59 struct notifier_block restart_nb; member
851 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()