/linux-6.12.1/drivers/net/ethernet/meta/fbnic/ |
D | fbnic_irq.c | 179 fbd->num_irqs = 0; in fbnic_free_irqs() 188 int num_irqs; in fbnic_alloc_irqs() local 191 num_irqs = pci_alloc_irq_vectors(pdev, FBNIC_NON_NAPI_VECTORS + 1, in fbnic_alloc_irqs() 193 if (num_irqs < 0) { in fbnic_alloc_irqs() 195 return num_irqs; in fbnic_alloc_irqs() 198 if (num_irqs < wanted_irqs) in fbnic_alloc_irqs() 200 num_irqs, wanted_irqs); in fbnic_alloc_irqs() 202 fbd->num_irqs = num_irqs; in fbnic_alloc_irqs()
|
/linux-6.12.1/drivers/ntb/test/ |
D | ntb_msi_test.c | 15 static int num_irqs = 4; variable 16 module_param(num_irqs, int, 0644); 17 MODULE_PARM_DESC(num_irqs, "number of irqs to use"); 35 int num_irqs; member 72 for (i = 0; i < num_irqs; i++) { in ntb_msit_setup_work() 111 for (i = 0; i < num_irqs; i++) { in ntb_msit_desc_changed() 135 int irq_count = nm->peers[peer].num_irqs; in ntb_msit_copy_peer_desc() 173 nm->peers[peer].num_irqs = irq_count; in ntb_msit_db_event() 188 if (idx >= peer->num_irqs) in ntb_msit_dbgfs_trigger() 217 *count = peer->num_irqs; in ntb_msit_dbgfs_count_get() [all …]
|
/linux-6.12.1/kernel/irq/ |
D | irq_sim.c | 193 unsigned int num_irqs) in irq_domain_create_sim() argument 195 return irq_domain_create_sim_full(fwnode, num_irqs, NULL, NULL); in irq_domain_create_sim() 200 unsigned int num_irqs, in irq_domain_create_sim_full() argument 210 unsigned long *pending __free(bitmap) = bitmap_zalloc(num_irqs, GFP_KERNEL); in irq_domain_create_sim_full() 214 work_ctx->domain = irq_domain_create_linear(fwnode, num_irqs, in irq_domain_create_sim_full() 220 work_ctx->irq_count = num_irqs; in irq_domain_create_sim_full() 270 unsigned int num_irqs) in devm_irq_domain_create_sim() argument 272 return devm_irq_domain_create_sim_full(dev, fwnode, num_irqs, in devm_irq_domain_create_sim() 280 unsigned int num_irqs, in devm_irq_domain_create_sim_full() argument 287 domain = irq_domain_create_sim_full(fwnode, num_irqs, ops, data); in devm_irq_domain_create_sim_full()
|
/linux-6.12.1/include/linux/ |
D | irq_sim.h | 27 unsigned int num_irqs); 30 unsigned int num_irqs); 32 unsigned int num_irqs, 38 unsigned int num_irqs,
|
/linux-6.12.1/drivers/perf/ |
D | arm_pmu_platform.c | 97 int i = 0, num_irqs; in pmu_parse_irqs() local 102 num_irqs = platform_irq_count(pdev); in pmu_parse_irqs() 103 if (num_irqs < 0) in pmu_parse_irqs() 104 return dev_err_probe(dev, num_irqs, "unable to count PMU IRQs\n"); in pmu_parse_irqs() 110 if (num_irqs == 0) { in pmu_parse_irqs() 117 if (num_irqs == 1) { in pmu_parse_irqs() 126 for (i = 0; i < num_irqs; i++) { in pmu_parse_irqs()
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-aspeed-scu-ic.c | 40 unsigned int num_irqs; member 74 max = scu_ic->num_irqs + bit; in aspeed_scu_ic_irq_handler() 168 scu_ic->irq_domain = irq_domain_add_linear(node, scu_ic->num_irqs, in aspeed_scu_ic_of_init_common() 197 scu_ic->num_irqs = ASPEED_SCU_IC_NUM_IRQS; in aspeed_scu_ic_of_init() 213 scu_ic->num_irqs = ASPEED_AST2600_SCU_IC0_NUM_IRQS; in aspeed_ast2600_scu_ic0_of_init() 229 scu_ic->num_irqs = ASPEED_AST2600_SCU_IC1_NUM_IRQS; in aspeed_ast2600_scu_ic1_of_init()
|
D | irq-loongson-pch-msi.c | 27 u32 num_irqs; /* The number of vectors for MSIs */ member 39 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq() 161 middle_domain = irq_domain_create_hierarchy(parent, 0, priv->num_irqs, in pch_msi_init_domains() 192 priv->num_irqs = irq_count; in pch_msi_init() 194 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); in pch_msi_init() 199 priv->num_irqs, priv->irq_first); in pch_msi_init()
|
D | irq-davinci-cp-intc.c | 161 unsigned int num_regs = BITS_TO_LONGS(config->num_irqs); in davinci_cp_intc_do_init() 203 num_regs = (config->num_irqs + 3) >> 2; /* 4 channels per register */ in davinci_cp_intc_do_init() 208 irq_base = irq_alloc_descs(-1, 0, config->num_irqs, 0); in davinci_cp_intc_do_init() 216 node, config->num_irqs, irq_base, 0, in davinci_cp_intc_do_init() 250 ret = of_property_read_u32(node, "ti,intc-size", &config.num_irqs); in davinci_cp_intc_of_init()
|
/linux-6.12.1/drivers/mfd/ |
D | sprd-sc27xx-spi.c | 49 u32 num_irqs; member 60 .num_irqs = SPRD_SC2730_IRQ_NUMS, 66 .num_irqs = SPRD_SC2731_IRQ_NUMS, 187 ddata->irq_chip.num_irqs = pdata->num_irqs; in sprd_pmic_probe() 190 pdata->num_irqs, sizeof(struct regmap_irq), in sprd_pmic_probe() 196 for (i = 0; i < pdata->num_irqs; i++) in sprd_pmic_probe()
|
D | max77541.c | 30 .num_irqs = ARRAY_SIZE(max77541_src_irqs), 48 .num_irqs = ARRAY_SIZE(max77541_topsys_irqs), 64 .num_irqs = ARRAY_SIZE(max77541_buck_irqs), 80 .num_irqs = ARRAY_SIZE(max77541_adc_irqs),
|
D | intel_soc_pmic_bxtwc.c | 145 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs), 154 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_pwrbtn), 163 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_tmu), 172 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_bcu), 181 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_adc), 190 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_chgr), 199 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_crit),
|
D | sec-irq.c | 302 .num_irqs = ARRAY_SIZE(s2mps11_irqs), 311 .num_irqs = ARRAY_SIZE(s2mps14_irqs), \ 335 .num_irqs = ARRAY_SIZE(s2mpu02_irqs), 345 .num_irqs = ARRAY_SIZE(s5m8767_irqs),
|
D | stmpe.c | 425 .num_irqs = STMPE801_NR_INTERNAL_IRQS, 589 .num_irqs = STMPE811_NR_INTERNAL_IRQS, 604 .num_irqs = STMPE811_NR_INTERNAL_IRQS, 660 .num_irqs = STMPE1600_NR_INTERNAL_IRQS, 824 .num_irqs = STMPE1601_NR_INTERNAL_IRQS, 933 .num_irqs = STMPE1801_NR_INTERNAL_IRQS, 1039 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS, 1053 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS, 1084 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq() 1143 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq_sync_unlock() [all …]
|
D | max77693.c | 71 .num_irqs = ARRAY_SIZE(max77693_led_irqs), 86 .num_irqs = ARRAY_SIZE(max77693_topsys_irqs), 103 .num_irqs = ARRAY_SIZE(max77693_charger_irqs), 139 .num_irqs = ARRAY_SIZE(max77693_muic_irqs),
|
/linux-6.12.1/drivers/regulator/ |
D | bd96801-regulator.c | 295 int num_irqs; member 541 .num_irqs = ARRAY_SIZE(buck1_irqinfo), 567 .num_irqs = ARRAY_SIZE(buck2_irqinfo), 595 .num_irqs = ARRAY_SIZE(buck3_irqinfo), 623 .num_irqs = ARRAY_SIZE(buck4_irqinfo), 647 .num_irqs = ARRAY_SIZE(ldo5_irqinfo), 670 .num_irqs = ARRAY_SIZE(ldo6_irqinfo), 693 .num_irqs = ARRAY_SIZE(ldo7_irqinfo), 716 num_infos = pdata->regulator_data[r].irq_desc.num_irqs; in initialize_pmic_data() 853 for (j = 0; j < idesc->num_irqs; j++) { in bd96801_probe()
|
/linux-6.12.1/drivers/power/supply/ |
D | lp8788-charger.c | 109 int num_irqs; member 424 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_find_irq_id() 489 nr_irq = pchg->num_irqs; in lp8788_set_irqs() 494 pchg->num_irqs++; in lp8788_set_irqs() 509 for (i = 0; i < pchg->num_irqs; i++) in lp8788_set_irqs() 524 pchg->num_irqs = 0; in lp8788_irq_register() 534 if (pchg->num_irqs > LP8788_MAX_CHG_IRQS) { in lp8788_irq_register() 536 pchg->num_irqs); in lp8788_irq_register() 550 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_irq_unregister()
|
D | axp20x_ac_power.c | 47 unsigned int num_irqs; member 48 unsigned int irqs[] __counted_by(num_irqs); 298 while (i < power->num_irqs) in axp20x_ac_power_suspend() 311 while (i < power->num_irqs) in axp20x_ac_power_resume() 363 power->num_irqs = axp_data->num_irq_names; in axp20x_ac_power_probe()
|
/linux-6.12.1/drivers/media/platform/verisilicon/ |
D | rockchip_vpu_hw.c | 666 .num_irqs = ARRAY_SIZE(rockchip_vdpu1_irqs), 691 .num_irqs = ARRAY_SIZE(rockchip_vpu1_irqs), 711 .num_irqs = ARRAY_SIZE(rockchip_vpu1_irqs), 727 .num_irqs = ARRAY_SIZE(rockchip_vdpu2_irqs), 749 .num_irqs = ARRAY_SIZE(rockchip_vpu2_irqs), 762 .num_irqs = ARRAY_SIZE(rk3568_vepu_irqs), 776 .num_irqs = ARRAY_SIZE(rockchip_vdpu2_irqs), 793 .num_irqs = ARRAY_SIZE(rockchip_vpu2_irqs), 809 .num_irqs = ARRAY_SIZE(rk3588_vpu981_irqs),
|
D | imx8m_vpu_hw.c | 355 .num_irqs = ARRAY_SIZE(imx8mq_irqs), 372 .num_irqs = ARRAY_SIZE(imx8mq_irqs), 387 .num_irqs = ARRAY_SIZE(imx8mq_g2_irqs), 399 .num_irqs = ARRAY_SIZE(imx8mq_irqs),
|
/linux-6.12.1/arch/sparc/kernel/ |
D | of_device_64.c | 651 op->archdata.num_irqs = len / 4; in scan_one_device() 654 if (op->archdata.num_irqs > PROMINTR_MAX) { in scan_one_device() 657 dp, op->archdata.num_irqs, PROMINTR_MAX); in scan_one_device() 658 op->archdata.num_irqs = PROMINTR_MAX; in scan_one_device() 660 memcpy(op->archdata.irqs, irq, op->archdata.num_irqs * 4); in scan_one_device() 662 op->archdata.num_irqs = 0; in scan_one_device() 666 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device()
|
D | of_device_32.c | 358 op->archdata.num_irqs = len / sizeof(struct linux_prom_irqs); in scan_one_device() 359 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device() 367 op->archdata.num_irqs = len / sizeof(unsigned int); in scan_one_device() 368 for (i = 0; i < op->archdata.num_irqs; i++) in scan_one_device() 372 op->archdata.num_irqs = 0; in scan_one_device()
|
/linux-6.12.1/drivers/misc/bcm-vk/ |
D | bcm_vk_dev.c | 1367 for (vk->num_irqs = 0; in bcm_vk_probe() 1368 vk->num_irqs < VK_MSIX_MSGQ_MAX; in bcm_vk_probe() 1369 vk->num_irqs++) { in bcm_vk_probe() 1370 err = devm_request_irq(dev, pci_irq_vector(pdev, vk->num_irqs), in bcm_vk_probe() 1375 pdev->irq + vk->num_irqs, vk->num_irqs + 1); in bcm_vk_probe() 1380 err = devm_request_irq(dev, pci_irq_vector(pdev, vk->num_irqs), in bcm_vk_probe() 1385 pdev->irq + vk->num_irqs, vk->num_irqs + 1); in bcm_vk_probe() 1388 vk->num_irqs++; in bcm_vk_probe() 1391 (i < VK_MSIX_TTY_MAX) && (vk->num_irqs < irq); in bcm_vk_probe() 1392 i++, vk->num_irqs++) { in bcm_vk_probe() [all …]
|
/linux-6.12.1/drivers/scsi/cxlflash/ |
D | ocxl_hw.c | 189 if (num < 0 || num >= ctx->num_irqs) { in afu_map_irq() 258 if (num < 0 || num >= ctx->num_irqs) { in afu_unmap_irq() 295 if (irq < 0 || irq >= ctx->num_irqs) in ocxlflash_get_irq_objhndl() 601 for (i = ctx->num_irqs; i >= 0; i--) in free_afu_irqs() 655 ctx->num_irqs = num; in alloc_afu_irqs() 1069 bit = find_first_bit(&ctx->irq_bitmap, ctx->num_irqs); in afu_read() 1072 if (bitmap_empty(&ctx->irq_bitmap, ctx->num_irqs)) in afu_read() 1112 for (i = ctx->num_irqs; i >= 0; i--) in afu_release() 1281 for (i = 0; i < ctx->num_irqs; i++) { in ocxlflash_afu_irq() 1285 if (unlikely(i >= ctx->num_irqs)) { in ocxlflash_afu_irq() [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_netvf_main.c | 87 unsigned int num_irqs; in nfp_netvf_pci_probe() local 254 num_irqs = nfp_net_irqs_alloc(pdev, vf->irq_entries, in nfp_netvf_pci_probe() 258 if (!num_irqs) { in nfp_netvf_pci_probe() 263 nfp_net_irqs_assign(nn, vf->irq_entries, num_irqs); in nfp_netvf_pci_probe()
|
/linux-6.12.1/drivers/iio/adc/ |
D | stm32-adc-core.c | 81 unsigned int num_irqs; member 418 for (i = 0; i < priv->cfg->num_irqs; i++) { in stm32_adc_irq_probe() 432 for (i = 0; i < priv->cfg->num_irqs; i++) { in stm32_adc_irq_probe() 450 for (i = 0; i < priv->cfg->num_irqs; i++) in stm32_adc_irq_remove() 859 .num_irqs = 1, 868 .num_irqs = 1, 878 .num_irqs = 2, 886 .num_irqs = 1,
|