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()
1498 if (info->tx_count < TXBUFSIZE - 1) { in mgslpc_put_char()
1501 info->tx_count++; in mgslpc_put_char()
1519 __FILE__, __LINE__, info->device_name, info->tx_count); in mgslpc_flush_chars()
1524 if (info->tx_count <= 0 || tty->flow.stopped || in mgslpc_flush_chars()
1570 else if (info->tx_count) in mgslpc_write()
1576 min(TXBUFSIZE - info->tx_count - 1, in mgslpc_write()
1585 info->tx_count += c; in mgslpc_write()
1593 if (info->tx_count && !tty->flow.stopped && !tty->hw_stopped) { in mgslpc_write()
1623 ret = TXBUFSIZE - info->tx_count - 1; in mgslpc_write_room()
1651 rc = info->tx_count; in mgslpc_chars_in_buffer()
1675 info->tx_count = info->tx_put = info->tx_get = 0; in mgslpc_flush_buffer()
1908 if (info->tx_active && info->tx_count && in tx_abort()
1913 info->tx_count = info->tx_put = info->tx_get = 0; in tx_abort()
2398 while ((info->tx_count || info->tx_active) && in mgslpc_wait_until_sent()
3281 if (info->tx_count) { in tx_start()
3840 info->tx_count = info->tx_put = info->tx_get = 0; in tx_timeout()
3932 info->tx_put = info->tx_count = skb->len; in hdlcdev_xmit()