Lines Matching +full:timer +full:- +full:watchdog
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Intel 21285 watchdog driver
8 * SoftDog 0.05: A Software Watchdog Device
23 #include <linux/watchdog.h>
31 #include <asm/mach-types.h>
36 * Define this to stop the watchdog actually rebooting the machine.
46 * If the timer expires..
57 * Refresh the timer.
72 return -EBUSY; in watchdog_open()
75 return -EBUSY; in watchdog_open()
85 ret = request_irq(IRQ_TIMER4, watchdog_fire, 0, "watchdog", NULL); in watchdog_open()
93 * no way to disable the watchdog. in watchdog_open()
104 * Shut off the timer.
105 * Note: if we really have enabled the watchdog, there
121 * Refresh the timer. in watchdog_write()
131 .identity = "Footbridge Watchdog",
138 int new_margin, ret = -ENOTTY; in watchdog_ioctl()
144 ret = -EFAULT; in watchdog_ioctl()
164 ret = -EINVAL; in watchdog_ioctl()
191 .name = "watchdog",
200 return -ENODEV; in footbridge_watchdog_init()
206 pr_info("Footbridge Watchdog Timer: 0.01, timer margin: %d sec\n", in footbridge_watchdog_init()
210 pr_warn("Warning: Watchdog reset may not work on this machine\n"); in footbridge_watchdog_init()
220 MODULE_DESCRIPTION("Footbridge watchdog driver");
224 MODULE_PARM_DESC(soft_margin, "Watchdog timeout in seconds");