Lines Matching refs:xmit
219 struct circ_buf *xmit = &uart->port.info->xmit;
233 if (uart_circ_empty(xmit) || uart_tx_stopped(&uart->port)) {
238 local_put_char(uart, xmit->buf[xmit->tail]);
239 xmit->tail = (xmit->tail + 1) & (UART_XMIT_SIZE - 1);
242 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
245 if (uart_circ_empty(xmit))
284 struct circ_buf *xmit = &uart->port.info->xmit;
306 if (uart_circ_empty(xmit) || uart_tx_stopped(&uart->port)) {
313 uart->tx_count = CIRC_CNT(xmit->head, xmit->tail, UART_XMIT_SIZE);
314 if (uart->tx_count > (UART_XMIT_SIZE - xmit->tail))
315 uart->tx_count = UART_XMIT_SIZE - xmit->tail;
316 blackfin_dcache_flush_range((unsigned long)(xmit->buf+xmit->tail),
317 (unsigned long)(xmit->buf+xmit->tail+uart->tx_count));
323 set_dma_start_addr(uart->tx_dma_channel, (unsigned long)(xmit->buf+xmit->tail));
402 struct circ_buf *xmit = &uart->port.info->xmit;
412 xmit->tail = (xmit->tail+uart->tx_count) &(UART_XMIT_SIZE -1);
415 if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
418 if (uart_circ_empty(xmit))