Searched refs:reboot_notifier (Results 1 – 7 of 7) sorted by relevance
54 struct notifier_block reboot_notifier; member61 reboot_notifier); in pm8941_reboot_notify()251 pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify, in pm8941_pwrkey_probe()252 error = register_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_probe()270 unregister_reboot_notifier(&pwrkey->reboot_notifier); in pm8941_pwrkey_remove()
366 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier()586 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register()587 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register()588 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register()607 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
45 static struct notifier_block reboot_notifier = { variable716 register_reboot_notifier(&reboot_notifier); in mconsole_init()
60 - Hook into the reboot_notifier to flush the controller
243 struct notifier_block reboot_notifier; /* default mode before reboot */ member
547 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; in cfi_cmdset_0002()720 register_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_setup()2906 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_amdstd_reboot()2918 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_amdstd_destroy()
494 mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; in cfi_cmdset_0001()649 register_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_setup()2638 mtd = container_of(nb, struct mtd_info, reboot_notifier); in cfi_intelext_reboot()2650 unregister_reboot_notifier(&mtd->reboot_notifier); in cfi_intelext_destroy()