Home
last modified time | relevance | path

Searched refs:dma_wr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/atm/
H A Deni.c343 u32 dma_rd,dma_wr; in do_rx_dma() local
452 dma_wr = eni_in(MID_DMA_WR_RX); in do_rx_dma()
464 writel(dma[i*2],eni_dev->rx_dma+dma_wr*8); in do_rx_dma()
465 writel(dma[i*2+1],eni_dev->rx_dma+dma_wr*8+4); in do_rx_dma()
466 dma_wr = (dma_wr+1) & (NR_DMA_RX-1); in do_rx_dma()
475 eni_out(dma_wr,MID_DMA_WR_RX); in do_rx_dma()
1034 u32 dma_rd,dma_wr; in do_tx() local
1094 dma_wr = eni_in(MID_DMA_WR_TX); in do_tx()
1106 if (dma_wr != dma_rd && ((dma_rd+NR_DMA_TX-dma_wr) & (NR_DMA_TX-1)) < in do_tx()
1168 dma_wr = (dma_wr+1) & (NR_DMA_TX-1); in do_tx()
[all …]