Lines Matching refs:xmit_cnt
256 int xmit_cnt; member
941 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_activate()
1028 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0; in mxser_flush_buffer()
1106 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1, in mxser_write()
1115 info->xmit_cnt += c; in mxser_write()
1123 if (info->xmit_cnt && !tty->stopped) { in mxser_write()
1146 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1) in mxser_put_char()
1152 info->xmit_cnt++; in mxser_put_char()
1174 if (info->xmit_cnt <= 0 || tty->stopped || !info->port.xmit_buf || in mxser_flush_chars()
1193 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1; in mxser_write_room()
1200 return info->xmit_cnt; in mxser_chars_in_buffer()
1924 if (info->xmit_cnt && info->port.xmit_buf) { in mxser_start()
2169 if (port->xmit_cnt <= 0 || tty->stopped || in mxser_transmit_chars()
2178 cnt = port->xmit_cnt; in mxser_transmit_chars()
2184 if (--port->xmit_cnt <= 0) in mxser_transmit_chars()
2187 mxvar_log.txcnt[tty->index] += (cnt - port->xmit_cnt); in mxser_transmit_chars()
2189 port->mon_data.txcnt += (cnt - port->xmit_cnt); in mxser_transmit_chars()
2190 port->mon_data.up_txcnt += (cnt - port->xmit_cnt); in mxser_transmit_chars()
2191 port->icount.tx += (cnt - port->xmit_cnt); in mxser_transmit_chars()
2193 if (port->xmit_cnt < WAKEUP_CHARS) in mxser_transmit_chars()
2196 if (port->xmit_cnt <= 0) { in mxser_transmit_chars()