Home
last modified time | relevance | path

Searched refs:reboot_notifier (Results 1 – 10 of 10) sorted by relevance

/drivers/rtc/
Drtc-brcmstb-waketimer.c31 struct notifier_block reboot_notifier; member
110 timer = container_of(nb, struct brcmstb_waketmr, reboot_notifier); in brcmstb_waketmr_reboot()
249 timer->reboot_notifier.notifier_call = brcmstb_waketmr_reboot; in brcmstb_waketmr_probe()
250 register_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_probe()
264 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_probe()
276 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_remove()
/drivers/power/reset/
Dreboot-mode.c48 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify()
104 reboot->reboot_notifier.notifier_call = reboot_mode_notify; in reboot_mode_register()
105 register_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_register()
125 unregister_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_unregister()
/drivers/watchdog/
Drave-sp-wdt.c57 struct notifier_block reboot_notifier; member
152 container_of(nb, struct rave_sp_wdt, reboot_notifier); in rave_sp_wdt_reboot_notifier()
293 sp_wd->reboot_notifier.notifier_call = rave_sp_wdt_reboot_notifier; in rave_sp_wdt_probe()
294 ret = devm_register_reboot_notifier(dev, &sp_wd->reboot_notifier); in rave_sp_wdt_probe()
/drivers/input/misc/
Dpm8941-pwrkey.c59 struct notifier_block reboot_notifier; member
69 reboot_notifier); in pm8941_reboot_notify()
287 pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify; in pm8941_pwrkey_probe()
288 error = register_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_probe()
307 unregister_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_remove()
/drivers/soc/tegra/
Dregulators-tegra30.c27 struct notifier_block reboot_notifier; member
337 reboot_notifier); in tegra30_regulator_reboot()
397 .reboot_notifier.notifier_call = tegra30_regulator_reboot,
407 err = register_reboot_notifier(&tegra30_coupler.reboot_notifier); in tegra_regulator_coupler_init()
Dregulators-tegra20.c27 struct notifier_block reboot_notifier; member
375 reboot_notifier); in tegra20_regulator_reboot()
446 .reboot_notifier.notifier_call = tegra20_regulator_reboot,
456 err = register_reboot_notifier(&tegra20_coupler.reboot_notifier); in tegra_regulator_coupler_init()
/drivers/mtd/
Dmtdcore.c406 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier()
1002 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, in mtd_device_parse_register()
1004 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register()
1005 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register()
1006 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register()
1033 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
/drivers/mtd/chips/
Dcfi_cmdset_0001.c524 mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; in cfi_cmdset_0001()
682 register_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_setup()
2680 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_intelext_reboot()
2692 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_destroy()
Dcfi_cmdset_0002.c636 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; in cfi_cmdset_0002()
808 register_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_setup()
3092 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_amdstd_reboot()
3104 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_destroy()
/drivers/md/
Ddm-integrity.c278 struct notifier_block reboot_notifier; member
3060 struct dm_integrity_c *ic = container_of(n, struct dm_integrity_c, reboot_notifier); in dm_integrity_reboot()
3074 WARN_ON(unregister_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_postsuspend()
3228 ic->reboot_notifier.notifier_call = dm_integrity_reboot; in dm_integrity_resume()
3229 ic->reboot_notifier.next = NULL; in dm_integrity_resume()
3230 ic->reboot_notifier.priority = INT_MAX - 1; /* be notified after md and before hardware drivers */ in dm_integrity_resume()
3231 WARN_ON(register_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_resume()