Lines Matching refs:xmit_cnt
454 c = min(info->xmit_fifo_room, info->xmit_cnt); in rp_do_transmit()
463 info->xmit_cnt -= c; in rp_do_transmit()
470 if (info->xmit_cnt == 0) in rp_do_transmit()
473 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_do_transmit()
484 printk(KERN_DEBUG "(%d,%d,%d,%d)...\n", info->xmit_cnt, info->xmit_head, in rp_do_transmit()
1429 info->xmit_cnt, info->xmit_fifo_room); in rp_stop()
1445 info->xmit_cnt, info->xmit_fifo_room); in rp_start()
1582 if (tty->stopped || tty->hw_stopped || info->xmit_fifo_room == 0 || info->xmit_cnt != 0) { in rp_put_char()
1585 info->xmit_cnt++; in rp_put_char()
1630 if (!tty->stopped && !tty->hw_stopped && info->xmit_cnt == 0 && info->xmit_fifo_room > 0) { in rp_write()
1659 c = min(count, XMIT_BUF_SIZE - info->xmit_cnt - 1); in rp_write()
1670 info->xmit_cnt += c; in rp_write()
1682 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_write()
1705 ret = XMIT_BUF_SIZE - info->xmit_cnt - 1; in rp_write_room()
1726 printk(KERN_INFO "rp_chars_in_buffer returns %d...\n", info->xmit_cnt); in rp_chars_in_buffer()
1728 return info->xmit_cnt; in rp_chars_in_buffer()
1746 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in rp_flush_buffer()