Lines Matching refs:timeout
52 /* Use a default timeout of 20s. This should be
57 static int timeout = WATCHDOG_TIMEOUT;
58 module_param(timeout, int, 0);
59 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default="
76 pr_err("timeout value must be between 0 and %d\n", max_to);
79 timeout = new_timeout;
81 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare);
101 /* reset the ERRCS timeout bit in case it's set */
106 /* set the timeout (either default or based on module param) */
107 rc32434_wdt_set(timeout);
109 /* reset WTC timeout bit and enable WDT */
235 return copy_to_user(argp, &timeout, sizeof(int)) ? -EFAULT : 0;
283 if (rc32434_wdt_set(timeout)) {
285 pr_info("timeout value must be between 0 and %d\n",
296 timeout);