Searched refs:best_pin (Results 1 – 1 of 1) sorted by relevance
205 int best_count, best_irq, best_pin, irq, pin; in pirq_alloc_pin() local211 best_pin = (4 + pi->pi_slot + pi->pi_lintr.pin) % 8; in pirq_alloc_pin()214 best_pin = 0; in pirq_alloc_pin()218 best_pin = pin; in pirq_alloc_pin()223 pirqs[best_pin].use_count++; in pirq_alloc_pin()226 if (pirqs[best_pin].reg == PIRQ_DIS) { in pirq_alloc_pin()239 pirqs[best_pin].reg = best_irq; in pirq_alloc_pin()243 return (best_pin + 1); in pirq_alloc_pin()