Lines Matching refs:xmit
285 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_stop_tx() local
305 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_stop_tx()
324 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_dma_complete() local
339 xmit->tail = (xmit->tail + count) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_dma_complete()
343 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in s3c24xx_serial_tx_dma_complete()
407 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx_dma() local
414 dma->tx_transfer_addr = dma->tx_addr + xmit->tail; in s3c24xx_serial_start_tx_dma()
440 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_next_tx() local
444 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_start_next_tx()
453 xmit->tail & (dma_get_cache_alignment() - 1)) in s3c24xx_serial_start_next_tx()
462 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_start_tx() local
474 if (!uart_circ_empty(xmit) && !ourport->tx_in_progress) in s3c24xx_serial_start_tx()
829 struct circ_buf *xmit = &port->state->xmit; in s3c24xx_serial_tx_chars() local
835 count = CIRC_CNT_TO_END(xmit->head, xmit->tail, UART_XMIT_SIZE); in s3c24xx_serial_tx_chars()
840 (xmit->tail & (dma_get_cache_alignment() - 1)); in s3c24xx_serial_tx_chars()
858 if (uart_circ_empty(xmit) || uart_tx_stopped(port)) { in s3c24xx_serial_tx_chars()
870 while (!uart_circ_empty(xmit) && count > 0) { in s3c24xx_serial_tx_chars()
874 wr_reg(port, S3C2410_UTXH, xmit->buf[xmit->tail]); in s3c24xx_serial_tx_chars()
875 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1); in s3c24xx_serial_tx_chars()
885 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) in s3c24xx_serial_tx_chars()
888 if (uart_circ_empty(xmit)) in s3c24xx_serial_tx_chars()
1045 dma->tx_addr = dma_map_single(p->port.dev, p->port.state->xmit.buf, in s3c24xx_serial_request_dma()