Lines Matching refs:xmit
265 struct circ_buf *xmit = &port->state->xmit; in msm_complete_tx_dma() local
296 xmit->tail += count; in msm_complete_tx_dma()
297 xmit->tail &= UART_XMIT_SIZE - 1; in msm_complete_tx_dma()
303 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in msm_complete_tx_dma()
313 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx_dma() local
320 cpu_addr = &xmit->buf[xmit->tail]; in msm_handle_tx_dma()
655 struct circ_buf *xmit = &port->state->xmit; in msm_handle_tx_pio() local
683 buf[i] = xmit->buf[xmit->tail + i]; in msm_handle_tx_pio()
688 xmit->tail = (xmit->tail + num_chars) & (UART_XMIT_SIZE - 1); in msm_handle_tx_pio()
693 if (uart_circ_empty(xmit)) in msm_handle_tx_pio()
696 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in msm_handle_tx_pio()
703 struct circ_buf *xmit = &msm_port->uart.state->xmit; in msm_handle_tx() local
724 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in msm_handle_tx()
729 pio_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx()
730 dma_count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in msm_handle_tx()