Lines Matching refs:DMA_CSR
436 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
440 while (sbus_readl(lp->dregs + DMA_CSR) & DMA_FIFO_ISDRAIN) in init_restart_ledma()
444 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_ledma()
458 sbus_writel(csr, lp->dregs + DMA_CSR); in init_restart_ledma()
485 printk("dcsr=%8.8x\n", sbus_readl(lp->dregs + DMA_CSR)); in init_restart_lance()
494 u32 csr = sbus_readl(lp->dregs + DMA_CSR); in init_restart_lance()
497 sbus_writel(csr, lp->dregs + DMA_CSR); in init_restart_lance()
856 u32 dma_csr = sbus_readl(lp->dregs + DMA_CSR); in lance_interrupt()
859 sbus_writel(dma_csr, lp->dregs + DMA_CSR); in lance_interrupt()
986 csr = sbus_readl(lp->dregs + DMA_CSR); in lance_reset()
987 sbus_writel(csr | DMA_RST_ENET, lp->dregs + DMA_CSR); in lance_reset()
989 sbus_writel(csr & ~DMA_RST_ENET, lp->dregs + DMA_CSR); in lance_reset()
1434 csr = sbus_readl(lp->dregs + DMA_CSR); in sparc_lance_probe_one()
1435 sbus_writel(csr | DMA_RST_ENET, lp->dregs + DMA_CSR); in sparc_lance_probe_one()
1437 sbus_writel(csr & ~DMA_RST_ENET, lp->dregs + DMA_CSR); in sparc_lance_probe_one()