Home
last modified time | relevance | path

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

/arch/arm/mach-imx/
Davic.c54 static void __iomem *avic_base; variable
66 irqt = imx_readl(avic_base + AVIC_INTTYPEL) & ~(1 << hwirq); in avic_set_irq_fiq()
67 imx_writel(irqt | (!!type << hwirq), avic_base + AVIC_INTTYPEL); in avic_set_irq_fiq()
70 irqt = imx_readl(avic_base + AVIC_INTTYPEH) & ~(1 << hwirq); in avic_set_irq_fiq()
71 imx_writel(irqt | (!!type << hwirq), avic_base + AVIC_INTTYPEH); in avic_set_irq_fiq()
94 avic_saved_mask_reg[idx] = imx_readl(avic_base + ct->regs.mask); in avic_irq_suspend()
95 imx_writel(gc->wake_active, avic_base + ct->regs.mask); in avic_irq_suspend()
104 imx_writel(avic_saved_mask_reg[idx], avic_base + ct->regs.mask); in avic_irq_resume()
117 gc = irq_alloc_generic_chip("mxc-avic", 1, irq_start, avic_base, in avic_init_gc()
140 nivector = imx_readl(avic_base + AVIC_NIVECSR) >> 16; in avic_handle_irq()
[all …]
Dmach-imx25.c34 void __iomem *avic_base; in mx25_init_irq() local
37 avic_base = of_iomap(np, 0); in mx25_init_irq()
38 BUG_ON(!avic_base); in mx25_init_irq()
39 mxc_init_irq(avic_base); in mx25_init_irq()