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