Lines Matching refs:irq_banks
65 static struct omap_irq_bank *irq_banks; variable
70 return readl_relaxed(irq_banks[bank].va + offset); in irq_bank_readl()
74 writel_relaxed(value, irq_banks[bank].va + offset); in irq_bank_writel()
80 writel_relaxed(0x1, irq_banks[1].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq()
82 writel_relaxed(0x1, irq_banks[0].va + IRQ_CONTROL_REG_OFFSET); in omap_ack_irq()
144 void __iomem *l1 = irq_banks[0].va; in omap1_handle_irq()
145 void __iomem *l2 = irq_banks[1].va; in omap1_handle_irq()
199 irq_banks = omap7xx_irq_banks; in omap1_init_irq()
205 irq_banks = omap1510_irq_banks; in omap1_init_irq()
209 irq_banks = omap310_irq_banks; in omap1_init_irq()
215 irq_banks = omap1610_irq_banks; in omap1_init_irq()
221 irq_banks[i].va = ioremap(irq_banks[i].base_reg, 0xff); in omap1_init_irq()
222 if (WARN_ON(!irq_banks[i].va)) in omap1_init_irq()
261 irq_trigger = irq_banks[i].trigger_map >> IRQ_BIT(j); in omap1_init_irq()
265 omap_alloc_gc(irq_banks[i].va, irq_base + i * 32, 32); in omap1_init_irq()