/Linux-v6.6/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-v6.6/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-v6.6/kernel/irq/ |
D | irq_sim.c | 165 unsigned int num_irqs) in irq_domain_create_sim() argument 173 work_ctx->pending = bitmap_zalloc(num_irqs, GFP_KERNEL); in irq_domain_create_sim() 177 work_ctx->domain = irq_domain_create_linear(fwnode, num_irqs, in irq_domain_create_sim() 183 work_ctx->irq_count = num_irqs; in irq_domain_create_sim() 235 unsigned int num_irqs) in devm_irq_domain_create_sim() argument 240 domain = irq_domain_create_sim(fwnode, num_irqs); in devm_irq_domain_create_sim()
|
/Linux-v6.6/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 | 24 u32 num_irqs; /* The number of vectors for MSIs */ member 56 first = bitmap_find_free_region(priv->msi_map, priv->num_irqs, in pch_msi_allocate_hwirq() 166 middle_domain = irq_domain_create_hierarchy(parent, 0, priv->num_irqs, in pch_msi_init_domains() 203 priv->num_irqs = irq_count; in pch_msi_init() 205 priv->msi_map = bitmap_zalloc(priv->num_irqs, GFP_KERNEL); in pch_msi_init() 210 priv->num_irqs, priv->irq_first); in pch_msi_init()
|
D | irq-davinci-cp-intc.c | 162 unsigned int num_regs = BITS_TO_LONGS(config->num_irqs); in davinci_cp_intc_do_init() 204 num_regs = (config->num_irqs + 3) >> 2; /* 4 channels per register */ in davinci_cp_intc_do_init() 209 irq_base = irq_alloc_descs(-1, 0, config->num_irqs, 0); in davinci_cp_intc_do_init() 217 node, config->num_irqs, irq_base, 0, in davinci_cp_intc_do_init() 251 ret = of_property_read_u32(node, "ti,intc-size", &config.num_irqs); in davinci_cp_intc_of_init()
|
/Linux-v6.6/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 | 146 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs), 155 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_pwrbtn), 164 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_tmu), 173 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_bcu), 182 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_adc), 191 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_chgr), 200 .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),
|
D | qcom-pm8xxx.c | 66 int num_irqs; member 490 .num_irqs = PM8XXX_NR_IRQS, 496 .num_irqs = PM8821_NR_IRQS, 550 struct_size(chip, config, data->num_irqs), in pm8xxx_probe() 557 chip->num_blocks = DIV_ROUND_UP(data->num_irqs, 8); in pm8xxx_probe() 563 data->num_irqs, in pm8xxx_probe()
|
/Linux-v6.6/include/linux/ |
D | irq_sim.h | 20 unsigned int num_irqs); 23 unsigned int num_irqs);
|
/Linux-v6.6/drivers/power/supply/ |
D | lp8788-charger.c | 109 int num_irqs; member 430 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_find_irq_id() 495 nr_irq = pchg->num_irqs; in lp8788_set_irqs() 500 pchg->num_irqs++; in lp8788_set_irqs() 515 for (i = 0; i < pchg->num_irqs; i++) in lp8788_set_irqs() 530 pchg->num_irqs = 0; in lp8788_irq_register() 540 if (pchg->num_irqs > LP8788_MAX_CHG_IRQS) { in lp8788_irq_register() 542 pchg->num_irqs); in lp8788_irq_register() 556 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_irq_unregister()
|
D | axp20x_ac_power.c | 47 unsigned int num_irqs; member 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-v6.6/drivers/media/platform/verisilicon/ |
D | rockchip_vpu_hw.c | 667 .num_irqs = ARRAY_SIZE(rockchip_vdpu1_irqs), 692 .num_irqs = ARRAY_SIZE(rockchip_vpu1_irqs), 712 .num_irqs = ARRAY_SIZE(rockchip_vpu1_irqs), 728 .num_irqs = ARRAY_SIZE(rockchip_vdpu2_irqs), 750 .num_irqs = ARRAY_SIZE(rockchip_vpu2_irqs), 763 .num_irqs = ARRAY_SIZE(rk3568_vepu_irqs), 777 .num_irqs = ARRAY_SIZE(rockchip_vdpu2_irqs), 794 .num_irqs = ARRAY_SIZE(rockchip_vpu2_irqs), 810 .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-v6.6/arch/sparc/kernel/ |
D | of_device_64.c | 654 op->archdata.num_irqs = len / 4; in scan_one_device() 657 if (op->archdata.num_irqs > PROMINTR_MAX) { in scan_one_device() 660 dp, op->archdata.num_irqs, PROMINTR_MAX); in scan_one_device() 661 op->archdata.num_irqs = PROMINTR_MAX; in scan_one_device() 663 memcpy(op->archdata.irqs, irq, op->archdata.num_irqs * 4); in scan_one_device() 665 op->archdata.num_irqs = 0; in scan_one_device() 669 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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/iio/adc/ |
D | stm32-adc-core.c | 80 unsigned int num_irqs; member 417 for (i = 0; i < priv->cfg->num_irqs; i++) { in stm32_adc_irq_probe() 431 for (i = 0; i < priv->cfg->num_irqs; i++) { in stm32_adc_irq_probe() 449 for (i = 0; i < priv->cfg->num_irqs; i++) in stm32_adc_irq_remove() 861 .num_irqs = 1, 870 .num_irqs = 1, 880 .num_irqs = 2, 888 .num_irqs = 1,
|
/Linux-v6.6/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 264 int irq, wakeirq, num_irqs; in wl1271_probe() local 338 num_irqs = 2; in wl1271_probe() 340 num_irqs = 1; in wl1271_probe() 342 ret = platform_device_add_resources(glue->core, res, num_irqs); in wl1271_probe()
|