Lines Matching refs:timeout
80 int timeout; member
98 static void rs_wait_until_sent(struct tty_struct *tty, int timeout);
632 info->timeout = (XMIT_FIFO_SIZE*HZ*bits*quot) / baud_base; in change_speed()
633 info->timeout += HZ/50; /* Add .02 seconds of slop */ in change_speed()
1254 rs_wait_until_sent(tty, state->timeout); in rs_close()
1268 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent() argument
1284 char_time = (info->timeout - HZ/50) / XMIT_FIFO_SIZE; in rs_wait_until_sent()
1288 if (timeout) in rs_wait_until_sent()
1289 char_time = min_t(unsigned long, char_time, timeout); in rs_wait_until_sent()
1299 if (!timeout || timeout > 2*info->timeout) in rs_wait_until_sent()
1300 timeout = 2*info->timeout; in rs_wait_until_sent()
1302 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time); in rs_wait_until_sent()
1312 if (timeout && time_after(jiffies, orig_jiffies + timeout)) in rs_wait_until_sent()