Lines Matching defs:timeout
69 #define WATCHDOG_TIMEOUT 60 /* 1 minute default timeout */
79 static int timeout = 60; /* default timeout in seconds */
80 module_param(timeout, int, 0);
81 MODULE_PARM_DESC(timeout,
82 "Watchdog timeout in seconds. 1<= timeout <="
99 " given initial timeout. Zero (default) disables this feature.");
129 unsigned short timeout;
204 static int watchdog_set_timeout(int timeout)
206 if (timeout <= 0
207 || timeout > max_timeout) {
208 printk(KERN_ERR DRVNAME ": watchdog timeout out of range\n");
214 watchdog.timeout = timeout;
215 if (timeout > 0xff) {
216 watchdog.timer_val = DIV_ROUND_UP(timeout, 60);
219 watchdog.timer_val = timeout;
550 return put_user(watchdog.timeout, uarg.i);
611 err = watchdog_set_timeout(timeout);
634 ": starting timeout out of range\n");
673 ": watchdog started with initial timeout of %u sec\n",