Lines Matching defs:timeout
77 viawd_tmr_set(struct viawd_softc *sc, unsigned int timeout)
81 if (timeout < VIAWD_MEM_COUNT_MIN)
82 timeout = VIAWD_MEM_COUNT_MIN;
83 else if (timeout > VIAWD_MEM_COUNT_MAX)
84 timeout = VIAWD_MEM_COUNT_MAX;
86 viawd_write_4(sc, VIAWD_MEM_COUNT, timeout);
87 sc->timeout = timeout;
92 * the watchdog or change the initial timeout value.
98 unsigned int timeout;
102 timeout = ((uint64_t)1 << cmd) / 1000000000;
104 if (timeout != sc->timeout)
105 viawd_tmr_set(sc, timeout);