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
69 irqt = __raw_readl(avic_base + AVIC_INTTYPEL) & ~(1 << irq); in avic_set_irq_fiq()
70 __raw_writel(irqt | (!!type << irq), avic_base + AVIC_INTTYPEL); in avic_set_irq_fiq()
73 irqt = __raw_readl(avic_base + AVIC_INTTYPEH) & ~(1 << irq); in avic_set_irq_fiq()
74 __raw_writel(irqt | (!!type << irq), avic_base + AVIC_INTTYPEH); in avic_set_irq_fiq()
97 avic_saved_mask_reg[idx] = __raw_readl(avic_base + ct->regs.mask); in avic_irq_suspend()
98 __raw_writel(gc->wake_active, avic_base + ct->regs.mask); in avic_irq_suspend()
107 __raw_writel(avic_saved_mask_reg[idx], avic_base + ct->regs.mask); in avic_irq_resume()
120 gc = irq_alloc_generic_chip("mxc-avic", 1, irq_start, avic_base, in avic_init_gc()
143 nivector = __raw_readl(avic_base + AVIC_NIVECSR) >> 16; in avic_handle_irq()
[all …]
Dmach-imx25.c29 void __iomem *avic_base; in mx25_init_irq() local
32 avic_base = of_iomap(np, 0); in mx25_init_irq()
33 BUG_ON(!avic_base); in mx25_init_irq()
34 mxc_init_irq(avic_base); in mx25_init_irq()