Home
last modified time | relevance | path

Searched refs:watchdog_dev (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/board/xilinx/zynq/
Dboard.c21 static struct udevice *watchdog_dev; variable
29 watchdog_dev = NULL; in board_early_init_f()
39 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
42 wdt_start(watchdog_dev, 0, 0); in board_init()
124 if (!watchdog_dev) in watchdog_reset()
131 wdt_reset(watchdog_dev); in watchdog_reset()
/external/u-boot/board/CZ.NIC/turris_mox/
Dturris_mox.c19 static struct udevice *watchdog_dev; variable
26 if (!watchdog_dev) in watchdog_reset()
33 wdt_reset(watchdog_dev); in watchdog_reset()
45 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
49 wdt_start(watchdog_dev, 180000, 0); in board_init()
/external/u-boot/board/xilinx/zynqmp/
Dzynqmp.c29 static struct udevice *watchdog_dev; variable
293 watchdog_dev = NULL; in board_early_init_f()
315 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
318 wdt_start(watchdog_dev, 0, 0); in board_init()
334 if (!watchdog_dev) in watchdog_reset()
341 wdt_reset(watchdog_dev); in watchdog_reset()
/external/u-boot/board/CZ.NIC/turris_omnia/
Dturris_omnia.c368 static struct udevice *watchdog_dev = NULL; variable
378 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
382 wdt_start(watchdog_dev, (u32) 25000000 * 120, 0); in board_init()
403 if (!watchdog_dev) in watchdog_reset()
410 wdt_reset(watchdog_dev); in watchdog_reset()