Lines Matching defs:timeout
30 static int timeout = TS72XX_WDT_DEFAULT_TIMEOUT;
31 module_param(timeout, int, 0);
32 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds. "
33 "(1 <= timeout <= 8, default="
44 * @regval: watchdog timeout value suitable for control register
87 int timeout;
97 * timeout_to_regval() - converts given timeout to control register value
98 * @new_timeout: timeout in seconds to be converted
112 if (ts72xx_wdt_map[i].timeout >= new_timeout)
120 * regval_to_timeout() - converts control register value to timeout
123 * Function converts given @regval to timeout in seconds (1, 2, 4 or 8).
132 return ts72xx_wdt_map[i].timeout;
153 * This function programs timeout to watchdog timer
187 * Try to convert default timeout to valid register
190 regval = timeout_to_regval(timeout);
193 "failed to convert timeout (%d) to register value\n",
194 timeout);