Lines Matching refs:nr_irqs
39 int nr_irqs; member
257 icu_data[0].nr_irqs = 64; in icu_init_irq()
280 icu_data[0].nr_irqs = 64; in mmp2_init_icu()
288 icu_data[0].nr_irqs; in mmp2_init_icu()
290 icu_data[1].nr_irqs = 2; in mmp2_init_icu()
292 icu_data[1].virq_base = icu_data[0].virq_base + icu_data[0].nr_irqs; in mmp2_init_icu()
293 icu_data[1].domain = irq_domain_add_legacy(NULL, icu_data[1].nr_irqs, in mmp2_init_icu()
299 icu_data[2].nr_irqs = 2; in mmp2_init_icu()
301 icu_data[2].virq_base = icu_data[1].virq_base + icu_data[1].nr_irqs; in mmp2_init_icu()
302 icu_data[2].domain = irq_domain_add_legacy(NULL, icu_data[2].nr_irqs, in mmp2_init_icu()
308 icu_data[3].nr_irqs = 3; in mmp2_init_icu()
310 icu_data[3].virq_base = icu_data[2].virq_base + icu_data[2].nr_irqs; in mmp2_init_icu()
311 icu_data[3].domain = irq_domain_add_legacy(NULL, icu_data[3].nr_irqs, in mmp2_init_icu()
317 icu_data[4].nr_irqs = 5; in mmp2_init_icu()
319 icu_data[4].virq_base = icu_data[3].virq_base + icu_data[3].nr_irqs; in mmp2_init_icu()
320 icu_data[4].domain = irq_domain_add_legacy(NULL, icu_data[4].nr_irqs, in mmp2_init_icu()
326 icu_data[5].nr_irqs = 15; in mmp2_init_icu()
328 icu_data[5].virq_base = icu_data[4].virq_base + icu_data[4].nr_irqs; in mmp2_init_icu()
329 icu_data[5].domain = irq_domain_add_legacy(NULL, icu_data[5].nr_irqs, in mmp2_init_icu()
335 icu_data[6].nr_irqs = 2; in mmp2_init_icu()
337 icu_data[6].virq_base = icu_data[5].virq_base + icu_data[5].nr_irqs; in mmp2_init_icu()
338 icu_data[6].domain = irq_domain_add_legacy(NULL, icu_data[6].nr_irqs, in mmp2_init_icu()
344 icu_data[7].nr_irqs = 2; in mmp2_init_icu()
346 icu_data[7].virq_base = icu_data[6].virq_base + icu_data[6].nr_irqs; in mmp2_init_icu()
347 icu_data[7].domain = irq_domain_add_legacy(NULL, icu_data[7].nr_irqs, in mmp2_init_icu()
351 end = icu_data[7].virq_base + icu_data[7].nr_irqs; in mmp2_init_icu()
375 int ret, nr_irqs, irq, i = 0; in mmp_init_bases() local
377 ret = of_property_read_u32(node, "mrvl,intc-nr-irqs", &nr_irqs); in mmp_init_bases()
390 icu_data[0].domain = irq_domain_add_linear(node, nr_irqs, in mmp_init_bases()
393 for (irq = 0; irq < nr_irqs; irq++) { in mmp_init_bases()
402 icu_data[0].nr_irqs = nr_irqs; in mmp_init_bases()
486 u32 nr_irqs, mfp_irq; in mmp2_mux_of_init() local
494 &nr_irqs); in mmp2_mux_of_init()
520 icu_data[i].domain = irq_domain_add_linear(node, nr_irqs, in mmp2_mux_of_init()
523 for (irq = 0; irq < nr_irqs; irq++) { in mmp2_mux_of_init()
532 icu_data[i].nr_irqs = nr_irqs; in mmp2_mux_of_init()