Searched refs:char_time (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/tty/ |
H A D | amiserial.c | 1271 unsigned long orig_jiffies, char_time; in rs_wait_until_sent() local 1284 char_time = (info->timeout - HZ/50) / XMIT_FIFO_SIZE; in rs_wait_until_sent() 1285 char_time = char_time / 5; in rs_wait_until_sent() 1286 if (char_time == 0) in rs_wait_until_sent() 1287 char_time = 1; in rs_wait_until_sent() 1289 char_time = min_t(unsigned long, char_time, timeout); in rs_wait_until_sent() 1302 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time); in rs_wait_until_sent() 1309 msleep_interruptible(jiffies_to_msecs(char_time)); in rs_wait_until_sent()
|
H A D | mxser.c | 1400 unsigned long expire, char_time; in mxser_wait_until_sent() local 1416 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in mxser_wait_until_sent() 1417 char_time = char_time / 5; in mxser_wait_until_sent() 1418 if (char_time == 0) in mxser_wait_until_sent() 1419 char_time = 1; in mxser_wait_until_sent() 1420 if (timeout && timeout < char_time) in mxser_wait_until_sent() 1421 char_time = timeout; in mxser_wait_until_sent() 1423 char_time = jiffies_to_msecs(char_time); in mxser_wait_until_sent() 1440 msleep_interruptible(char_time); in mxser_wait_until_sent()
|
H A D | synclink_gt.c | 823 unsigned long orig_jiffies, char_time; in wait_until_sent() local 842 char_time = info->timeout/(32 * 5); in wait_until_sent() 843 if (!char_time) in wait_until_sent() 844 char_time++; in wait_until_sent() 846 char_time = 1; in wait_until_sent() 849 char_time = min_t(unsigned long, char_time, timeout); in wait_until_sent() 852 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | serial_core.c | 1823 unsigned long char_time, expire, fifo_timeout; in uart_wait_until_sent() local 1842 char_time = max(nsecs_to_jiffies(port->frame_time / 5), 1UL); in uart_wait_until_sent() 1844 if (timeout && timeout < char_time) in uart_wait_until_sent() 1845 char_time = timeout; in uart_wait_until_sent() 1873 msleep_interruptible(jiffies_to_msecs(char_time)); in uart_wait_until_sent()
|
H A D | serial-tegra.c | 936 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); in tegra_uart_hw_deinit() local 937 unsigned long fifo_empty_time = tup->uport.fifosize * char_time; in tegra_uart_hw_deinit()
|