Lines Matching defs:timeout
61 unsigned timeout;
74 static unsigned timeout = IMX2_WDT_DEFAULT_TIME;
75 module_param(timeout, uint, 0);
76 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
95 val |= WDOG_SEC_TO_COUNT(imx2_wdt.timeout);
112 /* ping it every imx2_wdt.timeout / 2 seconds to prevent reboot */
114 mod_timer(&imx2_wdt.timer, jiffies + imx2_wdt.timeout * HZ / 2);
127 /* Watchdog is enabled - time to reload the timeout value */
142 /* set the new timeout value in the WSR */
198 imx2_wdt.timeout = new_value;
203 return put_user(imx2_wdt.timeout, p);
279 imx2_wdt.timeout = clamp_t(unsigned, timeout, 1, IMX2_WDT_MAX_TIME);
280 if (imx2_wdt.timeout != timeout)
281 dev_warn(&pdev->dev, "Initial timeout out of range! "
282 "Clamped from %u to %u\n", timeout, imx2_wdt.timeout);
292 "IMX2+ Watchdog Timer enabled. timeout=%ds (nowayout=%d)\n",
293 imx2_wdt.timeout, nowayout);
322 * max timeout before reboot will take place */