Lines Matching refs:timeout
35 /* The maximum CKS register setting value to get the longest timeout */
50 static void rza_wdt_calc_timeout(struct rza_wdt *priv, int timeout)
56 ticks = DIV_ROUND_UP(timeout * rate, DIVIDER_4BIT);
59 * Since max_timeout was set in probe, we know that the timeout
66 /* Start timer with longest timeout */
70 pr_debug("%s: timeout set to %u (WTCNT=%d)\n", __func__,
71 timeout, priv->count);
85 rza_wdt_calc_timeout(priv, wdev->timeout);
110 pr_debug("%s: timeout = %u\n", __func__, wdev->timeout);
115 static int rza_set_timeout(struct watchdog_device *wdev, unsigned int timeout)
117 wdev->timeout = timeout;
206 * Since the max possible timeout of our 8-bit count
211 dev_dbg(dev, "max hw timeout of %dms\n",
216 priv->wdev.timeout = DEFAULT_TIMEOUT;