Lines Matching refs:rx_dma_buf
317 for (i = port->rx_dma_buf.head; i < port->rx_dma_buf.tail; i++)
318 async_unwrap_char(dev, &self->stats, &self->rx_buff, port->rx_dma_buf.buf[i]);
335 if (pos > port->rx_dma_buf.tail) {
336 port->rx_dma_buf.tail = pos;
338 port->rx_dma_buf.head = port->rx_dma_buf.tail;
353 port->rx_dma_buf.tail = DMA_SIR_RX_XCNT * port->rx_dma_nrows;
357 port->rx_dma_buf.tail = 0;
359 port->rx_dma_buf.head = port->rx_dma_buf.tail;
392 port->rx_dma_buf.buf = (unsigned char *)dma_alloc_coherent(NULL, PAGE_SIZE, &dma_handle, GFP_DMA);
393 port->rx_dma_buf.head = 0;
394 port->rx_dma_buf.tail = 0;
405 set_dma_start_addr(port->rx_dma_channel, (unsigned long)port->rx_dma_buf.buf);
443 dma_free_coherent(NULL, PAGE_SIZE, port->rx_dma_buf.buf, 0);