Home
last modified time | relevance | path

Searched refs:pi_lintr (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_irq.c162 pin = pi->pi_lintr.pirq_pin; in pci_irq_assert()
170 pi->pi_lintr.ioapic_irq); in pci_irq_assert()
176 vm_ioapic_assert_irq(pi->pi_vmctx, pi->pi_lintr.ioapic_irq); in pci_irq_assert()
185 pin = pi->pi_lintr.pirq_pin; in pci_irq_deassert()
193 pi->pi_lintr.ioapic_irq); in pci_irq_deassert()
199 vm_ioapic_deassert_irq(pi->pi_vmctx, pi->pi_lintr.ioapic_irq); in pci_irq_deassert()
212 best_pin = (4 + pi->pi_slot + pi->pi_lintr.pin) % 8; in pirq_alloc_pin()
H A Dpci_emul.c1110 pthread_mutex_init(&pdi->pi_lintr.lock, NULL); in pci_emul_init()
1111 pdi->pi_lintr.pin = 0; in pci_emul_init()
1112 pdi->pi_lintr.state = IDLE; in pci_emul_init()
1113 pdi->pi_lintr.pirq_pin = 0; in pci_emul_init()
1114 pdi->pi_lintr.ioapic_irq = 0; in pci_emul_init()
1957 pi->pi_lintr.pin = bestpin + 1; in pci_lintr_request()
1967 if (pi->pi_lintr.pin == 0) in pci_lintr_route()
1972 ii = &bi->slotinfo[pi->pi_slot].si_intpins[pi->pi_lintr.pin - 1]; in pci_lintr_route()
1990 pi->pi_lintr.ioapic_irq = ii->ii_ioapic_irq; in pci_lintr_route()
1991 pi->pi_lintr.pirq_pin = ii->ii_pirq_pin; in pci_lintr_route()
[all …]
H A Dpci_emul.h138 } pi_lintr; member
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dioapic.c79 return (16 + (4 + pi->pi_slot + pi->pi_lintr.pin) % 8); in ioapic_pci_alloc_irq()