Searched refs:irq_next_free (Results 1 – 1 of 1) sorted by relevance
158 static u_int irq_next_free; variable434 if (irq_next_free >= intr_nirq) in isrc_alloc_irq()437 for (irq = irq_next_free; irq < intr_nirq; irq++) { in isrc_alloc_irq()441 for (irq = 0; irq < irq_next_free; irq++) { in isrc_alloc_irq()446 irq_next_free = intr_nirq; in isrc_alloc_irq()453 irq_next_free = irq + 1; in isrc_alloc_irq()454 if (irq_next_free >= intr_nirq) in isrc_alloc_irq()455 irq_next_free = 0; in isrc_alloc_irq()482 if (irq_next_free >= intr_nirq) in isrc_free_irq()483 irq_next_free = 0; in isrc_free_irq()