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

/linux-master/drivers/tty/
H A Damiserial.c1269 unsigned long orig_jiffies, char_time; local
1282 char_time = (info->timeout - HZ/50) / XMIT_FIFO_SIZE;
1283 char_time = char_time / 5;
1284 if (char_time == 0)
1285 char_time = 1;
1287 char_time = min_t(unsigned long, char_time, timeout);
1300 printk("In rs_wait_until_sent(%d) check=%lu...", timeout, char_time);
1307 msleep_interruptible(jiffies_to_msecs(char_time));
[all...]
H A Dmxser.c1400 unsigned long expire, char_time; local
1416 char_time = (info->timeout - HZ / 50) / info->xmit_fifo_size;
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;
1423 char_time = jiffies_to_msecs(char_time);
[all...]
H A Dsynclink_gt.c823 unsigned long orig_jiffies, char_time; local
842 char_time = info->timeout/(32 * 5);
843 if (!char_time)
844 char_time++;
846 char_time = 1;
849 char_time = min_t(unsigned long, char_time, timeout);
852 msleep_interruptible(jiffies_to_msecs(char_time));
/linux-master/drivers/tty/serial/
H A Dserial_core.c1819 unsigned long char_time, expire, fifo_timeout; local
1838 char_time = max(nsecs_to_jiffies(port->frame_time / 5), 1UL);
1840 if (timeout && timeout < char_time)
1841 char_time = timeout;
1864 * Check whether the transmitter is empty every 'char_time'.
1869 msleep_interruptible(jiffies_to_msecs(char_time));
H A Dserial-tegra.c936 unsigned long char_time = DIV_ROUND_UP(10000000, tup->current_baud); local
937 unsigned long fifo_empty_time = tup->uport.fifosize * char_time;

Completed in 157 milliseconds