Lines Matching defs:tx_count
157 int tx_count;
988 info->tx_count = info->tx_put = info->tx_get = 0;
1030 if (!info->tx_count)
1034 if (!info->tx_count)
1037 while (info->tx_count && fifo_count) {
1038 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get)));
1046 info->tx_count -= c;
1052 if (info->tx_count < WAKEUP_CHARS)
1056 if (info->tx_count)
1393 info->tx_count = info->tx_put = info->tx_get = 0;
1529 if (info->tx_count < TXBUFSIZE - 1) {
1532 info->tx_count++;
1549 printk( "%s(%d):mgslpc_flush_chars() entry on %s tx_count=%d\n",
1550 __FILE__,__LINE__,info->device_name,info->tx_count);
1555 if (info->tx_count <= 0 || tty->stopped ||
1601 else if (info->tx_count)
1607 min(TXBUFSIZE - info->tx_count - 1,
1616 info->tx_count += c;
1624 if (info->tx_count && !tty->stopped && !tty->hw_stopped) {
1654 ret = TXBUFSIZE - info->tx_count - 1;
1682 rc = info->tx_count;
1706 info->tx_count = info->tx_put = info->tx_get = 0;
1939 if (info->tx_active && info->tx_count &&
1944 info->tx_count = info->tx_put = info->tx_get = 0;
2443 while ((info->tx_count || info->tx_active) &&
3334 if (info->tx_count) {
3893 info->tx_count = info->tx_put = info->tx_get = 0;
3985 info->tx_put = info->tx_count = skb->len;