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
120 aic = gc->private; in aic_common_ext_irq_of_init()
121 aic->ext_irqs |= 1; in aic_common_ext_irq_of_init()
126 pr_warn("AIC: external irq %d >= %d skip it\n", in aic_common_ext_irq_of_init()
131 aic = gc->private; in aic_common_ext_irq_of_init()
132 aic->ext_irqs |= (1 << (hwirq % 32)); in aic_common_ext_irq_of_init()
215 struct aic_chip_data *aic; in aic_common_of_init() local
227 aic = kcalloc(nchips, sizeof(*aic), GFP_KERNEL); in aic_common_of_init()
228 if (!aic) { in aic_common_of_init()
233 domain = irq_domain_add_linear(node, nchips * 32, ops, aic); in aic_common_of_init()
257 gc->private = &aic[i]; in aic_common_of_init()
269 kfree(aic); in aic_common_of_init()