Lines Matching +full:wdt +full:- +full:timer +full:- +full:index
1 // SPDX-License-Identifier: GPL-2.0+
8 * on acquirewdt.c which is based on wdt.c.
13 * is based on wdt.c.
15 * (c) Copyright 2000-2001 Marek Michalkiewicz <marekm@linux.org.pl>
17 * Based on acquirewdt.c which is based on wdt.c.
25 * "AS-IS" and at no charge.
29 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com>
58 * Watchdog Timer Configuration
60 * The function of the watchdog timer is to reset the system automatically
61 * and is defined at I/O port 0120H and 0121H. To enable the watchdog timer
63 * below to I/O port 0120H and 0121H. To disable the timer, write a zero
66 * The following describes how the timer should be programmed (according to
76 * MOV AX,000nH (set multiplier n, from 1-4)
79 * MOV AX,000mH (set base timer m, from 0-F)
83 * Reset timer:
84 * MOV AX,000mH (same as set base timer, above)
96 * --|----------------------------------
198 MODULE_PARM_DESC(timeout, "Index into timeout table (0-63) (default=27 (60s))");
208 /* Activate and pre-configure watchdog */
225 /* Write the base timer register */ in sbc8360_ping()
232 /* De-activate the watchdog */ in sbc8360_stop()
250 return -EFAULT; in sbc8360_write()
263 return -EBUSY; in sbc8360_open()
330 pr_err("Invalid timeout index (must be 0-63)\n"); in sbc8360_init()
331 res = -EINVAL; in sbc8360_init()
338 res = -EIO; in sbc8360_init()
344 res = -EIO; in sbc8360_init()