Lines Matching refs:xmit_cnt
326 int xmit_cnt;
1134 c = min_t(int, count, min(SERIAL_XMIT_SIZE - info->xmit_cnt - 1,
1143 info->xmit_cnt += c;
1151 if (info->xmit_cnt && !tty->stopped && !(info->IER & UART_IER_THRI)) {
1172 if (info->xmit_cnt >= SERIAL_XMIT_SIZE - 1)
1178 info->xmit_cnt++;
1198 if (info->xmit_cnt <= 0 ||
1220 ret = SERIAL_XMIT_SIZE - info->xmit_cnt - 1;
1229 return info->xmit_cnt;
1240 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1786 if (info->xmit_cnt && info->xmit_buf && !(info->IER & UART_IER_THRI)) {
2011 if ( info->x_char || (info->xmit_cnt > 0) )
2195 if ((info->xmit_cnt <= 0) || info->tty->stopped ||
2205 cnt = info->xmit_cnt;
2211 if (--info->xmit_cnt <= 0)
2214 mxvar_log.txcnt[info->port] += (cnt - info->xmit_cnt);
2217 info->mon_data.txcnt += (cnt - info->xmit_cnt);
2218 info->mon_data.up_txcnt += (cnt - info->xmit_cnt);
2222 info->icount.tx += (cnt - info->xmit_cnt);
2225 if (info->xmit_cnt < WAKEUP_CHARS) {
2229 if (info->xmit_cnt <= 0) {
2442 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;