Home
last modified time | relevance | path

Searched refs:nr_irqs (Results 1 – 25 of 28) sorted by relevance

12

/drivers/irqchip/
Dirq-mmp.c39 int nr_irqs; member
229 icu_data[0].nr_irqs = 64; in icu_init_irq()
253 icu_data[0].nr_irqs = 64; in mmp2_init_icu()
261 icu_data[0].nr_irqs; in mmp2_init_icu()
263 icu_data[1].nr_irqs = 2; in mmp2_init_icu()
265 icu_data[1].virq_base = icu_data[0].virq_base + icu_data[0].nr_irqs; in mmp2_init_icu()
266 icu_data[1].domain = irq_domain_add_legacy(NULL, icu_data[1].nr_irqs, in mmp2_init_icu()
272 icu_data[2].nr_irqs = 2; in mmp2_init_icu()
274 icu_data[2].virq_base = icu_data[1].virq_base + icu_data[1].nr_irqs; in mmp2_init_icu()
275 icu_data[2].domain = irq_domain_add_legacy(NULL, icu_data[2].nr_irqs, in mmp2_init_icu()
[all …]
Dspear-shirq.c48 u32 nr_irqs; member
91 .nr_irqs = 9,
107 .nr_irqs = 8,
115 .nr_irqs = 5,
123 .nr_irqs = 1,
131 .nr_irqs = 3,
151 .nr_irqs = 7,
157 .nr_irqs = 3,
165 .nr_irqs = 1,
173 .nr_irqs = 11,
[all …]
Dirq-hip04.c59 unsigned int nr_irqs; member
227 unsigned int nr_irqs = intc->nr_irqs; in hip04_irq_dist_init() local
237 for (i = 32; i < nr_irqs; i += 2) in hip04_irq_dist_init()
240 gic_dist_config(base, nr_irqs, NULL); in hip04_irq_dist_init()
369 int nr_irqs, irq_base, i; in hip04_of_init() local
391 nr_irqs = readl_relaxed(hip04_data.dist_base + GIC_DIST_CTR) & 0x1f; in hip04_of_init()
392 nr_irqs = (nr_irqs + 1) * 32; in hip04_of_init()
393 if (nr_irqs > HIP04_MAX_IRQS) in hip04_of_init()
394 nr_irqs = HIP04_MAX_IRQS; in hip04_of_init()
395 hip04_data.nr_irqs = nr_irqs; in hip04_of_init()
[all …]
Dirq-armada-370-xp.c334 int nr_irqs, i; in armada_xp_mpic_smp_cpu_init() local
337 nr_irqs = (control >> 2) & 0x3ff; in armada_xp_mpic_smp_cpu_init()
339 for (i = 0; i < nr_irqs; i++) in armada_xp_mpic_smp_cpu_init()
508 int nr_irqs, i; in armada_370_xp_mpic_of_init() local
530 nr_irqs = (control >> 2) & 0x3ff; in armada_370_xp_mpic_of_init()
532 for (i = 0; i < nr_irqs; i++) in armada_370_xp_mpic_of_init()
536 irq_domain_add_linear(node, nr_irqs, in armada_370_xp_mpic_of_init()
/drivers/bus/
Darm-cci.c176 int nr_irqs; member
186 static bool is_duplicate_irq(int irq, int *irqs, int nr_irqs) in is_duplicate_irq() argument
190 for (i = 0; i < nr_irqs; i++) in is_duplicate_irq()
347 if (pmu->nr_irqs < 1) { in pmu_request_irq()
359 for (i = 0; i < pmu->nr_irqs; i++) { in pmu_request_irq()
425 for (i = 0; i < pmu->nr_irqs; i++) { in pmu_free_irq()
579 pmu->nr_irqs = 0; in cci_pmu_probe()
585 if (is_duplicate_irq(irq, pmu->irqs, pmu->nr_irqs)) in cci_pmu_probe()
588 pmu->irqs[pmu->nr_irqs++] = irq; in cci_pmu_probe()
/drivers/clocksource/
Dexynos_mct.c598 u32 nr_irqs, i; in mct_init_dt() local
611 nr_irqs = of_irq_count(np); in mct_init_dt()
613 nr_irqs = 0; in mct_init_dt()
615 for (i = MCT_L0_IRQ; i < nr_irqs; i++) in mct_init_dt()
/drivers/mfd/
Dtwl6030-irq.c394 int nr_irqs; in twl6030_init_irq() local
405 nr_irqs = TWL6030_NR_IRQS; in twl6030_init_irq()
443 irq_domain_add_linear(node, nr_irqs, in twl6030_init_irq()
Dtwl4030-irq.c697 int irq_base, irq_end, nr_irqs; in twl4030_init_irq() local
705 nr_irqs = TWL4030_PWR_NR_IRQS + TWL4030_CORE_NR_IRQS; in twl4030_init_irq()
707 irq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); in twl4030_init_irq()
713 irq_domain_add_legacy(node, nr_irqs, irq_base, 0, in twl4030_init_irq()
D88pm860x-core.c582 int nr_irqs, irq_base = -1; in device_irq_init() local
626 nr_irqs = ARRAY_SIZE(pm860x_irqs); in device_irq_init()
627 chip->irq_base = irq_alloc_descs(irq_base, 0, nr_irqs, 0); in device_irq_init()
634 irq_domain_add_legacy(node, nr_irqs, chip->irq_base, 0, in device_irq_init()
/drivers/sh/intc/
Dvirq-debugfs.c25 for (i = 1; i < nr_irqs; i++) { in intc_irq_xlate_debug()
/drivers/of/
Dirq.c460 int nr_irqs) in of_irq_to_resource_table() argument
464 for (i = 0; i < nr_irqs; i++, res++) in of_irq_to_resource_table()
/drivers/net/hamradio/
Dbaycom_ser_fdx.c421 dev->irq < 2 || dev->irq > nr_irqs) { in ser12_open()
424 0xffff-SER12_EXTENT, nr_irqs); in ser12_open()
Dscc.c1469 for (k = 0; k < nr_irqs; k++) in z8530_init()
1731 if (hwcfg.irq < 0 || hwcfg.irq >= nr_irqs) in scc_net_ioctl()
2151 for (k = 0; k < nr_irqs ; k++) in scc_cleanup_driver()
/drivers/pcmcia/
Dat91_cf.c318 cf->socket.pci_irq = nr_irqs + 1; in at91_cf_probe()
Dvrc4171_card.c644 if (irq >= 0 && irq < nr_irqs) in vrc4171_card_setup()
/drivers/tty/serial/
Dm32r_sio.c905 if (ser->irq >= nr_irqs || ser->irq < 0 || ser->baud_base < 9600) in m32r_sio_verify_port()
1129 for (i = 0; i < nr_irqs; i++) in m32r_sio_init()
Damba-pl010.c521 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
Ducc_uart.c1076 if (ser->irq < 0 || ser->irq >= nr_irqs) in qe_uart_verify_port()
Damba-pl011.c1882 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl011_verify_port()
Dserial_core.c779 if ((new_info->irq >= nr_irqs) || (new_info->irq < 0) || in uart_set_info()
/drivers/gpio/
Dgpio-vr41xx.c573 if (irq < 0 || irq >= nr_irqs) in giu_probe()
/drivers/char/
Dhpet.c236 if (irq >= nr_irqs) { in hpet_timer_set_irq()
/drivers/net/wan/
Dsbni.c323 if (pci_irq_line <= 0 || pci_irq_line >= nr_irqs) in sbni_pci_probe()
/drivers/tty/serial/cpm_uart/
Dcpm_uart_core.c663 if (ser->irq < 0 || ser->irq >= nr_irqs) in cpm_uart_verify_port()
/drivers/xen/events/
Devents_base.c249 if (unlikely(WARN(irq >= nr_irqs, "Invalid irq %d!\n", irq))) in evtchn_from_irq()

12