Home
last modified time | relevance | path

Searched refs:num_irqs (Results 1 – 25 of 78) sorted by relevance

1234

/drivers/pinctrl/sh-pfc/
Dcore.c34 unsigned int num_windows, num_irqs; in sh_pfc_map_resources() local
47 for (num_irqs = 0;; num_irqs++) { in sh_pfc_map_resources()
48 irq = platform_get_irq(pdev, num_irqs); in sh_pfc_map_resources()
67 if (num_irqs) { in sh_pfc_map_resources()
68 irqs = devm_kzalloc(pfc->dev, num_irqs * sizeof(*irqs), in sh_pfc_map_resources()
73 pfc->num_irqs = num_irqs; in sh_pfc_map_resources()
87 for (i = 0; i < num_irqs; i++) in sh_pfc_map_resources()
/drivers/power/supply/
Dlp8788-charger.c113 int num_irqs; member
461 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_find_irq_id()
526 nr_irq = pchg->num_irqs; in lp8788_set_irqs()
531 pchg->num_irqs++; in lp8788_set_irqs()
546 for (i = 0; i < pchg->num_irqs; i++) in lp8788_set_irqs()
561 pchg->num_irqs = 0; in lp8788_irq_register()
571 if (pchg->num_irqs > LP8788_MAX_CHG_IRQS) { in lp8788_irq_register()
573 pchg->num_irqs); in lp8788_irq_register()
587 for (i = 0; i < pchg->num_irqs; i++) { in lp8788_irq_unregister()
/drivers/mfd/
Dsec-irq.c385 .num_irqs = ARRAY_SIZE(s2mps11_irqs),
394 .num_irqs = ARRAY_SIZE(s2mps14_irqs), \
418 .num_irqs = ARRAY_SIZE(s2mpu02_irqs),
428 .num_irqs = ARRAY_SIZE(s5m8767_irqs),
438 .num_irqs = ARRAY_SIZE(s5m8763_irqs),
Dstmpe.c429 .num_irqs = STMPE801_NR_INTERNAL_IRQS,
535 .num_irqs = STMPE811_NR_INTERNAL_IRQS,
550 .num_irqs = STMPE811_NR_INTERNAL_IRQS,
604 .num_irqs = STMPE1600_NR_INTERNAL_IRQS,
768 .num_irqs = STMPE1601_NR_INTERNAL_IRQS,
877 .num_irqs = STMPE1801_NR_INTERNAL_IRQS,
983 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS,
997 .num_irqs = STMPE24XX_NR_INTERNAL_IRQS,
1028 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq()
1087 int num = DIV_ROUND_UP(variant->num_irqs, 8); in stmpe_irq_sync_unlock()
[all …]
Dmax77693.c83 .num_irqs = ARRAY_SIZE(max77693_led_irqs),
99 .num_irqs = ARRAY_SIZE(max77693_topsys_irqs),
117 .num_irqs = ARRAY_SIZE(max77693_charger_irqs),
154 .num_irqs = ARRAY_SIZE(max77693_muic_irqs),
Dmax8907.c140 .num_irqs = ARRAY_SIZE(max8907_chg_irqs),
163 .num_irqs = ARRAY_SIZE(max8907_on_off_irqs),
177 .num_irqs = ARRAY_SIZE(max8907_rtc_irqs),
Daxp20x.c501 .num_irqs = ARRAY_SIZE(axp152_regmap_irqs),
513 .num_irqs = ARRAY_SIZE(axp20x_regmap_irqs),
526 .num_irqs = ARRAY_SIZE(axp22x_regmap_irqs),
538 .num_irqs = ARRAY_SIZE(axp288_regmap_irqs),
551 .num_irqs = ARRAY_SIZE(axp806_regmap_irqs),
563 .num_irqs = ARRAY_SIZE(axp809_regmap_irqs),
Dpm8921-core.c62 unsigned int num_irqs; member
364 chip->num_irqs = nirqs; in pm8921_probe()
365 chip->num_blocks = DIV_ROUND_UP(chip->num_irqs, 8); in pm8921_probe()
Dmax14577.c226 .num_irqs = ARRAY_SIZE(max14577_irqs),
256 .num_irqs = ARRAY_SIZE(max77836_muic_irqs),
271 .num_irqs = ARRAY_SIZE(max77836_pmic_irqs),
Dab8500-core.c576 int num_irqs; in ab8500_irq_init() local
579 num_irqs = AB8540_NR_IRQS; in ab8500_irq_init()
581 num_irqs = AB9540_NR_IRQS; in ab8500_irq_init()
583 num_irqs = AB8505_NR_IRQS; in ab8500_irq_init()
585 num_irqs = AB8500_NR_IRQS; in ab8500_irq_init()
589 num_irqs, 0, in ab8500_irq_init()
Dmax77686.c149 .num_irqs = ARRAY_SIZE(max77686_irqs),
158 .num_irqs = ARRAY_SIZE(max77686_irqs),
Dretu-mfd.c77 .num_irqs = ARRAY_SIZE(retu_irqs),
113 .num_irqs = ARRAY_SIZE(tahvo_irqs),
Drk808.c253 .num_irqs = ARRAY_SIZE(rk808_irqs),
265 .num_irqs = ARRAY_SIZE(rk818_irqs),
Dab8500-debugfs.c101 static int num_irqs; variable
1268 if (irq_abb < num_irqs) in ab8500_debug_handler()
2766 if (irq_index >= num_irqs) in show_irq()
2795 if (irq_index >= num_irqs) in ab8500_subscribe_write()
2858 if (irq_index >= num_irqs) in ab8500_unsubscribe_write()
2954 num_irqs = ab8500->mask_size; in ab8500_debug_probe()
2957 sizeof(*irq_count)*num_irqs, GFP_KERNEL); in ab8500_debug_probe()
2962 sizeof(*dev_attr)*num_irqs, GFP_KERNEL); in ab8500_debug_probe()
2967 sizeof(*event_name)*num_irqs, GFP_KERNEL); in ab8500_debug_probe()
Dtps65912-core.c71 .num_irqs = ARRAY_SIZE(tps65912_irqs),
Dintel_soc_pmic_crc.c152 .num_irqs = ARRAY_SIZE(crystal_cove_irqs),
/drivers/gpu/drm/via/
Dvia_irq.c139 for (i = 0; i < dev_priv->num_irqs; ++i) { in via_driver_irq_handler()
279 dev_priv->num_irqs = via_num_pro_group_a; in via_driver_irq_preinstall()
283 dev_priv->num_irqs = via_num_unichrome; in via_driver_irq_preinstall()
287 for (i = 0; i < dev_priv->num_irqs; ++i) { in via_driver_irq_preinstall()
359 if (irqwait->request.irq >= dev_priv->num_irqs) { in via_wait_irq()
/drivers/base/regmap/
Dregmap-irq.c360 for (i = 0; i < chip->num_irqs; i++) { in regmap_irq_thread()
428 for (i = 0; i < chip->num_irqs; i++) { in regmap_add_irq_chip()
437 irq_base = irq_alloc_descs(irq_base, 0, chip->num_irqs, 0); in regmap_add_irq_chip()
511 for (i = 0; i < chip->num_irqs; i++) in regmap_add_irq_chip()
593 for (i = 0; i < chip->num_irqs; i++) { in regmap_add_irq_chip()
621 chip->num_irqs, irq_base, 0, in regmap_add_irq_chip()
625 chip->num_irqs, in regmap_add_irq_chip()
680 for (hwirq = 0; hwirq < d->chip->num_irqs; hwirq++) { in regmap_del_irq_chip()
/drivers/vfio/platform/
Dvfio_platform_irq.c320 vdev->num_irqs = cnt; in vfio_platform_irq_init()
332 for (i = 0; i < vdev->num_irqs; i++) in vfio_platform_irq_cleanup()
335 vdev->num_irqs = 0; in vfio_platform_irq_cleanup()
Dvfio_platform_common.c304 minsz = offsetofend(struct vfio_device_info, num_irqs); in vfio_platform_ioctl()
316 info.num_irqs = vdev->num_irqs; in vfio_platform_ioctl()
354 if (info.index >= vdev->num_irqs) in vfio_platform_ioctl()
376 if (hdr.index >= vdev->num_irqs) in vfio_platform_ioctl()
Dvfio_platform_private.h56 u32 num_irqs; member
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.c563 int num_irqs; in dispc_mgr_disable_digit_out() local
574 num_irqs = 1; in dispc_mgr_disable_digit_out()
589 num_irqs = 2; in dispc_mgr_disable_digit_out()
605 for (i = 0; i < num_irqs; ++i) { in dispc_mgr_disable_digit_out()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c1512 int max_irqs, num_irqs, i, ret, nr_online_cpus; in iwl_pcie_set_interrupt_capa() local
1523 num_irqs = pci_enable_msix_range(pdev, trans_pcie->msix_entries, in iwl_pcie_set_interrupt_capa()
1526 if (num_irqs < 0) { in iwl_pcie_set_interrupt_capa()
1529 num_irqs); in iwl_pcie_set_interrupt_capa()
1532 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa()
1536 num_irqs); in iwl_pcie_set_interrupt_capa()
1545 if (num_irqs <= nr_online_cpus) { in iwl_pcie_set_interrupt_capa()
1546 trans_pcie->trans->num_rx_queues = num_irqs + 1; in iwl_pcie_set_interrupt_capa()
1549 } else if (num_irqs == nr_online_cpus + 1) { in iwl_pcie_set_interrupt_capa()
1550 trans_pcie->trans->num_rx_queues = num_irqs; in iwl_pcie_set_interrupt_capa()
[all …]
/drivers/iommu/
Darm-smmu.c1915 int num_irqs, i, err; in arm_smmu_device_dt_probe() local
1953 num_irqs = 0; in arm_smmu_device_dt_probe()
1954 while ((res = platform_get_resource(pdev, IORESOURCE_IRQ, num_irqs))) { in arm_smmu_device_dt_probe()
1955 num_irqs++; in arm_smmu_device_dt_probe()
1956 if (num_irqs > smmu->num_global_irqs) in arm_smmu_device_dt_probe()
1962 num_irqs, smmu->num_global_irqs + 1); in arm_smmu_device_dt_probe()
1966 smmu->irqs = devm_kzalloc(dev, sizeof(*smmu->irqs) * num_irqs, in arm_smmu_device_dt_probe()
1969 dev_err(dev, "failed to allocate %d irqs\n", num_irqs); in arm_smmu_device_dt_probe()
1973 for (i = 0; i < num_irqs; ++i) { in arm_smmu_device_dt_probe()
/drivers/pci/host/
Dpci-keystone.c164 char *controller, int *num_irqs) in ks_pcie_get_irq_controller_info() argument
214 *num_irqs = temp; in ks_pcie_get_irq_controller_info()

1234