Lines Matching full:hwirq
56 if (WARN_ON(d->hwirq >= odmis_count * NODMIS_PER_FRAME)) in odmi_compose_msi_msg()
59 odmi = &odmis[d->hwirq >> NODMIS_SHIFT]; in odmi_compose_msi_msg()
60 odmin = d->hwirq & NODMIS_MASK; in odmi_compose_msi_msg()
84 unsigned int hwirq, odmin; in odmi_irq_domain_alloc() local
88 hwirq = find_first_zero_bit(odmis_bm, NODMIS_PER_FRAME * odmis_count); in odmi_irq_domain_alloc()
89 if (hwirq >= NODMIS_PER_FRAME * odmis_count) { in odmi_irq_domain_alloc()
94 __set_bit(hwirq, odmis_bm); in odmi_irq_domain_alloc()
97 odmi = &odmis[hwirq >> NODMIS_SHIFT]; in odmi_irq_domain_alloc()
98 odmin = hwirq & NODMIS_MASK; in odmi_irq_domain_alloc()
119 irq_domain_set_hwirq_and_chip(domain, virq, hwirq, in odmi_irq_domain_alloc()
130 if (d->hwirq >= odmis_count * NODMIS_PER_FRAME) { in odmi_irq_domain_free()
131 pr_err("Failed to teardown msi. Invalid hwirq %lu\n", d->hwirq); in odmi_irq_domain_free()
139 __clear_bit(d->hwirq, odmis_bm); in odmi_irq_domain_free()