Lines Matching full:timeout
8 * Note: From the PLD watchdog point of view timeout and pretimeout are
10 * First the pretimeout stage runs out before the timeout stage gets
14 * |-----------------------T timeout
86 static unsigned int timeout = DEFAULT_TIMEOUT; variable
87 module_param(timeout, uint, 0);
88 MODULE_PARM_DESC(timeout,
89 "Watchdog timeout in seconds. (>=0, default="
132 unsigned int timeout) in kempld_wdt_set_stage_timeout() argument
146 stage_timeout64 = (u64)timeout * pld->pld_clock; in kempld_wdt_set_stage_timeout()
175 unsigned int timeout; in kempld_wdt_get_timeout() local
193 timeout = stage_timeout; in kempld_wdt_get_timeout()
194 WARN_ON_ONCE(timeout != stage_timeout); in kempld_wdt_get_timeout()
196 return timeout; in kempld_wdt_get_timeout()
200 unsigned int timeout) in kempld_wdt_set_timeout() argument
211 timeout = wdt_data->pretimeout; in kempld_wdt_set_timeout()
218 timeout); in kempld_wdt_set_timeout()
222 wdd->timeout = timeout; in kempld_wdt_set_timeout()
239 if (pretimeout > wdd->timeout) in kempld_wdt_set_pretimeout()
250 wdd->timeout - pretimeout); in kempld_wdt_set_pretimeout()
263 unsigned int pretimeout, timeout; in kempld_wdt_update_timeouts() local
270 timeout = kempld_wdt_get_timeout(wdt_data, timeout_stage); in kempld_wdt_update_timeouts()
274 wdt_data->pretimeout = timeout; in kempld_wdt_update_timeouts()
278 wdt_data->wdd.timeout = pretimeout + timeout; in kempld_wdt_update_timeouts()
288 ret = kempld_wdt_set_timeout(wdd, wdd->timeout); in kempld_wdt_start()
398 /* Assign available stages to timeout and pretimeout */ in kempld_wdt_probe_stages()
476 kempld_wdt_set_timeout(wdd, timeout); in kempld_wdt_probe()
493 dev_info(dev, "Watchdog registered with %ds timeout\n", wdd->timeout); in kempld_wdt_probe()