Home
last modified time | relevance | path

Searched refs:reset_nb (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/soc/litex/
Dlitex_soc_ctrl.c72 struct notifier_block reset_nb; member
79 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()
/Linux-v6.6/drivers/mmc/core/
Dpwrseq_emmc.c26 struct notifier_block reset_nb; member
46 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()