Home
last modified time | relevance | path

Searched refs:restart_handler (Results 1 - 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/drivers/power/reset/
H 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()
H 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()
H A 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()
H A 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()
H 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()
/kernel/linux/linux-6.6/drivers/power/reset/
H 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()
H 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()
H A Dsyscon-reboot.c22 struct notifier_block restart_handler; member
30 restart_handler); in syscon_restart_handle()
82 ctx->restart_handler.notifier_call = syscon_restart_handle; in syscon_reboot_probe()
83 ctx->restart_handler.priority = priority; in syscon_reboot_probe()
84 err = register_restart_handler(&ctx->restart_handler); in syscon_reboot_probe()
H A Docelot-reset.c29 struct notifier_block restart_handler; member
47 restart_handler); in ocelot_restart_handle()
91 ctx->restart_handler.notifier_call = ocelot_restart_handle; in ocelot_reset_probe()
92 ctx->restart_handler.priority = 192; in ocelot_reset_probe()
93 err = register_restart_handler(&ctx->restart_handler); in ocelot_reset_probe()
/kernel/linux/linux-6.6/drivers/reset/
H A Dreset-ma35d1.c22 struct notifier_block restart_handler; member
131 container_of(this, struct ma35d1_reset_data, restart_handler); in ma35d1_restart_handler()
216 reset_data->restart_handler.notifier_call = ma35d1_restart_handler; in ma35d1_reset_probe()
217 reset_data->restart_handler.priority = 192; in ma35d1_reset_probe()
220 err = register_restart_handler(&reset_data->restart_handler); in ma35d1_reset_probe()
/kernel/linux/linux-5.10/drivers/spi/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/85xx/
H A 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()
/kernel/linux/linux-6.6/arch/powerpc/sysdev/
H A Dfsl_soc.c157 static struct notifier_block restart_handler = { in setup_rstcr() local
169 register_restart_handler(&restart_handler); in setup_rstcr()
/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-sprd-adi.c153 struct notifier_block restart_handler; member
377 restart_handler); in sprd_adi_restart()
593 sadi->restart_handler.notifier_call = sadi->data->restart; in sprd_adi_probe()
594 sadi->restart_handler.priority = 128; in sprd_adi_probe()
595 ret = register_restart_handler(&sadi->restart_handler); in sprd_adi_probe()
614 unregister_restart_handler(&sadi->restart_handler); in sprd_adi_remove()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
H A Dfsl_soc.c172 static struct notifier_block restart_handler = { in setup_rstcr() local
184 register_restart_handler(&restart_handler); in setup_rstcr()

Completed in 7 milliseconds