Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/reset/
Dgpio-restart.c28 struct notifier_block restart_handler; member
38 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()
Dsyscon-reboot.c31 struct notifier_block restart_handler; member
39 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()
Dxgene-reboot.c41 struct notifier_block restart_handler; member
49 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()
Docelot-reset.c21 struct notifier_block restart_handler; member
34 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()
/Linux-v4.19/arch/powerpc/platforms/85xx/
Dmpc85xx_cds.c121 static struct notifier_block restart_handler; in mpc85xx_cds_restart_register() local
123 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()
/Linux-v4.19/drivers/spi/
Dspi-sprd-adi.c113 struct notifier_block restart_handler; member
314 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()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_soc.c176 static struct notifier_block restart_handler = { in setup_rstcr() local
188 register_restart_handler(&restart_handler); in setup_rstcr()