/drivers/irqchip/ |
D | irq-mmp.c | 39 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 …]
|
D | spear-shirq.c | 48 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 …]
|
D | irq-hip04.c | 59 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 …]
|
D | irq-armada-370-xp.c | 334 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/ |
D | arm-cci.c | 176 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/ |
D | exynos_mct.c | 598 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/ |
D | twl6030-irq.c | 394 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()
|
D | twl4030-irq.c | 697 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()
|
D | 88pm860x-core.c | 582 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/ |
D | virq-debugfs.c | 25 for (i = 1; i < nr_irqs; i++) { in intc_irq_xlate_debug()
|
/drivers/of/ |
D | irq.c | 460 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/ |
D | baycom_ser_fdx.c | 421 dev->irq < 2 || dev->irq > nr_irqs) { in ser12_open() 424 0xffff-SER12_EXTENT, nr_irqs); in ser12_open()
|
D | scc.c | 1469 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/ |
D | at91_cf.c | 318 cf->socket.pci_irq = nr_irqs + 1; in at91_cf_probe()
|
D | vrc4171_card.c | 644 if (irq >= 0 && irq < nr_irqs) in vrc4171_card_setup()
|
/drivers/tty/serial/ |
D | m32r_sio.c | 905 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()
|
D | amba-pl010.c | 521 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl010_verify_port()
|
D | ucc_uart.c | 1076 if (ser->irq < 0 || ser->irq >= nr_irqs) in qe_uart_verify_port()
|
D | amba-pl011.c | 1882 if (ser->irq < 0 || ser->irq >= nr_irqs) in pl011_verify_port()
|
D | serial_core.c | 779 if ((new_info->irq >= nr_irqs) || (new_info->irq < 0) || in uart_set_info()
|
/drivers/gpio/ |
D | gpio-vr41xx.c | 573 if (irq < 0 || irq >= nr_irqs) in giu_probe()
|
/drivers/char/ |
D | hpet.c | 236 if (irq >= nr_irqs) { in hpet_timer_set_irq()
|
/drivers/net/wan/ |
D | sbni.c | 323 if (pci_irq_line <= 0 || pci_irq_line >= nr_irqs) in sbni_pci_probe()
|
/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 663 if (ser->irq < 0 || ser->irq >= nr_irqs) in cpm_uart_verify_port()
|
/drivers/xen/events/ |
D | events_base.c | 249 if (unlikely(WARN(irq >= nr_irqs, "Invalid irq %d!\n", irq))) in evtchn_from_irq()
|