Searched refs:restart_handler (Results 1 – 7 of 7) sorted by relevance
28 struct notifier_block restart_handler; member38 container_of(this, struct gpio_restart, restart_handler); in gpio_restart_notify()80 gpio_restart->restart_handler.notifier_call = gpio_restart_notify; in gpio_restart_probe()81 gpio_restart->restart_handler.priority = 129; in gpio_restart_probe()92 gpio_restart->restart_handler.priority = property; in gpio_restart_probe()104 ret = register_restart_handler(&gpio_restart->restart_handler); in gpio_restart_probe()119 ret = unregister_restart_handler(&gpio_restart->restart_handler); in gpio_restart_remove()
31 struct notifier_block restart_handler; member39 restart_handler); in syscon_restart_handle()70 ctx->restart_handler.notifier_call = syscon_restart_handle; in syscon_reboot_probe()71 ctx->restart_handler.priority = 192; in syscon_reboot_probe()72 err = register_restart_handler(&ctx->restart_handler); in syscon_reboot_probe()
41 struct notifier_block restart_handler; member49 restart_handler); in xgene_restart_handler()81 ctx->restart_handler.notifier_call = xgene_restart_handler; in xgene_reboot_probe()82 ctx->restart_handler.priority = 128; in xgene_reboot_probe()83 err = register_restart_handler(&ctx->restart_handler); in xgene_reboot_probe()
21 struct notifier_block restart_handler; member34 restart_handler); in ocelot_restart_handle()67 ctx->restart_handler.notifier_call = ocelot_restart_handle; in ocelot_reset_probe()68 ctx->restart_handler.priority = 192; in ocelot_reset_probe()69 err = register_restart_handler(&ctx->restart_handler); in ocelot_reset_probe()
121 static struct notifier_block restart_handler; in mpc85xx_cds_restart_register() local123 restart_handler.notifier_call = mpc85xx_cds_restart; in mpc85xx_cds_restart_register()124 restart_handler.priority = 192; in mpc85xx_cds_restart_register()126 return register_restart_handler(&restart_handler); in mpc85xx_cds_restart_register()
113 struct notifier_block restart_handler; member314 restart_handler); in sprd_adi_restart_handler()489 sadi->restart_handler.notifier_call = sprd_adi_restart_handler; in sprd_adi_probe()490 sadi->restart_handler.priority = 128; in sprd_adi_probe()491 ret = register_restart_handler(&sadi->restart_handler); in sprd_adi_probe()509 unregister_restart_handler(&sadi->restart_handler); in sprd_adi_remove()
176 static struct notifier_block restart_handler = { in setup_rstcr() local188 register_restart_handler(&restart_handler); in setup_rstcr()