Lines Matching refs:dcr
86 unsigned long dcr; in dmabrg_irq() local
89 dcr = __raw_readl(DMABRGCR); in dmabrg_irq()
90 __raw_writel(dcr & ~0x00ff0003, DMABRGCR); /* ack all */ in dmabrg_irq()
91 dcr &= dcr >> 8; /* ignore masked */ in dmabrg_irq()
94 if (dcr & 1) in dmabrg_irq()
96 if (dcr & 2) in dmabrg_irq()
100 dcr >>= 16; in dmabrg_irq()
101 while (dcr) { in dmabrg_irq()
102 i = __ffs(dcr); in dmabrg_irq()
103 dcr &= dcr - 1; in dmabrg_irq()
111 unsigned long dcr; in dmabrg_disable_irq() local
112 dcr = __raw_readl(DMABRGCR); in dmabrg_disable_irq()
113 dcr &= ~(1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_disable_irq()
114 __raw_writel(dcr, DMABRGCR); in dmabrg_disable_irq()
119 unsigned long dcr; in dmabrg_enable_irq() local
120 dcr = __raw_readl(DMABRGCR); in dmabrg_enable_irq()
121 dcr |= (1 << ((dmairq > 1) ? dmairq + 22 : dmairq + 8)); in dmabrg_enable_irq()
122 __raw_writel(dcr, DMABRGCR); in dmabrg_enable_irq()