Home
last modified time | relevance | path

Searched refs:nr_irq (Results 1 – 7 of 7) sorted by relevance

/drivers/irqchip/
Dirq-csky-mpintc.c231 unsigned int cpu, nr_irq; in csky_mpintc_init() local
239 ret = of_property_read_u32(node, "csky,num-irqs", &nr_irq); in csky_mpintc_init()
241 nr_irq = INTC_IRQS; in csky_mpintc_init()
243 __trigger = kcalloc(nr_irq, sizeof(unsigned long), GFP_KERNEL); in csky_mpintc_init()
258 root_domain = irq_domain_add_linear(node, nr_irq, &csky_irqdomain_ops, in csky_mpintc_init()
Dirq-xilinx-intc.c43 u32 nr_irq; member
180 ret = of_property_read_u32(intc, "xlnx,num-intr-inputs", &irqc->nr_irq); in xilinx_intc_of_init()
192 if (irqc->intr_mask >> irqc->nr_irq) in xilinx_intc_of_init()
196 intc, irqc->nr_irq, irqc->intr_mask); in xilinx_intc_of_init()
215 irqc->root_domain = irq_domain_add_linear(intc, irqc->nr_irq, in xilinx_intc_of_init()
Dirq-csky-apb-intc.c37 static int nr_irq = INTC_IRQS; variable
117 root_domain = irq_domain_add_linear(node, nr_irq, in ck_intc_init_comm()
215 if (nr_irq == INTC_IRQS) in ck_irq_handler()
263 nr_irq = INTC_IRQS * 2; in ck_dual_intc_init()
Dexynos-combiner.c175 unsigned int nr_irq; in combiner_init() local
177 nr_irq = max_nr * IRQ_IN_COMBINER; in combiner_init()
183 combiner_irq_domain = irq_domain_add_linear(np, nr_irq, in combiner_init()
Dirq-apple-aic.c300 int nr_irq; member
654 if (args[0] >= ic->nr_irq) in aic_irq_domain_translate()
1080 irqc->nr_irq = FIELD_GET(AIC_INFO_NR_IRQ, info); in aic_of_ic_init()
1097 irqc->nr_irq = FIELD_GET(AIC2_INFO1_NR_IRQ, info1); in aic_of_ic_init()
1154 for (i = 0; i < BITS_TO_U32(irqc->nr_irq); i++) in aic_of_ic_init()
1156 for (i = 0; i < BITS_TO_U32(irqc->nr_irq); i++) in aic_of_ic_init()
1159 for (i = 0; i < irqc->nr_irq; i++) in aic_of_ic_init()
1184 irqc->nr_irq, irqc->max_irq, irqc->nr_die, irqc->max_die, AIC_NR_FIQ, AIC_NR_SWIPI); in aic_of_ic_init()
/drivers/power/supply/
Dlp8788-charger.c482 int nr_irq; in lp8788_set_irqs() local
495 nr_irq = pchg->num_irqs; in lp8788_set_irqs()
498 pchg->irqs[nr_irq].virq = virq; in lp8788_set_irqs()
499 pchg->irqs[nr_irq].which = i; in lp8788_set_irqs()
/drivers/dma/
Dpxa_dma.c1236 int irq0, irq, nr_irq = 0, i, ret; in pxad_init_phys() local
1250 nr_irq++; in pxad_init_phys()
1257 if ((nr_irq > 1) && (irq > 0)) in pxad_init_phys()
1261 if ((nr_irq == 1) && (i == 0)) in pxad_init_phys()