Lines Matching refs:xmit_cnt
437 c = min(info->xmit_fifo_room, info->xmit_cnt); in rp_do_transmit()
446 info->xmit_cnt -= c; in rp_do_transmit()
453 if (info->xmit_cnt == 0) in rp_do_transmit()
456 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_do_transmit()
467 printk(KERN_DEBUG "(%d,%d,%d,%d)...\n", info->xmit_cnt, info->xmit_head, in rp_do_transmit()
1388 info->xmit_cnt, info->xmit_fifo_room); in rp_stop()
1404 info->xmit_cnt, info->xmit_fifo_room); in rp_start()
1537 if (tty->stopped || info->xmit_fifo_room == 0 || info->xmit_cnt != 0) { in rp_put_char()
1540 info->xmit_cnt++; in rp_put_char()
1585 if (!tty->stopped && info->xmit_cnt == 0 && info->xmit_fifo_room > 0) { in rp_write()
1614 c = min(count, XMIT_BUF_SIZE - info->xmit_cnt - 1); in rp_write()
1625 info->xmit_cnt += c; in rp_write()
1637 if (info->xmit_cnt < WAKEUP_CHARS) { in rp_write()
1660 ret = XMIT_BUF_SIZE - info->xmit_cnt - 1; in rp_write_room()
1681 printk(KERN_INFO "rp_chars_in_buffer returns %d...\n", info->xmit_cnt); in rp_chars_in_buffer()
1683 return info->xmit_cnt; in rp_chars_in_buffer()
1701 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in rp_flush_buffer()