Lines Matching refs:tx_count
153 int tx_count;
972 info->tx_count = info->tx_put = info->tx_get = 0;
1014 if (!info->tx_count)
1018 if (!info->tx_count)
1021 while (info->tx_count && fifo_count) {
1022 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get)));
1030 info->tx_count -= c;
1036 if (info->tx_count < WAKEUP_CHARS)
1040 if (info->tx_count)
1375 info->tx_count = info->tx_put = info->tx_get = 0;
1504 if (info->tx_count < TXBUFSIZE - 1) {
1507 info->tx_count++;
1524 printk("%s(%d):mgslpc_flush_chars() entry on %s tx_count=%d\n",
1525 __FILE__, __LINE__, info->device_name, info->tx_count);
1530 if (info->tx_count <= 0 || tty->stopped ||
1576 else if (info->tx_count)
1582 min(TXBUFSIZE - info->tx_count - 1,
1591 info->tx_count += c;
1599 if (info->tx_count && !tty->stopped && !tty->hw_stopped) {
1629 ret = TXBUFSIZE - info->tx_count - 1;
1657 rc = info->tx_count;
1681 info->tx_count = info->tx_put = info->tx_get = 0;
1914 if (info->tx_active && info->tx_count &&
1919 info->tx_count = info->tx_put = info->tx_get = 0;
2403 while ((info->tx_count || info->tx_active) &&
3290 if (info->tx_count) {
3849 info->tx_count = info->tx_put = info->tx_get = 0;
3941 info->tx_put = info->tx_count = skb->len;