Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/rtc/
H A 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()
277 unregister_reboot_notifier(&timer->reboot_notifier); in brcmstb_waketmr_remove()
/OK3568_Linux_fs/kernel/drivers/input/misc/
H A Dpm8941-pwrkey.c53 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()
/OK3568_Linux_fs/kernel/drivers/watchdog/
H A 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()
/OK3568_Linux_fs/kernel/drivers/power/reset/
H A Dreboot-mode.c75 reboot = container_of(this, struct reboot_mode_driver, reboot_notifier); in reboot_mode_notify()
169 reboot->reboot_notifier.notifier_call = reboot_mode_notify; in reboot_mode_register()
172 register_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_register()
196 unregister_reboot_notifier(&reboot->reboot_notifier); in reboot_mode_unregister()
/OK3568_Linux_fs/kernel/include/linux/
H A Dreboot-mode.h10 struct notifier_block reboot_notifier; member
/OK3568_Linux_fs/kernel/drivers/mfd/
H A Drk808.c987 struct notifier_block reboot_notifier; member
1004 data = container_of(nb, struct rk817_reboot_data_t, reboot_notifier); in rk817_reboot_notifier_handler()
1099 rk817_reboot_data.reboot_notifier.notifier_call = in rk817_of_property_prepare()
1101 ret = register_reboot_notifier(&rk817_reboot_data.reboot_notifier); in rk817_of_property_prepare()
/OK3568_Linux_fs/kernel/drivers/mtd/
H A Dmtdcore.c404 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier()
846 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, in mtd_device_parse_register()
848 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register()
849 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register()
850 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register()
872 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dmconsole_kern.c48 static struct notifier_block reboot_notifier = { variable
738 register_reboot_notifier(&reboot_notifier); in mconsole_init()
/OK3568_Linux_fs/kernel/Documentation/scsi/
H A DChangeLog.ips60 - Hook into the reboot_notifier to flush the controller
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dmtd.h299 struct notifier_block reboot_notifier; /* default mode before reboot */ member
/OK3568_Linux_fs/kernel/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c507 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()
H A Dcfi_cmdset_0002.c632 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; in cfi_cmdset_0002()
804 register_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_setup()
3086 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_amdstd_reboot()
3098 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_destroy()
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dmtd.h365 struct notifier_block reboot_notifier; /* default mode before reboot */ member
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-integrity.c271 struct notifier_block reboot_notifier; member
2954 struct dm_integrity_c *ic = container_of(n, struct dm_integrity_c, reboot_notifier); in dm_integrity_reboot()
2968 WARN_ON(unregister_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_postsuspend()
3116 ic->reboot_notifier.notifier_call = dm_integrity_reboot; in dm_integrity_resume()
3117 ic->reboot_notifier.next = NULL; in dm_integrity_resume()
3118 ic->reboot_notifier.priority = INT_MAX - 1; /* be notified after md and before hardware drivers */ in dm_integrity_resume()
3119 WARN_ON(register_reboot_notifier(&ic->reboot_notifier)); in dm_integrity_resume()
/OK3568_Linux_fs/kernel/drivers/bluetooth/
H A Drtk_btusb.c161 struct notifier_block reboot_notifier; member
3734 data = container_of(notifier, struct btusb_data, reboot_notifier); in bt_reboot_notify()
4255 data->reboot_notifier.notifier_call = bt_reboot_notify; in btusb_probe()
4257 register_reboot_notifier(&data->reboot_notifier); in btusb_probe()
4317 unregister_reboot_notifier(&data->reboot_notifier); in btusb_disconnect()