Searched refs:irq_count (Results 1 – 16 of 16) sorted by relevance
/arch/powerpc/platforms/4xx/ |
D | hsta_msi.c | 37 int irq_count; member 100 for (irq = 0; irq < ppc4xx_hsta_msi.irq_count; irq++) in hsta_find_hwirq_offset() 131 int irq, ret, irq_count; in hsta_msi_probe() local 140 irq_count = of_irq_count(dev->of_node); in hsta_msi_probe() 141 if (!irq_count) { in hsta_msi_probe() 149 ppc4xx_hsta_msi.irq_count = irq_count; in hsta_msi_probe() 155 ret = msi_bitmap_alloc(&ppc4xx_hsta_msi.bmp, irq_count, dev->of_node); in hsta_msi_probe() 159 ppc4xx_hsta_msi.irq_map = kmalloc(sizeof(int) * irq_count, GFP_KERNEL); in hsta_msi_probe() 166 for (irq = 0; irq < irq_count; irq++) { in hsta_msi_probe()
|
/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 25 offset = bitmap_find_next_zero_area(bmp->bitmap, bmp->irq_count, 0, in msi_bitmap_alloc_hwirqs() 27 if (offset > bmp->irq_count) in msi_bitmap_alloc_hwirqs() 99 bitmap_allocate_region(bmp->bitmap, 0, get_count_order(bmp->irq_count)); in msi_bitmap_reserve_dt_hwirqs() 115 int __ref msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count, in msi_bitmap_alloc() argument 120 if (!irq_count) in msi_bitmap_alloc() 123 size = BITS_TO_LONGS(irq_count) * sizeof(long); in msi_bitmap_alloc() 143 bmp->irq_count = irq_count; in msi_bitmap_alloc()
|
D | mpic.c | 1219 unsigned int irq_count, in mpic_alloc() argument 1473 if (irq_count) in mpic_alloc() 1474 last_irq = irq_count - 1; in mpic_alloc()
|
/arch/powerpc/include/asm/ |
D | msi_bitmap.h | 21 unsigned int irq_count; member 32 int msi_bitmap_alloc(struct msi_bitmap *bmp, unsigned int irq_count,
|
D | mpic.h | 431 unsigned int irq_count,
|
D | mpc52xx.h | 318 int irq_count; member
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_lpbfifo.c | 309 req->irq_count++; in mpc52xx_lpbfifo_irq() 343 req->irq_count++; in mpc52xx_lpbfifo_bcom_irq() 414 req->irq_count = 0; in mpc52xx_lpbfifo_submit()
|
/arch/parisc/include/asm/ |
D | processor.h | 97 unsigned long irq_count; /* number of IRQ's since boot */ member
|
/arch/powerpc/platforms/powernv/ |
D | pci-cxl.c | 139 return phb->msi_bmp.irq_count; in pnv_cxl_get_irq_count()
|
/arch/ia64/kernel/ |
D | time.c | 140 if ((tsk->flags & PF_VCPU) && !irq_count()) in vtime_account_system()
|
/arch/x86/entry/ |
D | entry_64.S | 457 incl PER_CPU_VAR(irq_count) 516 decl PER_CPU_VAR(irq_count)
|
/arch/s390/kernel/ |
D | vtime.c | 231 if ((tsk->flags & PF_VCPU) && (irq_count() == 0)) in vtime_account_irq_enter()
|
/arch/x86/include/asm/ |
D | processor.h | 417 DECLARE_PER_CPU(unsigned int, irq_count);
|
/arch/x86/kernel/ |
D | process_64.c | 415 this_cpu_read(irq_count) != -1); in __switch_to()
|
/arch/powerpc/kernel/ |
D | time.c | 345 if ((tsk->flags & PF_VCPU) && !irq_count()) { in vtime_account_system()
|
/arch/x86/kernel/cpu/ |
D | common.c | 1517 DEFINE_PER_CPU(unsigned int, irq_count) __visible = -1;
|