Searched refs:avic_base (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/arch/arm/mach-imx/
H A Davic.c54 static void __iomem *avic_base; variable
69 irqt = __raw_readl(avic_base + AVIC_INTTYPEL) & ~(1 << irq); avic_set_irq_fiq()
70 __raw_writel(irqt | (!!type << irq), avic_base + AVIC_INTTYPEL); avic_set_irq_fiq()
73 irqt = __raw_readl(avic_base + AVIC_INTTYPEH) & ~(1 << irq); avic_set_irq_fiq()
74 __raw_writel(irqt | (!!type << irq), avic_base + AVIC_INTTYPEH); avic_set_irq_fiq()
97 avic_saved_mask_reg[idx] = __raw_readl(avic_base + ct->regs.mask); avic_irq_suspend()
98 __raw_writel(gc->wake_active, avic_base + ct->regs.mask); avic_irq_suspend()
107 __raw_writel(avic_saved_mask_reg[idx], avic_base + ct->regs.mask); avic_irq_resume()
120 gc = irq_alloc_generic_chip("mxc-avic", 1, irq_start, avic_base, avic_init_gc()
143 nivector = __raw_readl(avic_base + AVIC_NIVECSR) >> 16; avic_handle_irq()
162 avic_base = irqbase; mxc_init_irq()
167 __raw_writel(0, avic_base + AVIC_INTCNTL); mxc_init_irq()
168 __raw_writel(0x1f, avic_base + AVIC_NIMASK); mxc_init_irq()
171 __raw_writel(0, avic_base + AVIC_INTENABLEH); mxc_init_irq()
172 __raw_writel(0, avic_base + AVIC_INTENABLEL); mxc_init_irq()
175 __raw_writel(0, avic_base + AVIC_INTTYPEH); mxc_init_irq()
176 __raw_writel(0, avic_base + AVIC_INTTYPEL); mxc_init_irq()
191 __raw_writel(0, avic_base + AVIC_NIPRIORITY(i)); mxc_init_irq()
H A Dmach-imx25.c29 void __iomem *avic_base; mx25_init_irq() local
32 avic_base = of_iomap(np, 0); mx25_init_irq()
33 BUG_ON(!avic_base); mx25_init_irq()
34 mxc_init_irq(avic_base); mx25_init_irq()

Completed in 88 milliseconds