Lines Matching refs:rx_dma_buf
445 CIRC_CNT(uart->rx_dma_buf.head, uart->rx_dma_buf.tail,
472 for (i = uart->rx_dma_buf.tail; ; i++) {
475 if (i == uart->rx_dma_buf.head)
477 if (!uart_handle_sysrq_char(&uart->port, uart->rx_dma_buf.buf[i]))
479 uart->rx_dma_buf.buf[i], flg);
516 if (pos > uart->rx_dma_buf.tail ||
517 uart->rx_dma_nrows < (uart->rx_dma_buf.tail/DMA_RX_XCOUNT)) {
518 uart->rx_dma_buf.head = pos;
520 uart->rx_dma_buf.tail = uart->rx_dma_buf.head;
582 if (pos > uart->rx_dma_buf.tail ||
583 uart->rx_dma_nrows < (uart->rx_dma_buf.tail/DMA_RX_XCOUNT)) {
584 uart->rx_dma_buf.head = pos;
586 uart->rx_dma_buf.tail = uart->rx_dma_buf.head;
643 uart->rx_dma_buf.buf = (unsigned char *)dma_alloc_coherent(NULL, PAGE_SIZE, &dma_handle, GFP_DMA);
644 uart->rx_dma_buf.head = 0;
645 uart->rx_dma_buf.tail = 0;
657 set_dma_start_addr(uart->rx_dma_channel, (unsigned long)uart->rx_dma_buf.buf);
767 dma_free_coherent(NULL, PAGE_SIZE, uart->rx_dma_buf.buf, 0);