Searched refs:nr_irqs (Results 1 – 6 of 6) sorted by relevance
/kernel/irq/ |
D | ipi.c | 26 unsigned int nr_irqs, offset; in irq_reserve_ipi() local 40 nr_irqs = cpumask_weight(dest); in irq_reserve_ipi() 41 if (!nr_irqs) { in irq_reserve_ipi() 53 nr_irqs = 1; in irq_reserve_ipi() 78 virq = irq_domain_alloc_descs(-1, nr_irqs, 0, NUMA_NO_NODE, NULL); in irq_reserve_ipi() 84 virq = __irq_domain_alloc_irqs(domain, virq, nr_irqs, NUMA_NO_NODE, in irq_reserve_ipi() 92 for (i = 0; i < nr_irqs; i++) { in irq_reserve_ipi() 101 irq_free_descs(virq, nr_irqs); in irq_reserve_ipi() 120 unsigned int nr_irqs; in irq_destroy_ipi() local 144 nr_irqs = cpumask_weight(dest); in irq_destroy_ipi() [all …]
|
D | irqdomain.c | 29 unsigned int nr_irqs, int node, void *arg, 1110 hint = hwirq % nr_irqs; in irq_domain_alloc_descs() 1241 static void irq_domain_free_irq_data(unsigned int virq, unsigned int nr_irqs) in irq_domain_free_irq_data() argument 1246 for (i = 0; i < nr_irqs; i++) { in irq_domain_free_irq_data() 1333 unsigned int virq, unsigned int nr_irqs) in irq_domain_alloc_irq_data() argument 1340 for (i = 0; i < nr_irqs; i++) { in irq_domain_alloc_irq_data() 1430 unsigned int nr_irqs) in irq_domain_free_irqs_common() argument 1435 for (i = 0; i < nr_irqs; i++) { in irq_domain_free_irqs_common() 1440 irq_domain_free_irqs_parent(domain, virq, nr_irqs); in irq_domain_free_irqs_common() 1451 unsigned int nr_irqs) in irq_domain_free_irqs_top() argument [all …]
|
D | irqdesc.c | 130 int nr_irqs = NR_IRQS; variable 131 EXPORT_SYMBOL_GPL(nr_irqs); 519 nr_irqs = nr; in irq_expand_nr_irqs() 533 NR_IRQS, nr_irqs, initcnt); in early_irq_init() 535 if (WARN_ON(nr_irqs > IRQ_BITMAP_BITS)) in early_irq_init() 536 nr_irqs = IRQ_BITMAP_BITS; in early_irq_init() 541 if (initcnt > nr_irqs) in early_irq_init() 542 nr_irqs = initcnt; in early_irq_init() 762 if (from >= nr_irqs || (from + cnt) > nr_irqs) in irq_free_descs() 817 if (start + cnt > nr_irqs) { in __irq_alloc_descs() [all …]
|
D | resend.c | 35 while (!bitmap_empty(irqs_resend, nr_irqs)) { in resend_irqs() 36 irq = find_first_bit(irqs_resend, nr_irqs); in resend_irqs()
|
D | msi.c | 531 unsigned int nr_irqs, void *arg) in msi_domain_alloc() argument 542 ret = irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, arg); in msi_domain_alloc() 547 for (i = 0; i < nr_irqs; i++) { in msi_domain_alloc() 554 irq_domain_free_irqs_top(domain, virq, nr_irqs); in msi_domain_alloc() 563 unsigned int nr_irqs) in msi_domain_free() argument 569 for (i = 0; i < nr_irqs; i++) in msi_domain_free() 572 irq_domain_free_irqs_top(domain, virq, nr_irqs); in msi_domain_free()
|
D | proc.c | 457 # define ACTUAL_NR_IRQS nr_irqs 477 for (prec = 3, j = 1000; prec < 10 && j <= nr_irqs; ++prec) in show_interrupts()
|