Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dmlx5_irq.h29 int mlx5_irqs_request_vectors(struct mlx5_core_dev *dev, u16 *cpus, int nirqs,
31 void mlx5_irqs_release_vectors(struct mlx5_irq **irqs, int nirqs);
39 int mlx5_irq_affinity_irqs_request_auto(struct mlx5_core_dev *dev, int nirqs,
46 static inline int mlx5_irq_affinity_irqs_request_auto(struct mlx5_core_dev *dev, int nirqs, in mlx5_irq_affinity_irqs_request_auto() argument
Dpci_irq.c361 static void mlx5_irqs_release(struct mlx5_irq **irqs, int nirqs) in mlx5_irqs_release() argument
365 for (i = 0; i < nirqs; i++) { in mlx5_irqs_release()
443 void mlx5_irqs_release_vectors(struct mlx5_irq **irqs, int nirqs) in mlx5_irqs_release_vectors() argument
445 mlx5_irqs_release(irqs, nirqs); in mlx5_irqs_release_vectors()
461 int mlx5_irqs_request_vectors(struct mlx5_core_dev *dev, u16 *cpus, int nirqs, in mlx5_irqs_request_vectors() argument
470 for (i = 0; i < nirqs; i++) { in mlx5_irqs_request_vectors()
Dirq_affinity.c193 int mlx5_irq_affinity_irqs_request_auto(struct mlx5_core_dev *dev, int nirqs, in mlx5_irq_affinity_irqs_request_auto() argument
204 for (i = 0; i < nirqs; i++) { in mlx5_irq_affinity_irqs_request_auto()
/linux-6.1.9/drivers/irqchip/
Dirq-renesas-intc-irqpin.c383 unsigned int nirqs; in intc_irqpin_probe() local
430 nirqs = k; in intc_irqpin_probe()
431 if (nirqs < 1) { in intc_irqpin_probe()
481 for (k = 0; k < nirqs; k++) in intc_irqpin_probe()
490 for (k = 1; k < nirqs; k++) { in intc_irqpin_probe()
517 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
122 (fws->param[0] >= combiner->nirqs) || in combiner_irq_translate()
200 ctx->combiner->nirqs += reg->bit_width; in get_registers_cb()
250 combiner->domain = irq_domain_create_linear(pdev->dev.fwnode, combiner->nirqs, in combiner_probe()
260 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.c328 int nirqs) in aic5_of_init() argument
335 if (nirqs > NR_AIC5_IRQS) in aic5_of_init()
342 nirqs, aic5_irq_fixups); in aic5_of_init()
Dirq-armada-370-xp.c706 int nirqs; in armada_370_xp_mpic_resume() local
710 nirqs = (readl(main_int_base + ARMADA_370_XP_INT_CONTROL) >> 2) & 0x3ff; in armada_370_xp_mpic_resume()
711 for (irq = 0; irq < nirqs; irq++) { in armada_370_xp_mpic_resume()
/linux-6.1.9/drivers/mfd/
Dhtc-i2cpld.c47 int nirqs; member
61 int nirqs; member
144 if (chip->nirqs == 0) in htcpld_handler()
178 for (irqpin = 0; irqpin < chip->nirqs; irqpin++) { in htcpld_handler()
281 if (offset < chip_data->nirqs) in htcpld_chip_to_irq()
310 irq_end = chip->irq_start + chip->nirqs; in htcpld_setup_chip_irq()
486 htcpld->chip[i].nirqs = pdata->chip[i].num_irqs; in htcpld_setup_chips()
/linux-6.1.9/drivers/net/ethernet/fungible/funcore/
Dfun_dev.c634 int fun_reserve_irqs(struct fun_dev *fdev, unsigned int nirqs, u16 *irq_indices) in fun_reserve_irqs() argument
639 if (!nirqs) in fun_reserve_irqs()
643 if (nirqs > fdev->irqs_avail) in fun_reserve_irqs()
649 if (n >= nirqs) in fun_reserve_irqs()
653 WARN_ON(n < nirqs); in fun_reserve_irqs()
663 void fun_release_irqs(struct fun_dev *fdev, unsigned int nirqs, in fun_release_irqs() argument
669 for (i = 0; i < nirqs; i++) in fun_release_irqs()
671 fdev->irqs_avail += nirqs; in fun_release_irqs()
Dfun_dev.h141 int fun_reserve_irqs(struct fun_dev *fdev, unsigned int nirqs,
143 void fun_release_irqs(struct fun_dev *fdev, unsigned int nirqs,
/linux-6.1.9/drivers/thermal/
Drcar_thermal.c54 unsigned int nirqs; member
63 .nirqs = 1,
72 .nirqs = 1,
85 .nirqs = 2,
462 for (i = 0; i < chip->nirqs; i++) { in rcar_thermal_probe()
/linux-6.1.9/drivers/gpio/
Dgpio-htc-egpio.c45 int nirqs; member
114 for_each_set_bit(irqpin, &readval, ei->nirqs) { in egpio_handler()
341 ei->nirqs = pdata->num_irqs; in egpio_probe()
349 irq_end = ei->irq_start + ei->nirqs; in egpio_probe()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-apple-gpio.c432 unsigned int i, nirqs = 0; in apple_gpio_pinctrl_probe() local
438 nirqs = res; in apple_gpio_pinctrl_probe()
441 pctl = devm_kzalloc(&pdev->dev, struct_size(pctl, irqgrps, nirqs), in apple_gpio_pinctrl_probe()
446 pctl->gpio_chip.irq.num_parents = nirqs; in apple_gpio_pinctrl_probe()
/linux-6.1.9/drivers/pinctrl/intel/
Dpinctrl-intel.h130 unsigned short nirqs; member
Dpinctrl-cherryview.c102 .nirqs = (i), \
1381 for (i = community->nirqs - 1; i >= 0; i--) { in chv_gpio_set_intr_line()
1486 for_each_set_bit(intr_line, &pending, community->nirqs) { in chv_gpio_irq_handler()
1562 if (intsel >= community->nirqs) in chv_init_irq_valid_mask()
1584 chv_pctrl_writel(pctrl, CHV_INTMASK, GENMASK(31, community->nirqs)); in chv_gpio_irq_init_hw()
/linux-6.1.9/drivers/bus/
Dmoxtet.c28 int nirqs; member
317 nsame * mox_module_table[id].nirqs; in moxtet_set_irq()
319 if (first + mox_module_table[id].nirqs > MOXTET_NIRQS) in moxtet_set_irq()
322 for (i = 0; i < mox_module_table[id].nirqs; ++i) { in moxtet_set_irq()
/linux-6.1.9/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)…
1501 if (nirqs < 4) in switchtec_init_isr()
1502 nirqs = 4; in switchtec_init_isr()
1504 nvecs = pci_alloc_irq_vectors(stdev->pdev, 1, nirqs, in switchtec_init_isr()
/linux-6.1.9/drivers/net/dsa/microchip/
Dksz_common.c1834 for (irq = 0; irq < kirq->nirqs; irq++) { in ksz_irq_free()
1859 for (n = 0; n < kirq->nirqs; ++n) { in ksz_irq_thread_fn()
1877 kirq->domain = irq_domain_add_simple(dev->dev->of_node, kirq->nirqs, 0, in ksz_irq_common_setup()
1882 for (n = 0; n < kirq->nirqs; n++) in ksz_irq_common_setup()
1902 girq->nirqs = dev->info->port_cnt; in ksz_girq_setup()
1916 pirq->nirqs = dev->info->port_nirqs; in ksz_pirq_setup()
Dksz_common.h78 int nirqs; member
/linux-6.1.9/drivers/memory/
Domap-gpmc.c239 int nirqs; member
1373 for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) { in gpmc_handle_irq()
1416 gpmc->nirqs, in gpmc_setup_irq()
1441 for (hwirq = 0; hwirq < gpmc->nirqs; hwirq++) in gpmc_free_irq()
2577 gpmc->nirqs = GPMC_NR_NAND_IRQS + gpmc_nr_waitpins; in gpmc_probe()
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dchip.c168 for (n = 0; n < chip->g1_irq.nirqs; ++n) { in mv88e6xxx_g1_irq_thread_work()
186 ctl1 &= GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_thread_work()
210 u16 mask = GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_bus_sync_unlock()
262 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_free_common()
265 for (irq = 0; irq < chip->g1_irq.nirqs; irq++) { in mv88e6xxx_g1_irq_free_common()
291 chip->g1_irq.nirqs = chip->info->g1_irqs; in mv88e6xxx_g1_irq_setup_common()
293 NULL, chip->g1_irq.nirqs, 0, in mv88e6xxx_g1_irq_setup_common()
298 for (irq = 0; irq < chip->g1_irq.nirqs; irq++) in mv88e6xxx_g1_irq_setup_common()
308 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_setup_common()
322 mask &= ~GENMASK(chip->g1_irq.nirqs, 0); in mv88e6xxx_g1_irq_setup_common()
Dchip.h205 int nirqs; member