Lines Matching refs:new_timeout
163 static inline void wdt_timeout_value(unsigned char new_timeout) in wdt_timeout_value() argument
168 write_io_cr(0xF2, new_timeout); in wdt_timeout_value()
273 static void wb_smsc_wdt_set_timeout(unsigned char new_timeout) in wb_smsc_wdt_set_timeout() argument
280 wdt_timer_ctrl((new_timeout == 0) ? 0x00 : 0x02); in wb_smsc_wdt_set_timeout()
283 wdt_timeout_value(new_timeout); in wb_smsc_wdt_set_timeout()
422 int new_timeout; in wb_smsc_wdt_ioctl() local
468 if (get_user(new_timeout, uarg.i)) in wb_smsc_wdt_ioctl()
472 new_timeout /= 60; in wb_smsc_wdt_ioctl()
473 if (new_timeout < 0 || new_timeout > MAX_TIMEOUT) in wb_smsc_wdt_ioctl()
475 timeout = new_timeout; in wb_smsc_wdt_ioctl()
479 new_timeout = timeout; in wb_smsc_wdt_ioctl()
481 new_timeout *= 60; in wb_smsc_wdt_ioctl()
482 return put_user(new_timeout, uarg.i); in wb_smsc_wdt_ioctl()