Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/
Damiserial.c1303 unsigned long orig_jiffies, char_time; in rs_wait_until_sent() local
1319 char_time = (info->timeout - HZ/50) / info->xmit_fifo_size; in rs_wait_until_sent()
1320 char_time = char_time / 5; in rs_wait_until_sent()
1321 if (char_time == 0) in rs_wait_until_sent()
1322 char_time = 1; in rs_wait_until_sent()
1324 char_time = min_t(unsigned long, char_time, timeout); in rs_wait_until_sent()
1337 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time); in rs_wait_until_sent()
1344 msleep_interruptible(jiffies_to_msecs(char_time)); in rs_wait_until_sent()
Dmxser.c1973 unsigned long orig_jiffies, char_time; in mxser_wait_until_sent() local
1992 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size; in mxser_wait_until_sent()
1993 char_time = char_time / 5; in mxser_wait_until_sent()
1994 if (char_time == 0) in mxser_wait_until_sent()
1995 char_time = 1; in mxser_wait_until_sent()
1996 if (timeout && timeout < char_time) in mxser_wait_until_sent()
1997 char_time = timeout; in mxser_wait_until_sent()
2013 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.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()
Dsynclink_gt.c888 unsigned long orig_jiffies, char_time; in wait_until_sent() local
907 char_time = info->timeout/(32 * 5); in wait_until_sent()
908 if (!char_time) in wait_until_sent()
909 char_time++; in wait_until_sent()
911 char_time = 1; in wait_until_sent()
914 char_time = min_t(unsigned long, char_time, timeout); in wait_until_sent()
917 msleep_interruptible(jiffies_to_msecs(char_time)); in wait_until_sent()
/Linux-v5.10/drivers/tty/serial/
Dserial_core.c1595 unsigned long char_time, expire; in uart_wait_until_sent() local
1614 char_time = (port->timeout - HZ/50) / port->fifosize; in uart_wait_until_sent()
1615 char_time = char_time / 5; in uart_wait_until_sent()
1616 if (char_time == 0) in uart_wait_until_sent()
1617 char_time = 1; in uart_wait_until_sent()
1618 if (timeout && timeout < char_time) in uart_wait_until_sent()
1619 char_time = timeout; in uart_wait_until_sent()
1644 msleep_interruptible(jiffies_to_msecs(char_time)); in uart_wait_until_sent()
Dserial-tegra.c933 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); in tegra_uart_hw_deinit() local
934 unsigned long fifo_empty_time = tup->uport.fifosize * char_time; in tegra_uart_hw_deinit()
/Linux-v5.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()