Lines Matching refs:tx_count
153 int tx_count; member
970 info->tx_count = info->tx_put = info->tx_get = 0; in tx_done()
1012 if (!info->tx_count) in tx_ready()
1016 if (!info->tx_count) in tx_ready()
1019 while (info->tx_count && fifo_count) { in tx_ready()
1020 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get))); in tx_ready()
1028 info->tx_count -= c; in tx_ready()
1034 if (info->tx_count < WAKEUP_CHARS) in tx_ready()
1038 if (info->tx_count) in tx_ready()
1373 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_program_hw()
1496 if (info->tx_count < TXBUFSIZE - 1) { in mgslpc_put_char()
1499 info->tx_count++; in mgslpc_put_char()
1517 __FILE__, __LINE__, info->device_name, info->tx_count); in mgslpc_flush_chars()
1522 if (info->tx_count <= 0 || tty->flow.stopped || in mgslpc_flush_chars()
1568 else if (info->tx_count) in mgslpc_write()
1574 min(TXBUFSIZE - info->tx_count - 1, in mgslpc_write()
1583 info->tx_count += c; in mgslpc_write()
1591 if (info->tx_count && !tty->flow.stopped && !tty->hw_stopped) { in mgslpc_write()
1621 ret = TXBUFSIZE - info->tx_count - 1; in mgslpc_write_room()
1649 rc = info->tx_count; in mgslpc_chars_in_buffer()
1673 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_flush_buffer()
1906 if (info->tx_active && info->tx_count && in tx_abort()
1911 info->tx_count = info->tx_put = info->tx_get = 0; in tx_abort()
2395 while ((info->tx_count || info->tx_active) && in mgslpc_wait_until_sent()
3280 if (info->tx_count) { in tx_start()
3839 info->tx_count = info->tx_put = info->tx_get = 0; in tx_timeout()
3931 info->tx_put = info->tx_count = skb->len; in hdlcdev_xmit()