Searched refs:dma_wr (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.10/drivers/atm/ |
D | eni.c | 343 u32 dma_rd,dma_wr; in do_rx_dma() local 452 dma_wr = eni_in(MID_DMA_WR_RX); in do_rx_dma() 458 if (!NEPMOK(dma_wr,j+j+1,dma_rd,NR_DMA_RX)) { /* @@@ +1 is ugly */ 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() 1105 DPRINTK("dma_wr is %d, tx_pos is %ld\n",dma_wr,tx->tx_pos); in do_tx() [all …]
|