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

/freebsd-13-stable/usr.sbin/bhyve/
H A Dpci_irq.c201 int best_count, best_irq, best_pin, irq, pin; local
223 best_irq = -1;
228 if (best_irq == -1 || irq_counts[irq] < best_count) {
229 best_irq = irq;
233 assert(best_irq >= 0);
234 irq_counts[best_irq]++;
235 pirqs[best_pin].reg = best_irq;
236 vm_isa_set_irq_trigger(ctx, best_irq, LEVEL_TRIGGER);
/freebsd-13-stable/sys/dev/acpica/
H A Dacpi_pci_link.c961 u_int8_t best_irq, pos_irq; local
1010 best_irq = PCI_INVALID_IRQ;
1020 best_irq = pos_irq;
1033 best_irq = pos_irq;
1037 if (PCI_INTERRUPT_VALID(best_irq)) {
1040 best_irq, best_weight);
1043 return (best_irq);

Completed in 107 milliseconds