Lines Matching refs:timeout

25  * Watchdog selector to timeout in seconds.
27 * others: timeout = 2048 ms * 2^(TWDSCALE-1).
53 * Read the currently active timeout.
73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout)
79 * The watchdog triggers a reboot if a timeout value is already
80 * programmed because the timeout value combines two functions
82 * The watchdog must be disabled to be able to change the timeout
84 * new timeout value which enables the watchdog again.
91 regval = da9063_wdt_timeout_to_sel(timeout);
102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout);
145 unsigned int timeout)
152 * 1. The watchdog is off and someone wants to set the timeout for the
154 * 2. The watchdog is already running and a new timeout value should be
157 * The watchdog can't store a timeout value not equal zero without
158 * enabling the watchdog, so the timeout must be buffered by the driver.
161 ret = da9063_wdt_update_timeout(da9063, timeout);
164 dev_err(da9063->dev, "Failed to set watchdog timeout (err = %d)\n",
167 wdd->timeout = wdt_timeout[da9063_wdt_timeout_to_sel(timeout)];
220 unsigned int timeout;
247 wdd->timeout = DA9063_WDG_TIMEOUT;
249 /* Use pre-configured timeout if watchdog is already running. */
250 timeout = da9063_wdt_read_timeout(da9063);
251 if (timeout)
252 wdd->timeout = timeout;
254 /* Set timeout, maybe override it with DT value, scale it */
256 da9063_wdt_set_timeout(wdd, wdd->timeout);
258 /* Update timeout if the watchdog is already running. */
259 if (timeout) {
260 da9063_wdt_update_timeout(da9063, wdd->timeout);