Home
last modified time | relevance | path

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

/openbmc/u-boot/board/xilinx/microblaze-generic/
H A Dmicroblaze-generic.c28 static struct udevice *watchdog_dev __attribute__((section(".data"))) = NULL; variable
54 if (!watchdog_dev) in watchdog_reset()
61 wdt_reset(watchdog_dev); in watchdog_reset()
71 watchdog_dev = NULL; in board_late_init()
73 if (uclass_get_device_by_seq(UCLASS_WDT, 0, &watchdog_dev)) { in board_late_init()
75 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_late_init()
81 wdt_start(watchdog_dev, 0, 0); in board_late_init()
/openbmc/u-boot/board/xilinx/zynq/
H A Dboard.c22 static struct udevice *watchdog_dev __attribute__((section(".data"))) = NULL; variable
35 if (uclass_get_device_by_seq(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
37 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
43 wdt_start(watchdog_dev, 0, 0); in board_init()
139 if (!watchdog_dev) in watchdog_reset()
146 wdt_reset(watchdog_dev); in watchdog_reset()
/openbmc/u-boot/arch/mips/mach-mt7620/
H A Dcpu.c73 static struct udevice *watchdog_dev __attribute__((section(".data"))) = NULL; variable
81 if (!watchdog_dev) in watchdog_reset()
89 wdt_reset(watchdog_dev); in watchdog_reset()
108 if (uclass_get_device_by_seq(UCLASS_WDT, 0, &watchdog_dev)) { in arch_misc_init()
110 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in arch_misc_init()
116 wdt_start(watchdog_dev, 60000, 0); /* 60 seconds */ in arch_misc_init()
/openbmc/u-boot/board/cssi/MCR3000/
H A DMCR3000.c151 struct udevice *watchdog_dev = NULL; in board_early_init_r() local
153 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_early_init_r()
157 wdt_start(watchdog_dev, 0xffff, 0); in board_early_init_r()
/openbmc/u-boot/board/xilinx/zynqmp/
H A Dzynqmp.c28 static struct udevice *watchdog_dev __attribute__((section(".data"))) = NULL; variable
344 if (uclass_get_device_by_seq(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
346 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
352 wdt_start(watchdog_dev, 0, 0); in board_init()
367 if (!watchdog_dev) in watchdog_reset()
374 wdt_reset(watchdog_dev); in watchdog_reset()
/openbmc/u-boot/board/CZ.NIC/turris_omnia/
H A Dturris_omnia.c368 static struct udevice *watchdog_dev __attribute__((section(".data"))) = 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()
/openbmc/u-boot/board/CZ.NIC/turris_mox/
H A Dturris_mox.c123 static struct udevice *watchdog_dev __attribute__((section(".data"))) = NULL; variable
130 if (!watchdog_dev) in watchdog_reset()
137 wdt_reset(watchdog_dev); in watchdog_reset()
149 if (uclass_get_device(UCLASS_WDT, 0, &watchdog_dev)) { in board_init()
153 wdt_start(watchdog_dev, 180000, 0); in board_init()
/openbmc/linux/drivers/watchdog/
H A DMakefile9 watchdog-objs += watchdog_core.o watchdog_dev.o
/openbmc/linux/Documentation/watchdog/
H A Dconvert_drivers_to_kernel_api.rst194 Replace misc_register(&miscdev) with watchdog_register_device(&watchdog_dev).