/openbmc/u-boot/board/xilinx/microblaze-generic/ |
H A D | microblaze-generic.c | 28 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 D | board.c | 22 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 D | cpu.c | 73 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 D | MCR3000.c | 151 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 D | zynqmp.c | 28 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 D | turris_omnia.c | 368 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 D | turris_mox.c | 123 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 D | Makefile | 9 watchdog-objs += watchdog_core.o watchdog_dev.o
|
/openbmc/linux/Documentation/watchdog/ |
H A D | convert_drivers_to_kernel_api.rst | 194 Replace misc_register(&miscdev) with watchdog_register_device(&watchdog_dev).
|