Searched refs:reboot_notifier (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/drivers/rtc/ |
D | rtc-brcmstb-waketimer.c | 31 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() 277 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_remove()
|
/Linux-v5.10/drivers/power/reset/ |
D | reboot-mode.c | 48 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()
|
/Linux-v5.10/drivers/input/misc/ |
D | pm8941-pwrkey.c | 53 struct notifier_block reboot_notifier; member 63 reboot_notifier); in pm8941_reboot_notify() 274 pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify, in pm8941_pwrkey_probe() 275 error = register_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_probe() 292 unregister_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_remove()
|
/Linux-v5.10/drivers/watchdog/ |
D | rave-sp-wdt.c | 57 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()
|
/Linux-v5.10/include/linux/ |
D | reboot-mode.h | 9 struct notifier_block reboot_notifier; member
|
/Linux-v5.10/drivers/mtd/ |
D | mtdcore.c | 404 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier() 843 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, in mtd_device_parse_register() 845 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register() 846 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register() 847 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register() 869 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
|
/Linux-v5.10/arch/um/drivers/ |
D | mconsole_kern.c | 48 static struct notifier_block reboot_notifier = { variable 737 register_reboot_notifier(&reboot_notifier); in mconsole_init()
|
/Linux-v5.10/Documentation/scsi/ |
D | ChangeLog.ips | 60 - Hook into the reboot_notifier to flush the controller
|
/Linux-v5.10/include/linux/mtd/ |
D | mtd.h | 365 struct notifier_block reboot_notifier; /* default mode before reboot */ member
|
/Linux-v5.10/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 507 mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; in cfi_cmdset_0001() 665 register_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_setup() 2662 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_intelext_reboot() 2674 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_destroy()
|
D | cfi_cmdset_0002.c | 618 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; in cfi_cmdset_0002() 790 register_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_setup() 3091 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_amdstd_reboot() 3103 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_destroy()
|
/Linux-v5.10/drivers/md/ |
D | dm-integrity.c | 269 struct notifier_block reboot_notifier; member 2906 struct dm_integrity_c *ic = container_of(n, struct dm_integrity_c, reboot_notifier); in dm_integrity_reboot() 2920 WARN_ON(unregister_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_postsuspend() 3059 ic->reboot_notifier.notifier_call = dm_integrity_reboot; in dm_integrity_resume() 3060 ic->reboot_notifier.next = NULL; in dm_integrity_resume() 3061 ic->reboot_notifier.priority = INT_MAX - 1; /* be notified after md and before hardware drivers */ in dm_integrity_resume() 3062 WARN_ON(register_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_resume()
|