Home
last modified time | relevance | path

Searched refs:nirqs (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/drivers/irqchip/
Dirq-renesas-intc-irqpin.c386 unsigned int nirqs; in intc_irqpin_probe() local
431 nirqs = k; in intc_irqpin_probe()
432 if (nirqs < 1) { in intc_irqpin_probe()
482 for (k = 0; k < nirqs; k++) in intc_irqpin_probe()
491 for (k = 1; k < nirqs; k++) { in intc_irqpin_probe()
519 p->irq_domain = irq_domain_add_simple(dev->of_node, nirqs, 0, in intc_irqpin_probe()
538 for (k = 0; k < nirqs; k++) { in intc_irqpin_probe()
550 for (k = 0; k < nirqs; k++) in intc_irqpin_probe()
553 dev_info(dev, "driving %d irqs\n", nirqs); in intc_irqpin_probe()
Dqcom-irq-combiner.c34 u32 nirqs; member
126 (fws->param[0] >= combiner->nirqs) || in combiner_irq_translate()
204 ctx->combiner->nirqs += reg->bit_width; in get_registers_cb()
254 combiner->domain = irq_domain_create_linear(pdev->dev.fwnode, combiner->nirqs, in combiner_probe()
264 combiner->parent_irq, combiner->nirqs, combiner->regs[0].addr); in combiner_probe()
Dirq-atmel-aic-common.h33 const char *name, int nirqs,
Dirq-atmel-aic-common.c210 const char *name, int nirqs, in aic_common_of_init() argument
221 nchips = DIV_ROUND_UP(nirqs, 32); in aic_common_of_init()
Dirq-atmel-aic5.c322 int nirqs) in aic5_of_init() argument
329 if (nirqs > NR_AIC5_IRQS) in aic5_of_init()
336 nirqs, aic5_irq_fixups); in aic5_of_init()
Dirq-armada-370-xp.c596 int nirqs; in armada_370_xp_mpic_resume() local
600 nirqs = (readl(main_int_base + ARMADA_370_XP_INT_CONTROL) >> 2) & 0x3ff; in armada_370_xp_mpic_resume()
601 for (irq = 0; irq < nirqs; irq++) { in armada_370_xp_mpic_resume()
/Linux-v5.4/drivers/mfd/
Dhtc-i2cpld.c45 int nirqs; member
59 int nirqs; member
142 if (chip->nirqs == 0) in htcpld_handler()
176 for (irqpin = 0; irqpin < chip->nirqs; irqpin++) { in htcpld_handler()
279 if (offset < chip_data->nirqs) in htcpld_chip_to_irq()
308 irq_end = chip->irq_start + chip->nirqs; in htcpld_setup_chip_irq()
482 htcpld->chip[i].nirqs = pdata->chip[i].num_irqs; in htcpld_setup_chips()
/Linux-v5.4/drivers/gpio/
Dgpio-htc-egpio.c45 int nirqs; member
114 for_each_set_bit(irqpin, &readval, ei->nirqs) { in egpio_handler()
345 ei->nirqs = pdata->num_irqs; in egpio_probe()
353 irq_end = ei->irq_start + ei->nirqs; in egpio_probe()
/Linux-v5.4/drivers/thermal/
Drcar_thermal.c54 unsigned int nirqs; member
63 .nirqs = 1,
72 .nirqs = 1,
85 .nirqs = 2,
516 for (i = 0; i < chip->nirqs; i++) { in rcar_thermal_probe()
/Linux-v5.4/drivers/pinctrl/intel/
Dpinctrl-cherryview.c135 size_t nirqs; member
386 .nirqs = 8,
475 .nirqs = 8,
518 .nirqs = 16,
644 .nirqs = 16,
1482 for_each_set_bit(intr_line, &pending, pctrl->community->nirqs) { in chv_gpio_irq_handler()
1553 if (intsel >= community->nirqs) in chv_init_irq_valid_mask()
1604 chv_writel(GENMASK(31, pctrl->community->nirqs), in chv_gpio_probe()
/Linux-v5.4/drivers/bus/
Dmoxtet.c28 int nirqs; member
318 nsame * mox_module_table[id].nirqs; in moxtet_set_irq()
320 if (first + mox_module_table[id].nirqs > MOXTET_NIRQS) in moxtet_set_irq()
323 for (i = 0; i < mox_module_table[id].nirqs; ++i) { in moxtet_set_irq()
/Linux-v5.4/drivers/pci/switch/
Dswitchtec.c33 static int nirqs = 32; variable
34 module_param(nirqs, int, 0644);
35 MODULE_PARM_DESC(nirqs, "number of interrupts to allocate (more may be useful for NTB applications)…
1270 if (nirqs < 4) in switchtec_init_isr()
1271 nirqs = 4; in switchtec_init_isr()
1273 nvecs = pci_alloc_irq_vectors(stdev->pdev, 1, nirqs, in switchtec_init_isr()
/Linux-v5.4/drivers/memory/
Domap-gpmc.c236 int nirqs; member
1382 for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) { in gpmc_handle_irq()
1425 gpmc->nirqs, in gpmc_setup_irq()
1450 for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) in gpmc_free_irq()
2426 gpmc->nirqs = GPMC_NR_NAND_IRQS + gpmc_nr_waitpins; in gpmc_probe()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dchip.c159 for (n = 0; n < chip->g1_irq.nirqs; ++n) { in mv88e6xxx_g1_irq_thread_work()
177 ctl1 &= GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_thread_work()
201 u16 mask = GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_bus_sync_unlock()
253 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_free_common()
256 for (irq = 0; irq < chip->g1_irq.nirqs; irq++) { in mv88e6xxx_g1_irq_free_common()
282 chip->g1_irq.nirqs = chip->info->g1_irqs; in mv88e6xxx_g1_irq_setup_common()
284 NULL, chip->g1_irq.nirqs, 0, in mv88e6xxx_g1_irq_setup_common()
289 for (irq = 0; irq < chip->g1_irq.nirqs; irq++) in mv88e6xxx_g1_irq_setup_common()
299 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_setup_common()
313 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_setup_common()
Dchip.h164 unsigned int nirqs; member