Searched refs:reset_nb (Results 1 – 2 of 2) sorted by relevance
72 struct notifier_block reset_nb; member79 container_of(this, struct litex_soc_ctrl_device, reset_nb); in litex_reset_handler()112 soc_ctrl_dev->reset_nb.notifier_call = litex_reset_handler; in litex_soc_ctrl_probe()113 soc_ctrl_dev->reset_nb.priority = 128; in litex_soc_ctrl_probe()114 error = register_restart_handler(&soc_ctrl_dev->reset_nb); in litex_soc_ctrl_probe()127 unregister_restart_handler(&soc_ctrl_dev->reset_nb); in litex_soc_ctrl_remove()
26 struct notifier_block reset_nb; member46 struct mmc_pwrseq_emmc, reset_nb); in mmc_pwrseq_emmc_reset_nb()78 pwrseq->reset_nb.notifier_call = mmc_pwrseq_emmc_reset_nb; in mmc_pwrseq_emmc_probe()79 pwrseq->reset_nb.priority = 255; in mmc_pwrseq_emmc_probe()80 register_restart_handler(&pwrseq->reset_nb); in mmc_pwrseq_emmc_probe()97 unregister_restart_handler(&pwrseq->reset_nb); in mmc_pwrseq_emmc_remove()
Completed in 5 milliseconds