Lines Matching refs:timeout
273 unsigned int timeout;
489 u64 timeout;
511 timeout = (u64)info->xmit_fifo_size * HZ * 10 * quot;
512 do_div(timeout, MXSER_BAUD_BASE);
513 info->timeout = timeout + HZ / 50; /* Add .02 seconds of slop */
1397 static void mxser_wait_until_sent(struct tty_struct *tty, int timeout)
1411 * interval should also be less than the timeout.
1416 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size;
1420 if (timeout && timeout < char_time)
1421 char_time = timeout;
1430 * takes longer than info->timeout, this is probably due to a
1431 * UART bug of some kind. So, we clamp the timeout parameter at
1432 * 2*info->timeout.
1434 if (!timeout || timeout > 2 * info->timeout)
1435 timeout = 2 * info->timeout;
1437 expire = jiffies + timeout;