Lines Matching defs:xmit_cnt
252 int xmit_cnt;
938 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1029 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1111 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1120 info->xmit_cnt += c;
1128 if (info->xmit_cnt && !tty->stopped) {
1151 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1157 info->xmit_cnt++;
1179 if (info->xmit_cnt <= 0 || tty->stopped || !info->port.xmit_buf ||
1198 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
1205 return info->xmit_cnt;
1937 if (info->xmit_cnt && info->port.xmit_buf) {
2180 if (port->xmit_cnt <= 0 || tty->stopped ||
2189 cnt = port->xmit_cnt;
2195 if (--port->xmit_cnt <= 0)
2198 mxvar_log.txcnt[tty->index] += (cnt - port->xmit_cnt);
2200 port->mon_data.txcnt += (cnt - port->xmit_cnt);
2201 port->mon_data.up_txcnt += (cnt - port->xmit_cnt);
2202 port->icount.tx += (cnt - port->xmit_cnt);
2204 if (port->xmit_cnt < WAKEUP_CHARS)
2207 if (port->xmit_cnt <= 0) {