Searched refs:best_irq (Results 1 - 2 of 2) sorted by relevance

/freebsd-current/usr.sbin/bhyve/amd64/
H A Dpci_irq.c204 int best_count, best_irq, best_pin, irq, pin; local
226 best_irq = -1;
231 if (best_irq == -1 || irq_counts[irq] < best_count) {
232 best_irq = irq;
236 assert(best_irq >= 0);
237 irq_counts[best_irq]++;
238 pirqs[best_pin].reg = best_irq;
239 vm_isa_set_irq_trigger(ctx, best_irq, LEVEL_TRIGGER);
/freebsd-current/sys/dev/acpica/
H A Dacpi_pci_link.c965 u_int8_t best_irq, pos_irq; local
1014 best_irq = PCI_INVALID_IRQ;
1024 best_irq = pos_irq;
1037 best_irq = pos_irq;
1041 if (PCI_INTERRUPT_VALID(best_irq)) {
1044 best_irq, best_weight);
1047 return (best_irq);

Completed in 90 milliseconds