Lines Matching defs:timeout
245 unsigned int timeout;
573 u64 timeout;
598 timeout = (u64)info->xmit_fifo_size * HZ * 10 * quot;
599 do_div(timeout, info->baud_base);
600 info->timeout = timeout + HZ / 50; /* Add .02 seconds of slop */
1045 unsigned long timeout;
1062 timeout = jiffies + HZ;
1065 if (time_after(jiffies, timeout))
1977 static void mxser_wait_until_sent(struct tty_struct *tty, int timeout)
1994 * interval should also be less than the timeout.
1999 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size;
2003 if (timeout && timeout < char_time)
2004 char_time = timeout;
2010 * takes longer than info->timeout, this is probably due to a
2011 * UART bug of some kind. So, we clamp the timeout parameter at
2012 * 2*info->timeout.
2014 if (!timeout || timeout > 2 * info->timeout)
2015 timeout = 2 * info->timeout;
2024 if (timeout && time_after(jiffies, orig_jiffies + timeout))