Lines Matching refs:tx_count
170 int tx_count; member
932 if (info->tx_count) { in write()
935 tx_load_dma_buffer(info, info->tx_buf, info->tx_count); in write()
938 ret = info->tx_count = count; in write()
945 min(info->max_frame_size - info->tx_count - 1, in write()
956 info->tx_count += c; in write()
966 ret = info->tx_count = 0; in write()
969 tx_load_dma_buffer(info, info->tx_buf, info->tx_count); in write()
972 if (info->tx_count && !tty->stopped && !tty->hw_stopped) { in write()
1010 if (info->tx_count < info->max_frame_size - 1) { in put_char()
1014 info->tx_count++; in put_char()
1126 ret = info->max_frame_size - info->tx_count - 1; in write_room()
1147 __FILE__,__LINE__,info->device_name,info->tx_count); in flush_chars()
1152 if (info->tx_count <= 0 || tty->stopped || tty->hw_stopped || in flush_chars()
1164 info->tx_count ) { in flush_chars()
1169 info->tx_buf,info->tx_count); in flush_chars()
1192 info->tx_count = info->tx_put = info->tx_get = 0; in flush_buffer()
1434 __FILE__, __LINE__, info->device_name, info->tx_count); in chars_in_buffer()
1436 return info->tx_count; in chars_in_buffer()
1590 info->tx_count = skb->len; in hdlcdev_xmit()
2233 info->tx_count = info->tx_put = info->tx_get = 0; in isr_txeom()
2294 __FILE__,__LINE__,info->device_name,info->tx_count); in isr_txrdy()
2309 if ( info->tx_count ) in isr_txrdy()
2317 if (info->tx_count < WAKEUP_CHARS) in isr_txrdy()
2705 info->tx_count = info->tx_put = info->tx_get = 0; in program_hw()
4183 __FILE__,__LINE__, info->device_name,info->tx_count ); in tx_start()
4191 if ( info->tx_count ) { in tx_start()
4282 if ( !info->tx_count && !info->x_char ) in tx_load_fifo()
4287 while( info->tx_count && (read_reg(info,SR0) & BIT1) ) { in tx_load_fifo()
4292 if ( (info->tx_count > 1) && !info->x_char ) { in tx_load_fifo()
4303 info->tx_count -= 2; in tx_load_fifo()
4316 info->tx_count--; in tx_load_fifo()
5253 info->tx_count = count; in loopback_test()
5469 info->tx_count = info->tx_put = info->tx_get = 0; in tx_timeout()