Home
last modified time | relevance | path

Searched refs:irq_count (Results 1 – 25 of 39) sorted by relevance

12

/drivers/bus/fsl-mc/
Dfsl-mc-allocator.c350 unsigned int irq_count) in fsl_mc_populate_irq_pool() argument
365 if (irq_count == 0 || in fsl_mc_populate_irq_pool()
366 irq_count > FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS) in fsl_mc_populate_irq_pool()
369 error = fsl_mc_msi_domain_alloc_irqs(&mc_bus_dev->dev, irq_count); in fsl_mc_populate_irq_pool()
374 irq_count, sizeof(*irq_resources), in fsl_mc_populate_irq_pool()
381 for (i = 0; i < irq_count; i++) { in fsl_mc_populate_irq_pool()
401 res_pool->max_count = irq_count; in fsl_mc_populate_irq_pool()
402 res_pool->free_count = irq_count; in fsl_mc_populate_irq_pool()
445 int irq_count; in fsl_mc_allocate_irqs() local
455 irq_count = mc_dev->obj_desc.irq_count; in fsl_mc_allocate_irqs()
[all …]
Dfsl-mc-msi.c223 static int fsl_mc_msi_alloc_descs(struct device *dev, unsigned int irq_count) in fsl_mc_msi_alloc_descs() argument
230 for (i = 0; i < irq_count; i++) { in fsl_mc_msi_alloc_descs()
251 unsigned int irq_count) in fsl_mc_msi_domain_alloc_irqs() argument
259 error = fsl_mc_msi_alloc_descs(dev, irq_count); in fsl_mc_msi_domain_alloc_irqs()
273 error = msi_domain_alloc_irqs(msi_domain, dev, irq_count); in fsl_mc_msi_domain_alloc_irqs()
Ddprc-driver.c246 unsigned int irq_count = mc_bus_dev->obj_desc.irq_count; in dprc_scan_objects() local
305 irq_count += obj_desc->irq_count; in dprc_scan_objects()
323 if (irq_count > FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS) { in dprc_scan_objects()
326 irq_count, FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS); in dprc_scan_objects()
Dfsl-mc-private.h188 u8 irq_count; member
617 unsigned int irq_count);
Ddprc.c447 obj_desc->irq_count = rsp_params->irq_count; in dprc_get_obj()
/drivers/vfio/fsl-mc/
Dvfio_fsl_mc_intr.c20 int irq_count; in vfio_fsl_mc_irqs_allocate() local
24 if (mc_dev->obj_desc.irq_count == 0) in vfio_fsl_mc_irqs_allocate()
31 irq_count = mc_dev->obj_desc.irq_count; in vfio_fsl_mc_irqs_allocate()
33 mc_irq = kcalloc(irq_count, sizeof(*mc_irq), GFP_KERNEL); in vfio_fsl_mc_irqs_allocate()
44 for (i = 0; i < irq_count; i++) { in vfio_fsl_mc_irqs_allocate()
178 int irq_count = mc_dev->obj_desc.irq_count; in vfio_fsl_mc_irqs_cleanup() local
188 for (i = 0; i < irq_count; i++) in vfio_fsl_mc_irqs_cleanup()
Dvfio_fsl_mc.c121 info.num_irqs = mc_dev->obj_desc.irq_count; in vfio_fsl_mc_ioctl()
161 if (info.index >= mc_dev->obj_desc.irq_count) in vfio_fsl_mc_ioctl()
183 ret = vfio_set_irqs_validate_and_prepare(&hdr, mc_dev->obj_desc.irq_count, in vfio_fsl_mc_ioctl()
184 mc_dev->obj_desc.irq_count, &data_size); in vfio_fsl_mc_ioctl()
/drivers/ntb/test/
Dntb_msi_test.c60 int irq_count = 0; in ntb_msit_setup_work() local
97 irq_count++; in ntb_msit_setup_work()
100 ntb_spad_write(nm->ntb, 0, irq_count); in ntb_msit_setup_work()
135 int irq_count = nm->peers[peer].num_irqs; in ntb_msit_copy_peer_desc() local
137 for (i = 0; i < irq_count; i++) { in ntb_msit_copy_peer_desc()
144 irq_count, peer); in ntb_msit_copy_peer_desc()
154 u32 irq_count; in ntb_msit_db_event() local
163 irq_count = ntb_peer_spad_read(nm->ntb, peer, 0); in ntb_msit_db_event()
164 if (irq_count == -1) in ntb_msit_db_event()
167 desc = kcalloc(irq_count, sizeof(*desc), GFP_ATOMIC); in ntb_msit_db_event()
[all …]
/drivers/irqchip/
Dirq-imx-irqsteer.c31 int irq_count; member
98 for (i = 0; i < data->irq_count; i++) { in imx_irqsteer_get_hwirq_base()
175 data->irq_count = DIV_ROUND_UP(irqs_num, 64); in imx_irqsteer_probe()
203 if (!data->irq_count || data->irq_count > CHAN_MAX_OUTPUT_INT) { in imx_irqsteer_probe()
208 for (i = 0; i < data->irq_count; i++) { in imx_irqsteer_probe()
233 for (i = 0; i < irqsteer_data->irq_count; i++) in imx_irqsteer_remove()
/drivers/input/rmi4/
Drmi_driver.c150 data->irq_count); in rmi_process_interrupt_requests()
157 for_each_set_bit(i, data->irq_status, data->irq_count) in rmi_process_interrupt_requests()
375 data->current_irq_mask, mask, data->irq_count); in rmi_driver_set_irq_bits()
388 bitmap_or(data->fn_irq_bits, data->fn_irq_bits, mask, data->irq_count); in rmi_driver_set_irq_bits()
404 data->fn_irq_bits, mask, data->irq_count); in rmi_driver_clear_irq_bits()
406 data->current_irq_mask, mask, data->irq_count); in rmi_driver_clear_irq_bits()
779 int *irq_count = ctx; in rmi_count_irqs() local
782 *irq_count += pdt->interrupt_source_count; in rmi_count_irqs()
842 BITS_TO_LONGS(data->irq_count) * sizeof(unsigned long), in rmi_create_function()
1016 int irq_count = 0; in rmi_probe_interrupts() local
[all …]
Drmi_f12.c334 mask_size = BITS_TO_LONGS(drvdata->irq_count) * sizeof(unsigned long); in rmi_f12_probe()
/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_core_irq.c167 int i, irq_count, cb_count; in dpu_debugfs_core_irq_show() local
175 irq_count = atomic_read(&irq_obj->irq_counts[i]); in dpu_debugfs_core_irq_show()
180 if (irq_count || cb_count) in dpu_debugfs_core_irq_show()
182 i, irq_count, cb_count); in dpu_debugfs_core_irq_show()
/drivers/gpio/
Dgpio-mxc.c371 int irq_count; in mxc_gpio_probe() local
387 irq_count = platform_irq_count(pdev); in mxc_gpio_probe()
388 if (irq_count < 0) in mxc_gpio_probe()
389 return irq_count; in mxc_gpio_probe()
391 if (irq_count > 1) { in mxc_gpio_probe()
/drivers/pci/controller/dwc/
Dpci-keystone.c642 int irq_count, irq, ret, i; in ks_pcie_config_msi_irq() local
655 irq_count = of_irq_count(intc_np); in ks_pcie_config_msi_irq()
656 if (!irq_count) { in ks_pcie_config_msi_irq()
662 for (i = 0; i < irq_count; i++) { in ks_pcie_config_msi_irq()
696 int irq_count, irq, ret = 0, i; in ks_pcie_config_legacy_irq() local
710 irq_count = of_irq_count(intc_np); in ks_pcie_config_legacy_irq()
711 if (!irq_count) { in ks_pcie_config_legacy_irq()
717 for (i = 0; i < irq_count; i++) { in ks_pcie_config_legacy_irq()
/drivers/crypto/ccp/
Dsp-platform.c30 unsigned int irq_count; member
98 sp_platform->irq_count = count; in sp_get_irqs()
/drivers/mfd/
Dab8500-debugfs.c99 static u32 *irq_count; variable
1261 irq_count[irq_abb]++; in ab8500_debug_handler()
1838 return sprintf(buf, "%u\n", irq_count[irq_index]); in show_irq()
1930 irq_count[irq_index] = 0; in ab8500_unsubscribe_write()
2013 irq_count = devm_kcalloc(&plf->dev, in ab8500_debug_probe()
2014 num_irqs, sizeof(*irq_count), GFP_KERNEL); in ab8500_debug_probe()
2015 if (!irq_count) in ab8500_debug_probe()
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.c41 unsigned irq_count; member
76 seq_printf(s, "irqs %d\n", stats.irq_count); in dispc_dump_irqs()
273 dispc_compat.irq_stats.irq_count++; in omap_dispc_irq_handler()
/drivers/gpu/drm/i915/
Di915_pmu.h134 unsigned long irq_count; member
/drivers/net/ethernet/amd/xgbe/
Dxgbe-platform.c463 pdata->irq_count = 2; in xgbe_platform_probe()
485 pdata->irq_count += max; in xgbe_platform_probe()
Dxgbe-pci.c143 pdata->irq_count = ret; in xgbe_config_multi_msi()
180 pdata->irq_count = 1; in xgbe_config_irqs()
/drivers/misc/cxl/
Dirq.c320 ctx->irq_count = count; in afu_allocate_irqs()
420 ctx->irq_count = 0; in afu_release_irqs()
Dfile.c483 event.irq.irq = find_first_bit(ctx->irq_bitmap, ctx->irq_count) + 1; in afu_read()
485 if (bitmap_empty(ctx->irq_bitmap, ctx->irq_count)) in afu_read()
/drivers/acpi/
Dec.c156 unsigned short irq_count; member
622 if (t->irq_count < ec_storm_threshold) in acpi_ec_spurious_interrupt()
623 ++t->irq_count; in acpi_ec_spurious_interrupt()
626 if (t->irq_count == ec_storm_threshold) in acpi_ec_spurious_interrupt()
708 ec->curr->irq_count = ec->curr->wi = ec->curr->ri = 0; in start_transaction()
793 if (t->irq_count == ec_storm_threshold) in acpi_ec_transaction_unlocked()
/drivers/gpu/drm/omapdrm/dss/
Ddsi.h279 unsigned int irq_count; member
/drivers/net/ethernet/sfc/
Defx_channels.c1259 channel->irq_count = 0; in efx_update_irq_mod()
1289 unlikely(++channel->irq_count == 1000)) { in efx_poll()

12