Searched refs:char_time (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.1/drivers/tty/ |
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()
|
D | mxser.c | 1399 unsigned long expire, char_time; in mxser_wait_until_sent() local 1415 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in mxser_wait_until_sent() 1416 char_time = char_time / 5; in mxser_wait_until_sent() 1417 if (char_time == 0) in mxser_wait_until_sent() 1418 char_time = 1; in mxser_wait_until_sent() 1419 if (timeout && timeout < char_time) in mxser_wait_until_sent() 1420 char_time = timeout; in mxser_wait_until_sent() 1422 char_time = jiffies_to_msecs(char_time); in mxser_wait_until_sent() 1439 msleep_interruptible(char_time); in mxser_wait_until_sent()
|
D | synclink_gt.c | 826 unsigned long orig_jiffies, char_time; in wait_until_sent() local 845 char_time = info->timeout/(32 * 5); in wait_until_sent() 846 if (!char_time) in wait_until_sent() 847 char_time++; in wait_until_sent() 849 char_time = 1; in wait_until_sent() 852 char_time = min_t(unsigned long, char_time, timeout); in wait_until_sent() 855 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
|
/Linux-v6.1/drivers/char/pcmcia/ |
D | synclink_cs.c | 2356 unsigned long orig_jiffies, char_time; in mgslpc_wait_until_sent() local 2380 char_time = info->timeout/(32 * 5); in mgslpc_wait_until_sent() 2381 if (!char_time) in mgslpc_wait_until_sent() 2382 char_time++; in mgslpc_wait_until_sent() 2384 char_time = 1; in mgslpc_wait_until_sent() 2387 char_time = min_t(unsigned long, char_time, timeout); in mgslpc_wait_until_sent() 2391 msleep_interruptible(jiffies_to_msecs(char_time)); in mgslpc_wait_until_sent() 2400 msleep_interruptible(jiffies_to_msecs(char_time)); in mgslpc_wait_until_sent()
|
/Linux-v6.1/drivers/tty/serial/ |
D | serial_core.c | 1747 unsigned long char_time, expire, fifo_timeout; in uart_wait_until_sent() local 1766 char_time = max(nsecs_to_jiffies(port->frame_time / 5), 1UL); in uart_wait_until_sent() 1768 if (timeout && timeout < char_time) in uart_wait_until_sent() 1769 char_time = timeout; in uart_wait_until_sent() 1797 msleep_interruptible(jiffies_to_msecs(char_time)); in uart_wait_until_sent()
|
D | serial-tegra.c | 937 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); in tegra_uart_hw_deinit() local 938 unsigned long fifo_empty_time = tup->uport.fifosize * char_time; in tegra_uart_hw_deinit()
|