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

/linux-4.1.27/include/linux/
H A Dbcm47xx_wdt.h19 struct notifier_block restart_handler; member in struct:bcm47xx_wdt
/linux-4.1.27/drivers/power/reset/
H A Dgpio-restart.c28 struct notifier_block restart_handler; member in struct:gpio_restart
38 container_of(this, struct gpio_restart, restart_handler); gpio_restart_notify()
80 gpio_restart->restart_handler.notifier_call = gpio_restart_notify; gpio_restart_probe()
81 gpio_restart->restart_handler.priority = 128; gpio_restart_probe()
92 gpio_restart->restart_handler.priority = property; gpio_restart_probe()
104 ret = register_restart_handler(&gpio_restart->restart_handler); gpio_restart_probe()
119 ret = unregister_restart_handler(&gpio_restart->restart_handler); gpio_restart_remove()
H A Dsyscon-reboot.c31 struct notifier_block restart_handler; member in struct:syscon_reboot_context
39 restart_handler); syscon_restart_handle()
70 ctx->restart_handler.notifier_call = syscon_restart_handle; syscon_reboot_probe()
71 ctx->restart_handler.priority = 192; syscon_reboot_probe()
72 err = register_restart_handler(&ctx->restart_handler); syscon_reboot_probe()
H A Dxgene-reboot.c41 struct notifier_block restart_handler; member in struct:xgene_reboot_context
49 restart_handler); xgene_restart_handler()
81 ctx->restart_handler.notifier_call = xgene_restart_handler; xgene_reboot_probe()
82 ctx->restart_handler.priority = 128; xgene_reboot_probe()
83 err = register_restart_handler(&ctx->restart_handler); xgene_reboot_probe()
/linux-4.1.27/drivers/watchdog/
H A Dmoxart_wdt.c32 struct notifier_block restart_handler; member in struct:moxart_wdt_dev
42 restart_handler); moxart_restart_handle()
144 moxart_wdt->restart_handler.notifier_call = moxart_restart_handle; moxart_wdt_probe()
145 moxart_wdt->restart_handler.priority = 128; moxart_wdt_probe()
146 err = register_restart_handler(&moxart_wdt->restart_handler); moxart_wdt_probe()
161 unregister_restart_handler(&moxart_wdt->restart_handler); moxart_wdt_remove()
H A Dda9063_wdt.c42 struct notifier_block restart_handler; member in struct:da9063_watchdog
129 restart_handler); da9063_wdt_restart_handler()
188 wdt->restart_handler.notifier_call = da9063_wdt_restart_handler; da9063_wdt_probe()
189 wdt->restart_handler.priority = 128; da9063_wdt_probe()
190 ret = register_restart_handler(&wdt->restart_handler); da9063_wdt_probe()
202 unregister_restart_handler(&wdt->restart_handler); da9063_wdt_remove()
H A Dmeson_wdt.c48 struct notifier_block restart_handler; member in struct:meson_wdt_dev
57 restart_handler); meson_restart_handle()
176 meson_wdt->restart_handler.notifier_call = meson_restart_handle; meson_wdt_probe()
177 meson_wdt->restart_handler.priority = 128; meson_wdt_probe()
178 err = register_restart_handler(&meson_wdt->restart_handler); meson_wdt_probe()
193 unregister_restart_handler(&meson_wdt->restart_handler); meson_wdt_remove()
H A Dmtk_wdt.c67 struct notifier_block restart_handler; member in struct:mtk_wdt_dev
76 mtk_wdt = container_of(this, struct mtk_wdt_dev, restart_handler); mtk_reset_handler()
200 mtk_wdt->restart_handler.notifier_call = mtk_reset_handler; mtk_wdt_probe()
201 mtk_wdt->restart_handler.priority = 128; mtk_wdt_probe()
202 err = register_restart_handler(&mtk_wdt->restart_handler); mtk_wdt_probe()
217 unregister_restart_handler(&mtk_wdt->restart_handler); mtk_wdt_remove()
H A Dbcm47xx_wdt.c177 wdt = container_of(this, struct bcm47xx_wdt, restart_handler); bcm47xx_wdt_restart()
223 wdt->restart_handler.notifier_call = &bcm47xx_wdt_restart; bcm47xx_wdt_probe()
224 wdt->restart_handler.priority = 64; bcm47xx_wdt_probe()
225 ret = register_restart_handler(&wdt->restart_handler); bcm47xx_wdt_probe()
239 unregister_restart_handler(&wdt->restart_handler); bcm47xx_wdt_probe()
H A Dsunxi_wdt.c63 struct notifier_block restart_handler; member in struct:sunxi_wdt_dev
94 restart_handler); sunxi_restart_handle()
280 sunxi_wdt->restart_handler.notifier_call = sunxi_restart_handle; sunxi_wdt_probe()
281 sunxi_wdt->restart_handler.priority = 128; sunxi_wdt_probe()
282 err = register_restart_handler(&sunxi_wdt->restart_handler); sunxi_wdt_probe()
297 unregister_restart_handler(&sunxi_wdt->restart_handler); sunxi_wdt_remove()
H A Ddw_wdt.c71 struct notifier_block restart_handler; member in struct:__anon10670
357 dw_wdt.restart_handler.notifier_call = dw_wdt_restart_handle; dw_wdt_drv_probe()
358 dw_wdt.restart_handler.priority = 128; dw_wdt_drv_probe()
359 ret = register_restart_handler(&dw_wdt.restart_handler); dw_wdt_drv_probe()
377 unregister_restart_handler(&dw_wdt.restart_handler); dw_wdt_drv_remove()
H A Dimx2_wdt.c67 struct notifier_block restart_handler; member in struct:imx2_wdt_device
92 restart_handler); imx2_restart_handler()
292 wdev->restart_handler.notifier_call = imx2_restart_handler; imx2_wdt_probe()
293 wdev->restart_handler.priority = 128; imx2_wdt_probe()
294 ret = register_restart_handler(&wdev->restart_handler); imx2_wdt_probe()
309 unregister_restart_handler(&wdev->restart_handler); imx2_wdt_remove()
H A Ds3c2410_wdt.c133 struct notifier_block restart_handler; member in struct:s3c2410_wdt
459 restart_handler); s3c2410wdt_restart()
634 wdt->restart_handler.notifier_call = s3c2410wdt_restart; s3c2410wdt_probe()
635 wdt->restart_handler.priority = 128; s3c2410wdt_probe()
636 ret = register_restart_handler(&wdt->restart_handler); s3c2410wdt_probe()
669 unregister_restart_handler(&wdt->restart_handler); s3c2410wdt_remove()

Completed in 192 milliseconds