Lines Matching refs:xmit_cnt
80 if (port->xmit_cnt >= SERIAL_XMIT_SIZE - 1) {
88 port->xmit_cnt++; /* Characters in buffer */
137 /* This is safe because the xmit_cnt can only decrease. This
140 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
148 port -> xmit_cnt += c;
159 if (port->xmit_cnt &&
220 /* This is safe because the xmit_cnt can only decrease. This
223 t = SERIAL_XMIT_SIZE - 1 - port->xmit_cnt;
234 port->xmit_cnt += c;
241 if (port->xmit_cnt &&
262 ret = SERIAL_XMIT_SIZE - port->xmit_cnt - 1;
276 return port->xmit_cnt;
292 return port->xmit_cnt + port->rd->chars_in_buffer (port);
307 gs_dprintk (GS_DEBUG_FLUSH, "xmit_cnt=%x, xmit_buf=%p, tty=%p.\n",
308 port->xmit_cnt, port->xmit_buf, port->tty);
311 if (!port || port->xmit_cnt < 0 || !port->xmit_buf) {
312 gs_dprintk (GS_DEBUG_FLUSH, "ERROR: !port, !port->xmit_buf or prot->xmit_cnt < 0.\n");
379 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0;
399 if (port->xmit_cnt <= 0 || tty->stopped || tty->hw_stopped ||
424 if (port->xmit_cnt &&
444 if (port->xmit_cnt &&
855 port->xmit_cnt = port->xmit_head = port->xmit_tail = 0;