Lines Matching refs:xmit

165 	struct circ_buf *xmit = &port->state->xmit;  in s3c24xx_serial_stop_tx()  local
186 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx()
205 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete() local
221 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete()
225 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in s3c24xx_serial_tx_dma_complete()
291 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma() local
299 dma->tx_transfer_addr = dma->tx_addr + xmit->tail; in s3c24xx_serial_start_tx_dma()
325 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx() local
329 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx()
338 xmit->tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
347 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx() local
359 if (!uart_circ_empty(xmit) && !ourport->tx_in_progress) in s3c24xx_serial_start_tx()
730 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars() local
736 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars()
741 (xmit->tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
759 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in s3c24xx_serial_tx_chars()
771 while (!uart_circ_empty(xmit) && count > 0) { in s3c24xx_serial_tx_chars()
775 wr_regb(port, S3C2410_UTXH, xmit->buf[xmit->tail]); in s3c24xx_serial_tx_chars()
776 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars()
786 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) { in s3c24xx_serial_tx_chars()
792 if (uart_circ_empty(xmit)) in s3c24xx_serial_tx_chars()
935 p->port.state->xmit.buf, in s3c24xx_serial_request_dma()