Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/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()