Searched refs:reboot_notifier (Results 1 - 10 of 10) sorted by relevance
/linux-4.4.14/drivers/input/misc/ |
H A D | pm8941-pwrkey.c | 54 struct notifier_block reboot_notifier; member in struct:pm8941_pwrkey 61 reboot_notifier); pm8941_reboot_notify() 251 pwrkey->reboot_notifier.notifier_call = pm8941_reboot_notify, pm8941_pwrkey_probe() 252 error = register_reboot_notifier(&pwrkey->reboot_notifier); pm8941_pwrkey_probe() 270 unregister_reboot_notifier(&pwrkey->reboot_notifier); pm8941_pwrkey_remove()
|
/linux-4.4.14/drivers/gpio/ |
H A D | gpio-brcmstb.c | 52 struct notifier_block reboot_notifier; member in struct:brcmstb_gpio_priv 262 container_of(nb, struct brcmstb_gpio_priv, reboot_notifier); brcmstb_gpio_reboot() 310 if (priv->reboot_notifier.notifier_call) { brcmstb_gpio_remove() 311 ret = unregister_reboot_notifier(&priv->reboot_notifier); brcmstb_gpio_remove() 391 priv->reboot_notifier.notifier_call = brcmstb_gpio_irq_setup() 393 register_reboot_notifier(&priv->reboot_notifier); brcmstb_gpio_irq_setup()
|
/linux-4.4.14/drivers/mtd/ |
H A D | mtdcore.c | 370 mtd = container_of(n, struct mtd_info, reboot_notifier); mtd_reboot_notifier() 627 WARN_ONCE(mtd->_reboot && mtd->reboot_notifier.notifier_call, mtd_device_parse_register() 629 if (mtd->_reboot && !mtd->reboot_notifier.notifier_call) { mtd_device_parse_register() 630 mtd->reboot_notifier.notifier_call = mtd_reboot_notifier; mtd_device_parse_register() 631 register_reboot_notifier(&mtd->reboot_notifier); mtd_device_parse_register() 651 unregister_reboot_notifier(&master->reboot_notifier); mtd_device_unregister()
|
/linux-4.4.14/arch/um/drivers/ |
H A D | mconsole_kern.c | 45 static struct notifier_block reboot_notifier = { variable in typeref:struct:notifier_block 716 register_reboot_notifier(&reboot_notifier); mconsole_init()
|
/linux-4.4.14/include/linux/mtd/ |
H A D | mtd.h | 243 struct notifier_block reboot_notifier; /* default mode before reboot */ member in struct:mtd_info
|
/linux-4.4.14/drivers/mtd/chips/ |
H A D | cfi_cmdset_0001.c | 494 mtd->reboot_notifier.notifier_call = cfi_intelext_reboot; cfi_cmdset_0001() 649 register_reboot_notifier(&mtd->reboot_notifier); cfi_intelext_setup() 2638 mtd = container_of(nb, struct mtd_info, reboot_notifier); cfi_intelext_reboot() 2650 unregister_reboot_notifier(&mtd->reboot_notifier); cfi_intelext_destroy()
|
H A D | cfi_cmdset_0002.c | 547 mtd->reboot_notifier.notifier_call = cfi_amdstd_reboot; cfi_cmdset_0002() 720 register_reboot_notifier(&mtd->reboot_notifier); cfi_amdstd_setup() 2906 mtd = container_of(nb, struct mtd_info, reboot_notifier); cfi_amdstd_reboot() 2918 unregister_reboot_notifier(&mtd->reboot_notifier); cfi_amdstd_destroy()
|
/linux-4.4.14/drivers/watchdog/ |
H A D | pcwd_pci.c | 46 #include <linux/reboot.h> /* For reboot_notifier stuff */
|
H A D | pcwd_usb.c | 38 #include <linux/reboot.h> /* For reboot_notifier stuff */
|
/linux-4.4.14/drivers/scsi/ |
H A D | ips.c | 94 /* - Hook into the reboot_notifier to flush the controller cache */
|
Completed in 560 milliseconds