Lines Matching refs:xmit
161 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_stop_tx() local
181 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx()
200 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete() local
216 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete()
220 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in s3c24xx_serial_tx_dma_complete()
285 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma() local
293 dma->tx_transfer_addr = dma->tx_addr + xmit->tail; in s3c24xx_serial_start_tx_dma()
319 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx() local
323 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx()
332 xmit->tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
341 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx() local
353 if (!uart_circ_empty(xmit) && !ourport->tx_in_progress) in s3c24xx_serial_start_tx()
708 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars() local
714 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars()
719 (xmit->tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
737 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in s3c24xx_serial_tx_chars()
749 while (!uart_circ_empty(xmit) && count > 0) { in s3c24xx_serial_tx_chars()
753 wr_regb(port, S3C2410_UTXH, xmit->buf[xmit->tail]); in s3c24xx_serial_tx_chars()
754 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars()
764 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) { in s3c24xx_serial_tx_chars()
770 if (uart_circ_empty(xmit)) in s3c24xx_serial_tx_chars()
927 dma->tx_addr = dma_map_single(p->port.dev, p->port.state->xmit.buf, in s3c24xx_serial_request_dma()