Lines Matching refs:t
165 static void _wdt_update_timeout(unsigned int t) in _wdt_update_timeout() argument
172 if (t <= max_units) in _wdt_update_timeout()
175 t /= 60; in _wdt_update_timeout()
181 superio_outb(t, WDTVALLSB); in _wdt_update_timeout()
183 superio_outb(t >> 8, WDTVALMSB); in _wdt_update_timeout()
186 static int wdt_update_timeout(unsigned int t) in wdt_update_timeout() argument
195 _wdt_update_timeout(t); in wdt_update_timeout()
201 static int wdt_round_time(int t) in wdt_round_time() argument
203 t += 59; in wdt_round_time()
204 t -= t % 60; in wdt_round_time()
205 return t; in wdt_round_time()
230 static int wdt_set_timeout(struct watchdog_device *wdd, unsigned int t) in wdt_set_timeout() argument
234 if (t > max_units) in wdt_set_timeout()
235 t = wdt_round_time(t); in wdt_set_timeout()
237 wdd->timeout = t; in wdt_set_timeout()
240 ret = wdt_update_timeout(t); in wdt_set_timeout()