Searched refs:reboot_notifier (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/drivers/rtc/ |
D | rtc-brcmstb-waketimer.c | 39 struct notifier_block reboot_notifier; member 118 timer = container_of(nb, struct brcmstb_waketmr, reboot_notifier); in brcmstb_waketmr_reboot() 259 timer->reboot_notifier.notifier_call = brcmstb_waketmr_reboot; in brcmstb_waketmr_probe() 260 register_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_probe() 276 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_probe() 289 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_remove()
|
/Linux-v4.19/drivers/power/reset/ |
D | reboot-mode.c | 52 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify() 108 reboot->reboot_notifier.notifier_call = reboot_mode_notify; in reboot_mode_register() 109 register_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_register() 129 unregister_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_unregister()
|
/Linux-v4.19/drivers/input/misc/ |
D | pm8941-pwrkey.c | 61 struct notifier_block reboot_notifier; member 71 reboot_notifier); in pm8941_reboot_notify() 284 pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify, in pm8941_pwrkey_probe() 285 error = register_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_probe() 302 unregister_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_remove()
|
/Linux-v4.19/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-v4.19/include/linux/ |
D | reboot-mode.h | 9 struct notifier_block reboot_notifier; member
|
/Linux-v4.19/drivers/mtd/ |
D | mtdcore.c | 381 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier() 735 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, in mtd_device_parse_register() 737 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register() 738 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register() 739 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register() 761 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
|
/Linux-v4.19/arch/um/drivers/ |
D | mconsole_kern.c | 46 static struct notifier_block reboot_notifier = { variable 713 register_reboot_notifier(&reboot_notifier); in mconsole_init()
|
/Linux-v4.19/Documentation/scsi/ |
D | ChangeLog.ips | 60 - Hook into the reboot_notifier to flush the controller
|
/Linux-v4.19/include/linux/mtd/ |
D | mtd.h | 331 struct notifier_block reboot_notifier; /* default mode before reboot */ member
|
/Linux-v4.19/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 506 mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; in cfi_cmdset_0001() 664 register_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_setup() 2658 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_intelext_reboot() 2670 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_destroy()
|
D | cfi_cmdset_0002.c | 551 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; in cfi_cmdset_0002() 723 register_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_setup() 2903 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_amdstd_reboot() 2915 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_destroy()
|