/drivers/bus/fsl-mc/ |
D | fsl-mc-allocator.c | 350 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 …]
|
D | fsl-mc-msi.c | 223 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()
|
D | dprc-driver.c | 246 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()
|
D | fsl-mc-private.h | 188 u8 irq_count; member 617 unsigned int irq_count);
|
D | dprc.c | 447 obj_desc->irq_count = rsp_params->irq_count; in dprc_get_obj()
|
/drivers/vfio/fsl-mc/ |
D | vfio_fsl_mc_intr.c | 20 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()
|
D | vfio_fsl_mc.c | 121 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/ |
D | ntb_msi_test.c | 60 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/ |
D | irq-imx-irqsteer.c | 31 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/ |
D | rmi_driver.c | 150 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 …]
|
D | rmi_f12.c | 334 mask_size = BITS_TO_LONGS(drvdata->irq_count) * sizeof(unsigned long); in rmi_f12_probe()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_core_irq.c | 167 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/ |
D | gpio-mxc.c | 371 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/ |
D | pci-keystone.c | 642 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/ |
D | sp-platform.c | 30 unsigned int irq_count; member 98 sp_platform->irq_count = count; in sp_get_irqs()
|
/drivers/mfd/ |
D | ab8500-debugfs.c | 99 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/ |
D | dispc-compat.c | 41 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/ |
D | i915_pmu.h | 134 unsigned long irq_count; member
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-platform.c | 463 pdata->irq_count = 2; in xgbe_platform_probe() 485 pdata->irq_count += max; in xgbe_platform_probe()
|
D | xgbe-pci.c | 143 pdata->irq_count = ret; in xgbe_config_multi_msi() 180 pdata->irq_count = 1; in xgbe_config_irqs()
|
/drivers/misc/cxl/ |
D | irq.c | 320 ctx->irq_count = count; in afu_allocate_irqs() 420 ctx->irq_count = 0; in afu_release_irqs()
|
D | file.c | 483 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/ |
D | ec.c | 156 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/ |
D | dsi.h | 279 unsigned int irq_count; member
|
/drivers/net/ethernet/sfc/ |
D | efx_channels.c | 1259 channel->irq_count = 0; in efx_update_irq_mod() 1289 unlikely(++channel->irq_count == 1000)) { in efx_poll()
|