Lines Matching full:aic
2 * Atmel AT91 common AIC (Advanced Interrupt Controller) code shared by
3 * irq-atmel-aic and irq-atmel-aic5 drivers
25 #include "irq-atmel-aic-common.h"
51 struct aic_chip_data *aic = gc->private; in aic_common_set_type() local
62 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type()
68 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type()
113 struct aic_chip_data *aic; in aic_common_ext_irq_of_init() local
118 aic = gc->private; in aic_common_ext_irq_of_init()
119 aic->ext_irqs |= 1; in aic_common_ext_irq_of_init()
124 pr_warn("AIC: external irq %d >= %d skip it\n", in aic_common_ext_irq_of_init()
129 aic = gc->private; in aic_common_ext_irq_of_init()
130 aic->ext_irqs |= (1 << (hwirq % 32)); in aic_common_ext_irq_of_init()
213 struct aic_chip_data *aic; in aic_common_of_init() local
225 aic = kcalloc(nchips, sizeof(*aic), GFP_KERNEL); in aic_common_of_init()
226 if (!aic) { in aic_common_of_init()
231 domain = irq_domain_add_linear(node, nchips * 32, ops, aic); in aic_common_of_init()
255 gc->private = &aic[i]; in aic_common_of_init()
267 kfree(aic); in aic_common_of_init()