Lines Matching refs:xmit
194 struct circ_buf *xmit = &port->state->xmit; in mvebu_uart_start_tx() local
196 if (IS_EXTENDED(port) && !uart_circ_empty(xmit)) { in mvebu_uart_start_tx()
197 writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port)); in mvebu_uart_start_tx()
198 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mvebu_uart_start_tx()
299 struct circ_buf *xmit = &port->state->xmit; in mvebu_uart_tx_chars() local
310 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in mvebu_uart_tx_chars()
316 writel(xmit->buf[xmit->tail], port->membase + UART_TSH(port)); in mvebu_uart_tx_chars()
317 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in mvebu_uart_tx_chars()
320 if (uart_circ_empty(xmit)) in mvebu_uart_tx_chars()
328 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in mvebu_uart_tx_chars()
331 if (uart_circ_empty(xmit)) in mvebu_uart_tx_chars()