Lines Matching refs:xmit

164 	struct circ_buf *xmit = &port->state->xmit;  in s3c24xx_serial_stop_tx()  local
185 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx()
204 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete() local
220 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete()
224 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in s3c24xx_serial_tx_dma_complete()
290 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma() local
298 dma->tx_transfer_addr = dma->tx_addr + xmit->tail; in s3c24xx_serial_start_tx_dma()
324 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx() local
328 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx()
337 xmit->tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
346 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx() local
358 if (!uart_circ_empty(xmit) && !ourport->tx_in_progress) in s3c24xx_serial_start_tx()
705 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars() local
711 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars()
716 (xmit->tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
734 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in s3c24xx_serial_tx_chars()
746 while (!uart_circ_empty(xmit) && count > 0) { in s3c24xx_serial_tx_chars()
750 wr_regb(port, S3C2410_UTXH, xmit->buf[xmit->tail]); in s3c24xx_serial_tx_chars()
751 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars()
761 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) { in s3c24xx_serial_tx_chars()
767 if (uart_circ_empty(xmit)) in s3c24xx_serial_tx_chars()
910 p->port.state->xmit.buf, in s3c24xx_serial_request_dma()