/linux-master/arch/powerpc/include/asm/ |
H A D | msi_bitmap.h | 16 unsigned int irq_count; member in struct:msi_bitmap 27 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
|
/linux-master/arch/powerpc/platforms/4xx/ |
H A D | hsta_msi.c | 34 int irq_count; member in struct:ppc4xx_hsta_msi 97 for (irq = 0; irq < ppc4xx_hsta_msi.irq_count; irq++) 126 int irq, ret, irq_count; local 135 irq_count = of_irq_count(dev->of_node); 136 if (!irq_count) { 144 ppc4xx_hsta_msi.irq_count = irq_count; 150 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); 154 ppc4xx_hsta_msi.irq_map = kmalloc_array(irq_count, sizeof(int), 162 for (irq = 0; irq < irq_count; ir [all...] |
/linux-master/drivers/vfio/fsl-mc/ |
H A D | vfio_fsl_mc_intr.c | 19 int irq_count; local 23 if (mc_dev->obj_desc.irq_count == 0) 30 irq_count = mc_dev->obj_desc.irq_count; 32 mc_irq = kcalloc(irq_count, sizeof(*mc_irq), GFP_KERNEL_ACCOUNT); 43 for (i = 0; i < irq_count; i++) { 178 int irq_count = mc_dev->obj_desc.irq_count; local 188 for (i = 0; i < irq_count; i++)
|
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_pcie_mac.h | 29 void t7xx_pcie_set_mac_msix_cfg(struct t7xx_pci_dev *t7xx_dev, unsigned int irq_count);
|
H A D | t7xx_pcie_mac.c | 253 * @irq_count: Number of MSIX IRQ vectors. 257 void t7xx_pcie_set_mac_msix_cfg(struct t7xx_pci_dev *t7xx_dev, unsigned int irq_count) argument 259 u32 val = ffs(irq_count) * 2 - 1;
|
/linux-master/drivers/bus/fsl-mc/ |
H A D | fsl-mc-allocator.c | 356 unsigned int irq_count) 370 if (irq_count == 0 || 371 irq_count > FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS) 374 error = fsl_mc_msi_domain_alloc_irqs(&mc_bus_dev->dev, irq_count); 379 irq_count, sizeof(*irq_resources), 386 for (i = 0; i < irq_count; i++) { 402 res_pool->max_count = irq_count; 403 res_pool->free_count = irq_count; 446 int irq_count; local 456 irq_count 355 fsl_mc_populate_irq_pool(struct fsl_mc_device *mc_bus_dev, unsigned int irq_count) argument 514 int irq_count; local [all...] |
H A D | fsl-mc-msi.c | 212 int fsl_mc_msi_domain_alloc_irqs(struct device *dev, unsigned int irq_count) argument 223 error = msi_domain_alloc_irqs_range(dev, MSI_DEFAULT_DOMAIN, 0, irq_count - 1);
|
H A D | dprc-driver.c | 251 unsigned int irq_count = mc_bus_dev->obj_desc.irq_count; local 310 irq_count += obj_desc->irq_count; 328 if (irq_count > FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS) { 331 irq_count, FSL_MC_IRQ_POOL_MAX_TOTAL_IRQS);
|
/linux-master/arch/powerpc/sysdev/ |
H A D | msi_bitmap.c | 22 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, 24 if (offset > bmp->irq_count) 96 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); 112 int __ref msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, argument 117 if (!irq_count) 120 size = BITS_TO_LONGS(irq_count) * sizeof(long); 143 bmp->irq_count = irq_count;
|
/linux-master/drivers/ntb/test/ |
H A D | ntb_msi_test.c | 60 int irq_count = 0; local 97 irq_count++; 100 ntb_spad_write(nm->ntb, 0, irq_count); 135 int irq_count = nm->peers[peer].num_irqs; local 137 for (i = 0; i < irq_count; i++) { 144 irq_count, peer); 154 u32 irq_count; local 163 irq_count = ntb_peer_spad_read(nm->ntb, peer, 0); 164 if (irq_count == -1) 167 desc = kcalloc(irq_count, sizeo [all...] |
/linux-master/drivers/irqchip/ |
H A D | irq-imx-irqsteer.c | 33 int irq_count; member in struct:irqsteer_data 100 for (i = 0; i < data->irq_count; i++) { 177 data->irq_count = DIV_ROUND_UP(irqs_num, 64); 206 if (!data->irq_count || data->irq_count > CHAN_MAX_OUTPUT_INT) { 211 for (i = 0; i < data->irq_count; i++) { 239 for (i = 0; i < irqsteer_data->irq_count; i++)
|
H A D | irq-loongson-pch-msi.c | 189 static int pch_msi_init(phys_addr_t msg_address, int irq_base, int irq_count, argument 203 priv->num_irqs = irq_count; 231 int irq_base, irq_count; local 251 if (of_property_read_u32(node, "loongson,msi-num-vecs", &irq_count)) { 256 err = pch_msi_init(res.start, irq_base, irq_count, parent_domain, of_node_to_fwnode(node));
|
/linux-master/include/linux/ |
H A D | preempt.h | 112 # define irq_count() ((preempt_count() & (NMI_MASK | HARDIRQ_MASK)) | softirq_count()) macro 115 # define irq_count() (preempt_count() & (NMI_MASK | HARDIRQ_MASK | SOFTIRQ_MASK)) macro 143 #define in_interrupt() (irq_count())
|
/linux-master/drivers/input/rmi4/ |
H A D | rmi_driver.c | 150 data->irq_count); 157 for_each_set_bit(i, data->irq_status, data->irq_count) 375 data->current_irq_mask, mask, data->irq_count); 388 bitmap_or(data->fn_irq_bits, data->fn_irq_bits, mask, data->irq_count); 404 data->fn_irq_bits, mask, data->irq_count); 406 data->current_irq_mask, mask, data->irq_count); 779 int *irq_count = ctx; local 782 *irq_count += pdt->interrupt_source_count; 842 BITS_TO_LONGS(data->irq_count) * sizeof(unsigned long), 1016 int irq_count local 1069 int irq_count = 0; local [all...] |
/linux-master/kernel/irq/ |
H A D | debug.h | 19 irq, desc, desc->depth, desc->irq_count, desc->irqs_unhandled);
|
H A D | irq_sim.c | 17 unsigned int irq_count; member in struct:irq_sim_work_ctx 108 while (!bitmap_empty(work_ctx->pending, work_ctx->irq_count)) { 110 work_ctx->irq_count, offset); 183 work_ctx->irq_count = num_irqs;
|
H A D | spurious.c | 410 desc->irq_count++; 411 if (likely(desc->irq_count < 100000)) 414 desc->irq_count = 0;
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_pmu.h | 136 * @irq_count: Number of interrupts 142 unsigned long irq_count; member in struct:i915_pmu
|
/linux-master/include/uapi/linux/ |
H A D | taskstats.h | 203 __u64 irq_count; member in struct:taskstats
|
/linux-master/drivers/crypto/ccp/ |
H A D | sp-platform.c | 30 unsigned int irq_count; member in struct:sp_platform 90 sp_platform->irq_count = platform_irq_count(pdev); 99 if (sp_platform->irq_count == 1) {
|
/linux-master/tools/tracing/rtla/src/ |
H A D | timerlat_hist.c | 62 int irq_count; member in struct:timerlat_hist_cpu 186 data->hist[cpu].irq_count++; 261 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) 300 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) 305 data->hist[cpu].irq_count); 324 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) 348 if (!data->hist[cpu].irq_count && !data->hist[cpu].thread_count) 352 if (data->hist[cpu].irq_count) 354 data->hist[cpu].sum_irq / data->hist[cpu].irq_count); 384 if (!data->hist[cpu].irq_count [all...] |
H A D | timerlat_top.c | 53 int irq_count; member in struct:timerlat_top_cpu 133 cpu_data->irq_count++; 233 if (!cpu_data->irq_count && !cpu_data->thread_count) 239 trace_seq_printf(s, "%3d #%-9d |", cpu, cpu_data->irq_count); 241 if (!cpu_data->irq_count) { 249 trace_seq_printf(s, "%9llu ", (cpu_data->sum_irq / cpu_data->irq_count) / divisor);
|
/linux-master/kernel/ |
H A D | delayacct.c | 190 d->irq_count += tsk->delays->irq_count; 287 task->delays->irq_count++;
|
/linux-master/drivers/gpio/ |
H A D | gpio-mxc.c | 425 int irq_count; local 440 irq_count = platform_irq_count(pdev); 441 if (irq_count < 0) 442 return irq_count; 444 if (irq_count > 1) {
|
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc-compat.c | 41 unsigned irq_count; member in struct:dispc_irq_stats 76 seq_printf(s, "irqs %d\n", stats.irq_count); 273 dispc_compat.irq_stats.irq_count++;
|