Home
last modified time | relevance | path

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

/Linux-v5.10/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()
74 gpio_restart->restart_handler.notifier_call = gpio_restart_notify; in gpio_restart_probe()
75 gpio_restart->restart_handler.priority = 129; in gpio_restart_probe()
86 gpio_restart->restart_handler.priority = property; in gpio_restart_probe()
98 ret = register_restart_handler(&gpio_restart->restart_handler); in gpio_restart_probe()
113 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()
Dsyscon-reboot.c23 struct notifier_block restart_handler; member
31 restart_handler); in syscon_restart_handle()
79 ctx->restart_handler.notifier_call = syscon_restart_handle; in syscon_reboot_probe()
80 ctx->restart_handler.priority = 192; in syscon_reboot_probe()
81 err = register_restart_handler(&ctx->restart_handler); in syscon_reboot_probe()
Docelot-reset.c29 struct notifier_block restart_handler; member
45 restart_handler); in ocelot_restart_handle()
90 ctx->restart_handler.notifier_call = ocelot_restart_handle; in ocelot_reset_probe()
91 ctx->restart_handler.priority = 192; in ocelot_reset_probe()
92 err = register_restart_handler(&ctx->restart_handler); in ocelot_reset_probe()
Doxnas-restart.c96 struct notifier_block restart_handler; member
104 restart_handler); in ox820_restart_handle()
212 ctx->restart_handler.notifier_call = ox820_restart_handle; in ox820_restart_probe()
213 ctx->restart_handler.priority = 192; in ox820_restart_probe()
214 err = register_restart_handler(&ctx->restart_handler); in ox820_restart_probe()
/Linux-v5.10/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.10/drivers/spi/
Dspi-sprd-adi.c117 struct notifier_block restart_handler; member
336 restart_handler); in sprd_adi_restart_handler()
528 sadi->restart_handler.notifier_call = sprd_adi_restart_handler; in sprd_adi_probe()
529 sadi->restart_handler.priority = 128; in sprd_adi_probe()
530 ret = register_restart_handler(&sadi->restart_handler); in sprd_adi_probe()
548 unregister_restart_handler(&sadi->restart_handler); in sprd_adi_remove()
/Linux-v5.10/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()