Lines Matching refs:xmit
209 struct circ_buf *xmit = &port->state->xmit;
218 xmit->tail = (xmit->tail + trans_len) & (UART_XMIT_SIZE - 1);
232 struct circ_buf *xmit = &port->state->xmit;
235 CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE);
238 (void *)&(xmit->buf[xmit->tail]),
249 struct circ_buf *xmit = &port->state->xmit;
256 xmit->tail = (xmit->tail + sp->tx_dma.trans_len) & (UART_XMIT_SIZE - 1);
259 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
262 if (uart_circ_empty(xmit) || sprd_tx_buf_remap(port) ||
325 struct circ_buf *xmit = &port->state->xmit;
334 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
629 struct circ_buf *xmit = &port->state->xmit;
639 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) {
646 serial_out(port, SPRD_TXD, xmit->buf[xmit->tail]);
647 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
649 if (uart_circ_empty(xmit))
653 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
656 if (uart_circ_empty(xmit))