Lines Matching defs:timeout
57 /* Use a default timeout of 20s. This should be
62 static int timeout = WATCHDOG_TIMEOUT;
63 module_param(timeout, int, 0);
64 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default="
81 printk(KERN_ERR PFX "timeout value must be between 0 and %d",
85 timeout = new_timeout;
87 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare);
107 /* reset the ERRCS timeout bit in case it's set */
112 /* set the timeout (either default or based on module param) */
113 rc32434_wdt_set(timeout);
115 /* reset WTC timeout bit and enable WDT */
242 return copy_to_user(argp, &timeout, sizeof(int));
292 if (rc32434_wdt_set(timeout)) {
295 "timeout value must be between 0 and %d\n",
305 printk(banner, timeout);