Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-brcmstb-waketimer.c39 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/
Dreboot-mode.c52 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/
Dpm8941-pwrkey.c61 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/
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()
/Linux-v4.19/include/linux/
Dreboot-mode.h9 struct notifier_block reboot_notifier; member
/Linux-v4.19/drivers/mtd/
Dmtdcore.c381 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/
Dmconsole_kern.c46 static struct notifier_block reboot_notifier = { variable
713 register_reboot_notifier(&reboot_notifier); in mconsole_init()
/Linux-v4.19/Documentation/scsi/
DChangeLog.ips60 - Hook into the reboot_notifier to flush the controller
/Linux-v4.19/include/linux/mtd/
Dmtd.h331 struct notifier_block reboot_notifier; /* default mode before reboot */ member
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c506 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()
Dcfi_cmdset_0002.c551 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()