Lines Matching refs:intc
87 static struct armctrl_ic intc __read_mostly;
94 writel_relaxed(HWIRQ_BIT(d->hwirq), intc.disable[HWIRQ_BANK(d->hwirq)]); in armctrl_mask_irq()
99 writel_relaxed(HWIRQ_BIT(d->hwirq), intc.enable[HWIRQ_BANK(d->hwirq)]); in armctrl_unmask_irq()
145 intc.domain = irq_domain_add_linear(node, MAKE_HWIRQ(NR_BANKS, 0), in armctrl_of_init()
147 if (!intc.domain) in armctrl_of_init()
151 intc.pending[b] = base + reg_pending[b]; in armctrl_of_init()
152 intc.enable[b] = base + reg_enable[b]; in armctrl_of_init()
153 intc.disable[b] = base + reg_disable[b]; in armctrl_of_init()
156 irq = irq_create_mapping(intc.domain, MAKE_HWIRQ(b, i)); in armctrl_of_init()
163 reg = readl_relaxed(intc.enable[b]); in armctrl_of_init()
165 writel_relaxed(reg, intc.disable[b]); in armctrl_of_init()
213 u32 stat = readl_relaxed(intc.pending[bank]); in armctrl_translate_bank()
225 u32 stat = readl_relaxed(intc.pending[0]) & BANK0_VALID_MASK; in get_next_armctrl_hwirq()
249 generic_handle_domain_irq(intc.domain, hwirq); in bcm2835_handle_irq()
257 generic_handle_domain_irq(intc.domain, hwirq); in bcm2836_chained_handle_irq()