Lines Matching refs:t
156 static void _wdt_update_timeout(unsigned int t) in _wdt_update_timeout() argument
163 if (t <= max_units) in _wdt_update_timeout()
166 t /= 60; in _wdt_update_timeout()
172 superio_outb(t, WDTVALLSB); in _wdt_update_timeout()
174 superio_outb(t >> 8, WDTVALMSB); in _wdt_update_timeout()
177 static int wdt_update_timeout(unsigned int t) in wdt_update_timeout() argument
186 _wdt_update_timeout(t); in wdt_update_timeout()
192 static int wdt_round_time(int t) in wdt_round_time() argument
194 t += 59; in wdt_round_time()
195 t -= t % 60; in wdt_round_time()
196 return t; in wdt_round_time()
221 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) in wdt_set_timeout() argument
225 if (t > max_units) in wdt_set_timeout()
226 t = wdt_round_time(t); in wdt_set_timeout()
228 wdd->timeout = t; in wdt_set_timeout()
231 ret = wdt_update_timeout(t); in wdt_set_timeout()