Searched refs:fifo_timeout (Results 1 – 2 of 2) sorted by relevance
868 u64 fifo_timeout = (u64)READ_ONCE(port->frame_time) * port->fifosize; in uart_fifo_timeout() local871 fifo_timeout += 20 * NSEC_PER_MSEC; in uart_fifo_timeout()873 return max(nsecs_to_jiffies(fifo_timeout), 1UL); in uart_fifo_timeout()
1798 unsigned long char_time, expire, fifo_timeout; in uart_wait_until_sent() local1832 fifo_timeout = uart_fifo_timeout(port); in uart_wait_until_sent()1833 if (timeout == 0 || timeout > 2 * fifo_timeout) in uart_wait_until_sent()1834 timeout = 2 * fifo_timeout; in uart_wait_until_sent()