Lines Matching refs:xmit_cnt
219 if (info->xmit_cnt && info->xmit_buf && !(info->IER & UART_IER_THRI)) {
442 while (space_avail && info->xmit_cnt) {
455 info->xmit_cnt -= space_avail;
468 if (info->xmit_cnt) {
474 if (space_avail > info->xmit_cnt)
475 space_avail = info->xmit_cnt;
479 if (info->xmit_cnt < WAKEUP_CHARS) {
486 if (info->xmit_cnt <= 0) {
514 info->xmit_cnt -= dma_bytes;
517 if (info->xmit_cnt < WAKEUP_CHARS) {
524 if (info->xmit_cnt <= 0) {
685 if ((info->xmit_cnt <= 0) || info->tty->stopped) {
697 if (num_bytes > info->xmit_cnt)
698 num_bytes = info->xmit_cnt;
934 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;
1213 if (info->xmit_cnt < ESP_XMIT_SIZE - 1) {
1216 info->xmit_cnt++;
1231 if (info->xmit_cnt <= 0 || tty->stopped || !info->xmit_buf)
1261 t = ESP_XMIT_SIZE - info->xmit_cnt - 1;
1277 info->xmit_cnt += c;
1285 if (info->xmit_cnt && !tty->stopped && !(info->IER & UART_IER_THRI)) {
1306 ret = ESP_XMIT_SIZE - info->xmit_cnt - 1;
1319 return info->xmit_cnt;
1330 info->xmit_cnt = info->xmit_head = info->xmit_tail = 0;