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

/drivers/tty/
H A Damiserial.c1441 unsigned long orig_jiffies, char_time; local
1460 char_time = (info->timeout - HZ/50) / info->xmit_fifo_size;
1461 char_time = char_time / 5;
1462 if (char_time == 0)
1463 char_time = 1;
1465 char_time = min_t(unsigned long, char_time, timeout);
1478 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time);
1485 msleep_interruptible(jiffies_to_msecs(char_time));
[all...]
H A Dmxser.c1980 unsigned long orig_jiffies, char_time; local
1999 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size;
2000 char_time = char_time / 5;
2001 if (char_time == 0)
2002 char_time = 1;
2003 if (timeout && timeout < char_time)
2004 char_time = timeout;
2020 schedule_timeout_interruptible(char_time);
H A Dcyclades.c1621 int char_time; local
1638 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size;
1639 char_time = char_time / 5;
1640 if (char_time <= 0)
1641 char_time = 1;
1645 char_time = min(char_time, timeout);
1661 if (msleep_interruptible(jiffies_to_msecs(char_time)))
1669 msleep_interruptible(jiffies_to_msecs(char_time *
[all...]
H A Dsynclink.c3129 unsigned long orig_jiffies, char_time; local
3153 char_time = info->timeout/(32 * 5);
3154 if (!char_time)
3155 char_time++;
3157 char_time = 1;
3160 char_time = min_t(unsigned long, char_time, timeout);
3165 msleep_interruptible(jiffies_to_msecs(char_time));
3174 msleep_interruptible(jiffies_to_msecs(char_time));
H A Dsynclinkmp.c1066 unsigned long orig_jiffies, char_time; local
1090 char_time = info->timeout/(32 * 5);
1091 if (!char_time)
1092 char_time++;
1094 char_time = 1;
1097 char_time = min_t(unsigned long, char_time, timeout);
1101 msleep_interruptible(jiffies_to_msecs(char_time));
1113 msleep_interruptible(jiffies_to_msecs(char_time));
H A Dsynclink_gt.c903 unsigned long orig_jiffies, char_time; local
922 char_time = info->timeout/(32 * 5);
923 if (!char_time)
924 char_time++;
926 char_time = 1;
929 char_time = min_t(unsigned long, char_time, timeout);
932 msleep_interruptible(jiffies_to_msecs(char_time));
/drivers/tty/serial/
H A Dserial_core.c1403 unsigned long char_time, expire; local
1416 char_time = (port->timeout - HZ/50) / port->fifosize;
1417 char_time = char_time / 5;
1418 if (char_time == 0)
1419 char_time = 1;
1420 if (timeout && timeout < char_time)
1421 char_time = timeout;
1441 * Check whether the transmitter is empty every 'char_time'.
1446 msleep_interruptible(jiffies_to_msecs(char_time));
[all...]
H A Dserial-tegra.c780 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); local
781 unsigned long fifo_empty_time = tup->uport.fifosize * char_time;
/drivers/char/pcmcia/
H A Dsynclink_cs.c2374 unsigned long orig_jiffies, char_time; local
2398 char_time = info->timeout/(32 * 5);
2399 if (!char_time)
2400 char_time++;
2402 char_time = 1;
2405 char_time = min_t(unsigned long, char_time, timeout);
2409 msleep_interruptible(jiffies_to_msecs(char_time));
2418 msleep_interruptible(jiffies_to_msecs(char_time));

Completed in 163 milliseconds