Searched refs:nreg (Results 1 – 3 of 3) sorted by relevance
319 unsigned long nreg = dregs->cond_reg; in dma_setup() local327 nreg |= DMA_ST_WRITE; in dma_setup()329 nreg &= ~(DMA_ST_WRITE); in dma_setup()332 nreg |= DMA_ENABLE; in dma_setup()333 dregs->cond_reg = nreg; in dma_setup()
2252 u32 nreg = sbus_readl(esp->dregs + DMA_CSR); in dma_setup() local2255 nreg |= DMA_ST_WRITE; in dma_setup()2257 nreg &= ~(DMA_ST_WRITE); in dma_setup()2258 nreg |= DMA_ENABLE; in dma_setup()2259 sbus_writel(nreg, esp->dregs + DMA_CSR); in dma_setup()
272 int reg, nreg; in ebus_init() local317 nreg = len / sizeof(struct linux_prom_pci_registers); in ebus_init()320 for (reg = 0; reg < nreg; reg++) { in ebus_init()