Searched refs:reboot_notifier (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/input/misc/ |
D | pm8941-pwrkey.c | 54 struct notifier_block reboot_notifier; member 61 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()
|
/linux-4.4.14/drivers/gpio/ |
D | gpio-brcmstb.c | 52 struct notifier_block reboot_notifier; member 262 container_of(nb, struct brcmstb_gpio_priv, reboot_notifier); in brcmstb_gpio_reboot() 310 if (priv->reboot_notifier.notifier_call) { in brcmstb_gpio_remove() 311 ret = unregister_reboot_notifier(&priv->reboot_notifier); in brcmstb_gpio_remove() 391 priv->reboot_notifier.notifier_call = in brcmstb_gpio_irq_setup() 393 register_reboot_notifier(&priv->reboot_notifier); in brcmstb_gpio_irq_setup()
|
/linux-4.4.14/drivers/mtd/ |
D | mtdcore.c | 370 mtd = container_of(n, struct mtd_info, reboot_notifier); in mtd_reboot_notifier() 627 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, in mtd_device_parse_register() 629 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { in mtd_device_parse_register() 630 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; in mtd_device_parse_register() 631 register_reboot_notifier(&mtd->reboot_notifier); in mtd_device_parse_register() 651 unregister_reboot_notifier(&master->reboot_notifier); in mtd_device_unregister()
|
/linux-4.4.14/arch/um/drivers/ |
D | mconsole_kern.c | 45 static struct notifier_block reboot_notifier = { variable 716 register_reboot_notifier(&reboot_notifier); in mconsole_init()
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.ips | 60 - Hook into the reboot_notifier to flush the controller
|
/linux-4.4.14/include/linux/mtd/ |
D | mtd.h | 243 struct notifier_block reboot_notifier; /* default mode before reboot */ member
|
/linux-4.4.14/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 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()
|
D | cfi_cmdset_0001.c | 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()
|