Home
last modified time | relevance | path

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

/linux-4.4.14/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()
/linux-4.4.14/drivers/watchdog/
Dbcm2835_wdt.c52 struct notifier_block restart_handler; member
126 restart_handler); in bcm2835_restart()
165 bcm2835_restart(&wdt->restart_handler, REBOOT_HARD, NULL); in bcm2835_power_off()
199 wdt->restart_handler.notifier_call = bcm2835_restart; in bcm2835_wdt_probe()
200 wdt->restart_handler.priority = 128; in bcm2835_wdt_probe()
201 register_restart_handler(&wdt->restart_handler); in bcm2835_wdt_probe()
213 unregister_restart_handler(&wdt->restart_handler); in bcm2835_wdt_remove()
Dmoxart_wdt.c32 struct notifier_block restart_handler; member
42 restart_handler); in moxart_restart_handle()
144 moxart_wdt->restart_handler.notifier_call = moxart_restart_handle; in moxart_wdt_probe()
145 moxart_wdt->restart_handler.priority = 128; in moxart_wdt_probe()
146 err = register_restart_handler(&moxart_wdt->restart_handler); in moxart_wdt_probe()
161 unregister_restart_handler(&moxart_wdt->restart_handler); in moxart_wdt_remove()
Ddigicolor_wdt.c31 struct notifier_block restart_handler; member
56 struct dc_wdt *wdt = container_of(this, struct dc_wdt, restart_handler); in dc_restart_handler()
158 wdt->restart_handler.notifier_call = dc_restart_handler; in dc_wdt_probe()
159 wdt->restart_handler.priority = 128; in dc_wdt_probe()
160 ret = register_restart_handler(&wdt->restart_handler); in dc_wdt_probe()
175 unregister_restart_handler(&wdt->restart_handler); in dc_wdt_remove()
Dda9063_wdt.c42 struct notifier_block restart_handler; member
129 restart_handler); in da9063_wdt_restart_handler()
189 wdt->restart_handler.notifier_call = da9063_wdt_restart_handler; in da9063_wdt_probe()
190 wdt->restart_handler.priority = 128; in da9063_wdt_probe()
191 ret = register_restart_handler(&wdt->restart_handler); in da9063_wdt_probe()
203 unregister_restart_handler(&wdt->restart_handler); in da9063_wdt_remove()
Dmeson_wdt.c48 struct notifier_block restart_handler; member
57 restart_handler); in meson_restart_handle()
176 meson_wdt->restart_handler.notifier_call = meson_restart_handle; in meson_wdt_probe()
177 meson_wdt->restart_handler.priority = 128; in meson_wdt_probe()
178 err = register_restart_handler(&meson_wdt->restart_handler); in meson_wdt_probe()
193 unregister_restart_handler(&meson_wdt->restart_handler); in meson_wdt_remove()
Dmtk_wdt.c67 struct notifier_block restart_handler; member
76 mtk_wdt = container_of(this, struct mtk_wdt_dev, restart_handler); in mtk_reset_handler()
201 mtk_wdt->restart_handler.notifier_call = mtk_reset_handler; in mtk_wdt_probe()
202 mtk_wdt->restart_handler.priority = 128; in mtk_wdt_probe()
203 err = register_restart_handler(&mtk_wdt->restart_handler); in mtk_wdt_probe()
226 unregister_restart_handler(&mtk_wdt->restart_handler); in mtk_wdt_remove()
Dimgpdc_wdt.c90 struct notifier_block restart_handler; member
174 restart_handler); in pdc_wdt_restart()
292 pdc_wdt->restart_handler.notifier_call = pdc_wdt_restart; in pdc_wdt_probe()
293 pdc_wdt->restart_handler.priority = 128; in pdc_wdt_probe()
294 ret = register_restart_handler(&pdc_wdt->restart_handler); in pdc_wdt_probe()
319 unregister_restart_handler(&pdc_wdt->restart_handler); in pdc_wdt_remove()
Dbcm47xx_wdt.c177 wdt = container_of(this, struct bcm47xx_wdt, restart_handler); in bcm47xx_wdt_restart()
224 wdt->restart_handler.notifier_call = &bcm47xx_wdt_restart; in bcm47xx_wdt_probe()
225 wdt->restart_handler.priority = 64; in bcm47xx_wdt_probe()
226 ret = register_restart_handler(&wdt->restart_handler); in bcm47xx_wdt_probe()
240 unregister_restart_handler(&wdt->restart_handler); in bcm47xx_wdt_probe()
Dlpc18xx_wdt.c62 struct notifier_block restart_handler; member
178 struct lpc18xx_wdt_dev, restart_handler); in lpc18xx_wdt_restart()
283 lpc18xx_wdt->restart_handler.notifier_call = lpc18xx_wdt_restart; in lpc18xx_wdt_probe()
284 lpc18xx_wdt->restart_handler.priority = 128; in lpc18xx_wdt_probe()
285 ret = register_restart_handler(&lpc18xx_wdt->restart_handler); in lpc18xx_wdt_probe()
309 unregister_restart_handler(&lpc18xx_wdt->restart_handler); in lpc18xx_wdt_remove()
Dsunxi_wdt.c63 struct notifier_block restart_handler; member
94 restart_handler); in sunxi_restart_handle()
280 sunxi_wdt->restart_handler.notifier_call = sunxi_restart_handle; in sunxi_wdt_probe()
281 sunxi_wdt->restart_handler.priority = 128; in sunxi_wdt_probe()
282 err = register_restart_handler(&sunxi_wdt->restart_handler); in sunxi_wdt_probe()
297 unregister_restart_handler(&sunxi_wdt->restart_handler); in sunxi_wdt_remove()
Ddw_wdt.c69 struct notifier_block restart_handler; member
351 dw_wdt.restart_handler.notifier_call = dw_wdt_restart_handle; in dw_wdt_drv_probe()
352 dw_wdt.restart_handler.priority = 128; in dw_wdt_drv_probe()
353 ret = register_restart_handler(&dw_wdt.restart_handler); in dw_wdt_drv_probe()
371 unregister_restart_handler(&dw_wdt.restart_handler); in dw_wdt_drv_remove()
Dimx2_wdt.c67 struct notifier_block restart_handler; member
92 restart_handler); in imx2_restart_handler()
297 wdev->restart_handler.notifier_call = imx2_restart_handler; in imx2_wdt_probe()
298 wdev->restart_handler.priority = 128; in imx2_wdt_probe()
299 ret = register_restart_handler(&wdev->restart_handler); in imx2_wdt_probe()
318 unregister_restart_handler(&wdev->restart_handler); in imx2_wdt_remove()
Ds3c2410_wdt.c133 struct notifier_block restart_handler; member
459 restart_handler); in s3c2410wdt_restart()
635 wdt->restart_handler.notifier_call = s3c2410wdt_restart; in s3c2410wdt_probe()
636 wdt->restart_handler.priority = 128; in s3c2410wdt_probe()
637 ret = register_restart_handler(&wdt->restart_handler); in s3c2410wdt_probe()
670 unregister_restart_handler(&wdt->restart_handler); in s3c2410wdt_remove()
/linux-4.4.14/include/linux/
Dbcm47xx_wdt.h19 struct notifier_block restart_handler; member