Home
last modified time | relevance | path

Searched refs:restart_handler (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/power/reset/
Dgpio-restart.c20 struct notifier_block restart_handler; member
30 container_of(this, struct gpio_restart, restart_handler); in gpio_restart_notify()
72 gpio_restart->restart_handler.notifier_call = gpio_restart_notify; in gpio_restart_probe()
73 gpio_restart->restart_handler.priority = 129; in gpio_restart_probe()
84 gpio_restart->restart_handler.priority = property; in gpio_restart_probe()
96 ret = register_restart_handler(&gpio_restart->restart_handler); in gpio_restart_probe()
111 ret = unregister_restart_handler(&gpio_restart->restart_handler); in gpio_restart_remove()
Dxgene-reboot.c27 struct notifier_block restart_handler; member
35 restart_handler); in xgene_restart_handler()
67 ctx->restart_handler.notifier_call = xgene_restart_handler; in xgene_reboot_probe()
68 ctx->restart_handler.priority = 128; in xgene_reboot_probe()
69 err = register_restart_handler(&ctx->restart_handler); in xgene_reboot_probe()
Docelot-reset.c21 struct notifier_block restart_handler; member
41 restart_handler); in ocelot_restart_handle()
79 ctx->restart_handler.notifier_call = ocelot_restart_handle; in ocelot_reset_probe()
80 ctx->restart_handler.priority = 192; in ocelot_reset_probe()
81 err = register_restart_handler(&ctx->restart_handler); in ocelot_reset_probe()
Dsyscon-reboot.c23 struct notifier_block restart_handler; member
31 restart_handler); in syscon_restart_handle()
76 ctx->restart_handler.notifier_call = syscon_restart_handle; in syscon_reboot_probe()
77 ctx->restart_handler.priority = 192; in syscon_reboot_probe()
78 err = register_restart_handler(&ctx->restart_handler); in syscon_reboot_probe()
/Linux-v5.4/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c117 static struct notifier_block restart_handler; in mpc85xx_cds_restart_register() local
119 restart_handler.notifier_call = mpc85xx_cds_restart; in mpc85xx_cds_restart_register()
120 restart_handler.priority = 192; in mpc85xx_cds_restart_register()
122 return register_restart_handler(&restart_handler); in mpc85xx_cds_restart_register()
/Linux-v5.4/drivers/spi/
Dspi-sprd-adi.c116 struct notifier_block restart_handler; member
335 restart_handler); in sprd_adi_restart_handler()
523 sadi->restart_handler.notifier_call = sprd_adi_restart_handler; in sprd_adi_probe()
524 sadi->restart_handler.priority = 128; in sprd_adi_probe()
525 ret = register_restart_handler(&sadi->restart_handler); in sprd_adi_probe()
543 unregister_restart_handler(&sadi->restart_handler); in sprd_adi_remove()
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_soc.c172 static struct notifier_block restart_handler = { in setup_rstcr() local
184 register_restart_handler(&restart_handler); in setup_rstcr()
/Linux-v5.4/drivers/watchdog/
Dimx7ulp_wdt.c44 struct notifier_block restart_handler; member