Lines Matching +full:wdt +full:- +full:interval

1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * any of this software. This material is provided "AS-IS" in
14 * 4/19 - 2001 [Initial revision]
15 * 9/27 - 2001 Added spinlocking
16 * 4/12 - 2002 [rob@osinvestor.com] Eliminate extra comments
27 * 09/8 - 2003 [wim@iguana.be] cleanup of trailing spaces
34 * This WDT driver is different from most other Linux WDT
36 * because this particular WDT has a very short timeout (1.6
70 * EMACS PC-104 board I'm using). If we reset the watchdog every
110 * we agree to ping the WDT in wdt_timer_ping()
113 /* Ping the WDT */ in wdt_timer_ping()
116 /* Ping the WDT by reading from WDT_PING */ in wdt_timer_ping()
119 /* Re-set the timer interval */ in wdt_timer_ping()
203 return -EFAULT; in fop_write()
219 return -EBUSY; in fop_open()
232 pr_crit("device file closed unexpectedly. Will not stop the WDT!\n"); in fop_close()
252 return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0; in fop_ioctl()
258 int new_options, retval = -EINVAL; in fop_ioctl()
261 return -EFAULT; in fop_ioctl()
283 return -EFAULT; in fop_ioctl()
287 return -EINVAL; in fop_ioctl()
296 return -ENOTTY; in fop_ioctl()
328 * The WDT needs to learn about soft shutdowns in order to
350 int rc = -EBUSY; in w83877f_wdt_init()
358 if (!request_region(ENABLE_W83877F_PORT, 2, "W83877F WDT")) { in w83877f_wdt_init()
361 rc = -EIO; in w83877f_wdt_init()
365 if (!request_region(WDT_PING, 1, "W8387FF WDT")) { in w83877f_wdt_init()
367 rc = -EIO; in w83877f_wdt_init()
384 pr_info("WDT driver for W83877F initialised. timeout=%d sec (nowayout=%d)\n", in w83877f_wdt_init()