Lines Matching refs:timeout
80 unsigned int t = wdd->timeout * 1000; in watchdog_need_worker()
102 unsigned int timeout_ms = wdd->timeout * 1000; in watchdog_next_keepalive()
369 unsigned int timeout) in watchdog_set_timeout() argument
376 if (watchdog_timeout_invalid(wdd, timeout)) in watchdog_set_timeout()
380 err = wdd->ops->set_timeout(wdd, timeout); in watchdog_set_timeout()
381 trace_watchdog_set_timeout(wdd, timeout, err); in watchdog_set_timeout()
383 wdd->timeout = timeout; in watchdog_set_timeout()
385 if (wdd->pretimeout >= wdd->timeout) in watchdog_set_timeout()
402 unsigned int timeout) in watchdog_set_pretimeout() argument
409 if (watchdog_pretimeout_invalid(wdd, timeout)) in watchdog_set_pretimeout()
413 err = wdd->ops->set_pretimeout(wdd, timeout); in watchdog_set_pretimeout()
415 wdd->pretimeout = timeout; in watchdog_set_pretimeout()
520 return sysfs_emit(buf, "%u\n", wdd->timeout); in timeout_show()
522 static DEVICE_ATTR_RO(timeout);
821 if (wdd->timeout == 0) { in watchdog_ioctl()
825 err = put_user(wdd->timeout, p); in watchdog_ioctl()