Home
last modified time | relevance | path

Searched refs:char_time (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/
Damiserial.c1304 unsigned long orig_jiffies, char_time; in rs_wait_until_sent() local
1320 char_time = (info->timeout - HZ/50) / info->xmit_fifo_size; in rs_wait_until_sent()
1321 char_time = char_time / 5; in rs_wait_until_sent()
1322 if (char_time == 0) in rs_wait_until_sent()
1323 char_time = 1; in rs_wait_until_sent()
1325 char_time = min_t(unsigned long, char_time, timeout); in rs_wait_until_sent()
1338 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time); in rs_wait_until_sent()
1345 msleep_interruptible(jiffies_to_msecs(char_time)); in rs_wait_until_sent()
Dmxser.c1980 unsigned long orig_jiffies, char_time; in mxser_wait_until_sent() local
1999 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in mxser_wait_until_sent()
2000 char_time = char_time / 5; in mxser_wait_until_sent()
2001 if (char_time == 0) in mxser_wait_until_sent()
2002 char_time = 1; in mxser_wait_until_sent()
2003 if (timeout && timeout < char_time) in mxser_wait_until_sent()
2004 char_time = timeout; in mxser_wait_until_sent()
2020 schedule_timeout_interruptible(char_time); in mxser_wait_until_sent()
Dcyclades.c1608 int char_time; in cy_wait_until_sent() local
1625 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in cy_wait_until_sent()
1626 char_time = char_time / 5; in cy_wait_until_sent()
1627 if (char_time <= 0) in cy_wait_until_sent()
1628 char_time = 1; in cy_wait_until_sent()
1632 char_time = min(char_time, timeout); in cy_wait_until_sent()
1648 if (msleep_interruptible(jiffies_to_msecs(char_time))) in cy_wait_until_sent()
1656 msleep_interruptible(jiffies_to_msecs(char_time * 5)); in cy_wait_until_sent()
Dsynclinkmp.c1052 unsigned long orig_jiffies, char_time; in wait_until_sent() local
1076 char_time = info->timeout/(32 * 5); in wait_until_sent()
1077 if (!char_time) in wait_until_sent()
1078 char_time++; in wait_until_sent()
1080 char_time = 1; in wait_until_sent()
1083 char_time = min_t(unsigned long, char_time, timeout); in wait_until_sent()
1087 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
1099 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
Dsynclink_gt.c833 unsigned long orig_jiffies, char_time; in wait_until_sent() local
852 char_time = info->timeout/(32 * 5); in wait_until_sent()
853 if (!char_time) in wait_until_sent()
854 char_time++; in wait_until_sent()
856 char_time = 1; in wait_until_sent()
859 char_time = min_t(unsigned long, char_time, timeout); in wait_until_sent()
862 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
Dsynclink.c3111 unsigned long orig_jiffies, char_time; in mgsl_wait_until_sent() local
3135 char_time = info->timeout/(32 * 5); in mgsl_wait_until_sent()
3136 if (!char_time) in mgsl_wait_until_sent()
3137 char_time++; in mgsl_wait_until_sent()
3139 char_time = 1; in mgsl_wait_until_sent()
3142 char_time = min_t(unsigned long, char_time, timeout); in mgsl_wait_until_sent()
3147 msleep_interruptible(jiffies_to_msecs(char_time)); in mgsl_wait_until_sent()
3156 msleep_interruptible(jiffies_to_msecs(char_time)); in mgsl_wait_until_sent()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dserial_core.c1658 unsigned long char_time, expire; in uart_wait_until_sent() local
1677 char_time = (port->timeout - HZ/50) / port->fifosize; in uart_wait_until_sent()
1678 char_time = char_time / 5; in uart_wait_until_sent()
1679 if (char_time == 0) in uart_wait_until_sent()
1680 char_time = 1; in uart_wait_until_sent()
1681 if (timeout && timeout < char_time) in uart_wait_until_sent()
1682 char_time = timeout; in uart_wait_until_sent()
1707 msleep_interruptible(jiffies_to_msecs(char_time)); in uart_wait_until_sent()
Dserial-tegra.c934 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); in tegra_uart_hw_deinit() local
935 unsigned long fifo_empty_time = tup->uport.fifosize * char_time; in tegra_uart_hw_deinit()
/kernel/linux/linux-5.10/drivers/char/pcmcia/
Dsynclink_cs.c2361 unsigned long orig_jiffies, char_time; in mgslpc_wait_until_sent() local
2385 char_time = info->timeout/(32 * 5); in mgslpc_wait_until_sent()
2386 if (!char_time) in mgslpc_wait_until_sent()
2387 char_time++; in mgslpc_wait_until_sent()
2389 char_time = 1; in mgslpc_wait_until_sent()
2392 char_time = min_t(unsigned long, char_time, timeout); in mgslpc_wait_until_sent()
2396 msleep_interruptible(jiffies_to_msecs(char_time)); in mgslpc_wait_until_sent()
2405 msleep_interruptible(jiffies_to_msecs(char_time)); in mgslpc_wait_until_sent()