Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/power/reset/
A 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()
A 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()
A Dsyscon-reboot.c23 struct notifier_block restart_handler; member
31 restart_handler); in syscon_restart_handle()
83 ctx->restart_handler.notifier_call = syscon_restart_handle; in syscon_reboot_probe()
84 ctx->restart_handler.priority = priority; in syscon_reboot_probe()
85 err = register_restart_handler(&ctx->restart_handler); in syscon_reboot_probe()
A Docelot-reset.c29 struct notifier_block restart_handler; member
47 restart_handler); in ocelot_restart_handle()
94 ctx->restart_handler.notifier_call = ocelot_restart_handle; in ocelot_reset_probe()
95 ctx->restart_handler.priority = 192; in ocelot_reset_probe()
96 err = register_restart_handler(&ctx->restart_handler); in ocelot_reset_probe()
A 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-6.3-rc2/arch/powerpc/platforms/85xx/
A Dmpc85xx_cds.c118 static struct notifier_block restart_handler; in mpc85xx_cds_restart_register() local
120 restart_handler.notifier_call = mpc85xx_cds_restart; in mpc85xx_cds_restart_register()
121 restart_handler.priority = 192; in mpc85xx_cds_restart_register()
123 return register_restart_handler(&restart_handler); in mpc85xx_cds_restart_register()
/linux-6.3-rc2/drivers/spi/
A Dspi-sprd-adi.c154 struct notifier_block restart_handler; member
378 restart_handler); in sprd_adi_restart()
595 sadi->restart_handler.notifier_call = sadi->data->restart; in sprd_adi_probe()
596 sadi->restart_handler.priority = 128; in sprd_adi_probe()
597 ret = register_restart_handler(&sadi->restart_handler); in sprd_adi_probe()
616 unregister_restart_handler(&sadi->restart_handler); in sprd_adi_remove()
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dfsl_soc.c171 static struct notifier_block restart_handler = { in setup_rstcr() local
183 register_restart_handler(&restart_handler); in setup_rstcr()

Completed in 11 milliseconds