Lines Matching refs:nr_irqs
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
1455 for (i = 0; i < nr_irqs; i++) { in irq_domain_free_irqs_top()
1459 irq_domain_free_irqs_common(domain, virq, nr_irqs); in irq_domain_free_irqs_top()
1464 unsigned int nr_irqs) in irq_domain_free_irqs_hierarchy() argument
1471 for (i = 0; i < nr_irqs; i++) { in irq_domain_free_irqs_hierarchy()
1479 unsigned int nr_irqs, void *arg) in irq_domain_alloc_irqs_hierarchy() argument
1486 return domain->ops->alloc(domain, irq_base, nr_irqs, arg); in irq_domain_alloc_irqs_hierarchy()
1490 unsigned int nr_irqs, int node, void *arg, in irq_domain_alloc_irqs_locked() argument
1498 virq = irq_domain_alloc_descs(irq_base, nr_irqs, 0, node, in irq_domain_alloc_irqs_locked()
1502 irq_base, nr_irqs); in irq_domain_alloc_irqs_locked()
1507 if (irq_domain_alloc_irq_data(domain, virq, nr_irqs)) { in irq_domain_alloc_irqs_locked()
1513 ret = irq_domain_alloc_irqs_hierarchy(domain, virq, nr_irqs, arg); in irq_domain_alloc_irqs_locked()
1517 for (i = 0; i < nr_irqs; i++) { in irq_domain_alloc_irqs_locked()
1523 for (i = 0; i < nr_irqs; i++) in irq_domain_alloc_irqs_locked()
1529 irq_domain_free_irq_data(virq, nr_irqs); in irq_domain_alloc_irqs_locked()
1531 irq_free_descs(virq, nr_irqs); in irq_domain_alloc_irqs_locked()
1558 unsigned int nr_irqs, int node, void *arg, in __irq_domain_alloc_irqs() argument
1570 ret = irq_domain_alloc_irqs_locked(domain, irq_base, nr_irqs, node, arg, in __irq_domain_alloc_irqs()
1758 void irq_domain_free_irqs(unsigned int virq, unsigned int nr_irqs) in irq_domain_free_irqs() argument
1768 for (i = 0; i < nr_irqs; i++) in irq_domain_free_irqs()
1770 irq_domain_free_irqs_hierarchy(data->domain, virq, nr_irqs); in irq_domain_free_irqs()
1773 irq_domain_free_irq_data(virq, nr_irqs); in irq_domain_free_irqs()
1774 irq_free_descs(virq, nr_irqs); in irq_domain_free_irqs()
1785 unsigned int irq_base, unsigned int nr_irqs, in irq_domain_alloc_irqs_parent() argument
1792 nr_irqs, arg); in irq_domain_alloc_irqs_parent()
1803 unsigned int irq_base, unsigned int nr_irqs) in irq_domain_free_irqs_parent() argument
1808 irq_domain_free_irqs_hierarchy(domain->parent, irq_base, nr_irqs); in irq_domain_free_irqs_parent()
1937 unsigned int nr_irqs, int node, void *arg, in irq_domain_alloc_irqs_locked() argument