Searched refs:nr_irq (Results 1 – 7 of 7) sorted by relevance
/drivers/irqchip/ |
D | irq-csky-mpintc.c | 231 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()
|
D | irq-xilinx-intc.c | 43 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()
|
D | irq-csky-apb-intc.c | 37 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()
|
D | exynos-combiner.c | 175 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()
|
D | irq-apple-aic.c | 300 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/ |
D | lp8788-charger.c | 482 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/ |
D | pxa_dma.c | 1236 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()
|