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

/freebsd-10.2-release/usr.sbin/bhyve/
H A Dpci_irq.c198 int best_count, best_irq, best_pin, irq, pin; local
215 best_irq = -1;
220 if (best_irq == -1 || irq_counts[irq] < best_count) {
221 best_irq = irq;
225 assert(best_irq >= 0);
226 irq_counts[best_irq]++;
227 pirqs[best_pin].reg = best_irq;
228 vm_isa_set_irq_trigger(ctx, best_irq, LEVEL_TRIGGER);
/freebsd-10.2-release/sys/dev/acpica/
H A Dacpi_pci_link.c954 u_int8_t best_irq, pos_irq; local
1003 best_irq = PCI_INVALID_IRQ;
1013 best_irq = pos_irq;
1026 best_irq = pos_irq;
1030 if (PCI_INTERRUPT_VALID(best_irq)) {
1033 best_irq, best_weight);
1036 return (best_irq);

Completed in 55 milliseconds