/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 …]
|
/drivers/mfd/ |
D | sprd-sc27xx-spi.c | 32 u32 num_irqs; member 42 .num_irqs = SPRD_SC2731_IRQ_NUMS, 191 ddata->irq_chip.num_irqs = pdata->num_irqs; in sprd_pmic_probe() 195 pdata->num_irqs, sizeof(struct regmap_irq), in sprd_pmic_probe() 201 for (i = 0; i < pdata->num_irqs; i++) { in sprd_pmic_probe() 202 ddata->irqs[i].reg_offset = i / pdata->num_irqs; in sprd_pmic_probe() 203 ddata->irqs[i].mask = BIT(i % pdata->num_irqs); in sprd_pmic_probe()
|
D | intel_soc_pmic_bxtwc.c | 141 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs), 150 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_pwrbtn), 159 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_tmu), 168 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_bcu), 177 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_adc), 186 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_chgr), 195 .num_irqs = ARRAY_SIZE(bxtwc_regmap_irqs_crit),
|
D | sec-irq.c | 378 .num_irqs = ARRAY_SIZE(s2mps11_irqs), 387 .num_irqs = ARRAY_SIZE(s2mps14_irqs), \ 411 .num_irqs = ARRAY_SIZE(s2mpu02_irqs), 421 .num_irqs = ARRAY_SIZE(s5m8767_irqs), 431 .num_irqs = ARRAY_SIZE(s5m8763_irqs),
|
D | stmpe.c | 429 .num_irqs = STMPE801_NR_INTERNAL_IRQS, 591 .num_irqs = STMPE811_NR_INTERNAL_IRQS, 606 .num_irqs = STMPE811_NR_INTERNAL_IRQS, 662 .num_irqs = STMPE1600_NR_INTERNAL_IRQS, 826 .num_irqs = STMPE1601_NR_INTERNAL_IRQS, 935 .num_irqs = STMPE1801_NR_INTERNAL_IRQS, 1041 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS, 1055 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS, 1086 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq() 1145 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq_sync_unlock() [all …]
|
D | max77693.c | 72 .num_irqs = ARRAY_SIZE(max77693_led_irqs), 88 .num_irqs = ARRAY_SIZE(max77693_topsys_irqs), 106 .num_irqs = ARRAY_SIZE(max77693_charger_irqs), 143 .num_irqs = ARRAY_SIZE(max77693_muic_irqs),
|
D | qcom-pm8xxx.c | 66 int num_irqs; member 496 .num_irqs = PM8XXX_NR_IRQS, 502 .num_irqs = PM8821_NR_IRQS, 560 struct_size(chip, config, data->num_irqs), in pm8xxx_probe() 567 chip->num_blocks = DIV_ROUND_UP(data->num_irqs, 8); in pm8xxx_probe() 573 data->num_irqs, in pm8xxx_probe()
|
D | max8907.c | 137 .num_irqs = ARRAY_SIZE(max8907_chg_irqs), 160 .num_irqs = ARRAY_SIZE(max8907_on_off_irqs), 174 .num_irqs = ARRAY_SIZE(max8907_rtc_irqs),
|
D | axp20x.c | 512 .num_irqs = ARRAY_SIZE(axp152_regmap_irqs), 524 .num_irqs = ARRAY_SIZE(axp20x_regmap_irqs), 537 .num_irqs = ARRAY_SIZE(axp22x_regmap_irqs), 549 .num_irqs = ARRAY_SIZE(axp288_regmap_irqs), 562 .num_irqs = ARRAY_SIZE(axp803_regmap_irqs), 574 .num_irqs = ARRAY_SIZE(axp806_regmap_irqs), 586 .num_irqs = ARRAY_SIZE(axp809_regmap_irqs),
|
/drivers/perf/ |
D | arm_pmu_platform.c | 98 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() 105 return num_irqs; in pmu_parse_irqs() 112 if (num_irqs == 0) { in pmu_parse_irqs() 119 if (num_irqs == 1) { in pmu_parse_irqs() 130 for (i = 0; i < num_irqs; i++) { in pmu_parse_irqs()
|
/drivers/irqchip/ |
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()
|
D | irq-davinci-aintc.c | 132 irq_base = irq_alloc_descs(-1, 0, config->num_irqs, 0); in davinci_aintc_init() 140 config->num_irqs, irq_base, 0, in davinci_aintc_init() 157 irq_off < config->num_irqs; in davinci_aintc_init()
|
/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()
|
/drivers/gpu/drm/via/ |
D | via_irq.c | 134 for (i = 0; i < dev_priv->num_irqs; ++i) { in via_driver_irq_handler() 274 dev_priv->num_irqs = via_num_pro_group_a; in via_driver_irq_preinstall() 278 dev_priv->num_irqs = via_num_unichrome; in via_driver_irq_preinstall() 282 for (i = 0; i < dev_priv->num_irqs; ++i) { in via_driver_irq_preinstall() 354 if (irqwait->request.irq >= dev_priv->num_irqs) { in via_wait_irq()
|
/drivers/scsi/cxlflash/ |
D | ocxl_hw.c | 187 if (num < 0 || num >= ctx->num_irqs) { in afu_map_irq() 256 if (num < 0 || num >= ctx->num_irqs) { in afu_unmap_irq() 295 if (irq < 0 || irq >= ctx->num_irqs) in ocxlflash_get_irq_objhndl() 599 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 …]
|
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_netvf_main.c | 74 unsigned int num_irqs; in nfp_netvf_pci_probe() local 238 num_irqs = nfp_net_irqs_alloc(pdev, vf->irq_entries, in nfp_netvf_pci_probe() 242 if (!num_irqs) { in nfp_netvf_pci_probe() 247 nfp_net_irqs_assign(nn, vf->irq_entries, num_irqs); in nfp_netvf_pci_probe()
|
/drivers/pinctrl/sh-pfc/ |
D | core.c | 37 int num_irqs; in sh_pfc_map_resources() local 48 num_irqs = platform_irq_count(pdev); in sh_pfc_map_resources() 49 if (num_irqs < 0) in sh_pfc_map_resources() 50 return num_irqs; in sh_pfc_map_resources() 61 if (num_irqs) { in sh_pfc_map_resources() 62 irqs = devm_kcalloc(pfc->dev, num_irqs, sizeof(*irqs), in sh_pfc_map_resources() 67 pfc->num_irqs = num_irqs; in sh_pfc_map_resources() 81 for (i = 0; i < num_irqs; i++) in sh_pfc_map_resources()
|
/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 273 int irq, wakeirq, num_irqs; in wl1271_probe() local 347 num_irqs = 2; in wl1271_probe() 349 num_irqs = 1; in wl1271_probe() 351 ret = platform_device_add_resources(glue->core, res, num_irqs); in wl1271_probe()
|
/drivers/vfio/platform/ |
D | vfio_platform_common.c | 306 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_platform_ioctl() 318 info.num_irqs = vdev->num_irqs; in vfio_platform_ioctl() 356 if (info.index >= vdev->num_irqs) in vfio_platform_ioctl() 376 ret = vfio_set_irqs_validate_and_prepare(&hdr, vdev->num_irqs, in vfio_platform_ioctl() 377 vdev->num_irqs, &data_size); in vfio_platform_ioctl()
|
D | vfio_platform_irq.c | 312 vdev->num_irqs = cnt; in vfio_platform_irq_init() 324 for (i = 0; i < vdev->num_irqs; i++) in vfio_platform_irq_cleanup() 327 vdev->num_irqs = 0; in vfio_platform_irq_cleanup()
|
/drivers/mmc/host/ |
D | renesas_sdhi_core.c | 649 int num_irqs, irq, ret, i; in renesas_sdhi_probe() local 828 num_irqs = platform_irq_count(pdev); in renesas_sdhi_probe() 829 if (num_irqs < 0) { in renesas_sdhi_probe() 830 ret = num_irqs; in renesas_sdhi_probe() 835 if (!num_irqs) { in renesas_sdhi_probe() 840 for (i = 0; i < num_irqs; i++) { in renesas_sdhi_probe()
|
/drivers/char/ipmi/ |
D | ipmi_si_hardcode.c | 24 static unsigned int num_irqs __initdata; 49 module_param_hw_array(irqs, int, irq, &num_irqs, 0);
|
/drivers/base/regmap/ |
D | regmap-irq.c | 503 for (i = 0; i < chip->num_irqs; i++) { in regmap_irq_thread() 576 for (i = 0; i < chip->num_irqs; i++) { in regmap_add_irq_chip() 585 irq_base = irq_alloc_descs(irq_base, 0, chip->num_irqs, 0); in regmap_add_irq_chip() 669 for (i = 0; i < chip->num_irqs; i++) in regmap_add_irq_chip() 773 chip->num_irqs, irq_base, 0, in regmap_add_irq_chip() 777 chip->num_irqs, in regmap_add_irq_chip() 832 for (hwirq = 0; hwirq < d->chip->num_irqs; hwirq++) { in regmap_del_irq_chip()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc-compat.c | 552 int num_irqs; in dispc_mgr_disable_digit_out() local 563 num_irqs = 1; in dispc_mgr_disable_digit_out() 578 num_irqs = 2; in dispc_mgr_disable_digit_out() 594 for (i = 0; i < num_irqs; ++i) { in dispc_mgr_disable_digit_out()
|
/drivers/staging/media/hantro/ |
D | rk3399_vpu_hw.c | 202 .num_irqs = ARRAY_SIZE(rk3399_irqs), 219 .num_irqs = ARRAY_SIZE(rk3328_irqs),
|