/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | pci_irq.c | 169 vm_isa_assert_irq(pi->pi_vmctx, pirq->reg & PIRQ_IRQ, in pci_irq_assert() 176 vm_ioapic_assert_irq(pi->pi_vmctx, pi->pi_lintr.ioapic_irq); in pci_irq_assert() 192 vm_isa_deassert_irq(pi->pi_vmctx, pirq->reg & PIRQ_IRQ, in pci_irq_deassert() 199 vm_ioapic_deassert_irq(pi->pi_vmctx, pi->pi_lintr.ioapic_irq); in pci_irq_deassert() 205 struct vmctx *ctx = pi->pi_vmctx; in pirq_alloc_pin()
|
H A D | pci_fbuf.c | 230 if (vm_munmap_memseg(pi->pi_vmctx, sc->fbaddr, FB_SIZE) != 0) in pci_fbuf_baraddr() 235 if (vm_mmap_memseg(pi->pi_vmctx, address, VM_FRAMEBUFFER, 0, in pci_fbuf_baraddr() 396 sc->fb_base = vm_create_devmem(pi->pi_vmctx, VM_FRAMEBUFFER, in pci_fbuf_init()
|
H A D | pci_nvme.c | 1093 sc->submit_queues[0].qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in pci_nvme_init_controller() 1113 sc->compl_queues[0].qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in pci_nvme_init_controller() 1288 nsq->qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_create_io_sq() 1392 ncq->qbase = vm_map_gpa(sc->nsc_pi->pi_vmctx, in nvme_opc_create_io_cq() 1431 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page() 1454 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page() 1466 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page() 1478 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_get_log_page() 1516 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify() 1521 nvme_prp_memcpy(sc->nsc_pi->pi_vmctx, command->prp1, in nvme_opc_identify() [all …]
|
H A D | pci_passthru.c | 776 struct vmctx *ctx = pi->pi_vmctx; in passthru_init() 929 struct vmctx *ctx = pi->pi_vmctx; in passthru_cfgwrite_default() 1016 struct vmctx *ctx = pi->pi_vmctx; in passthru_write() 1125 if (vm_munmap_memseg(pi->pi_vmctx, addr, size) != 0) { in passthru_addr_rom() 1131 if (vm_mmap_memseg(pi->pi_vmctx, addr, VM_PCIROM, in passthru_addr_rom() 1143 struct vmctx *ctx = pi->pi_vmctx; in passthru_addr()
|
H A D | pci_hostbridge.c | 130 void *system_bios_region = paddr_guest2host(pi->pi_vmctx, in pci_hostbridge_init()
|
H A D | virtio.c | 188 base = paddr_guest2host(vs->vs_pi->pi_vmctx, phys, size); in vi_vq_init() 314 ctx = vs->vs_pi->pi_vmctx; in vq_getchain()
|
H A D | pci_emul.h | 125 struct vmctx *pi_vmctx; member
|
H A D | pci_emul.c | 961 pci_emul_rombase = vm_create_devmem(pdi->pi_vmctx, VM_PCIROM, in pci_emul_alloc_rom() 1106 pdi->pi_vmctx = ctx; in pci_emul_init() 1908 vm_lapic_msi(pi->pi_vmctx, mte->addr, mte->msg_data); in pci_generate_msix() 1917 vm_lapic_msi(pi->pi_vmctx, pi->pi_msi.addr, in pci_generate_msi()
|
H A D | pci_virtio_viona.c | 748 error = pci_viona_viona_init(pi->pi_vmctx, sc); in pci_viona_init()
|
H A D | pci_hda.c | 867 return (paddr_guest2host(pi->pi_vmctx, (uintptr_t)dma_paddr, len)); in hda_dma_get_vaddr()
|
H A D | pci_e82545.c | 2352 sc->esc_ctx = pi->pi_vmctx; in e82545_init()
|
H A D | pci_ahci.c | 211 #define ahci_ctx(sc) ((sc)->asc_pi->pi_vmctx)
|
H A D | pci_xhci.c | 295 #define XHCI_GADDR(sc,a) paddr_guest2host((sc)->xsc_pi->pi_vmctx, \
|
/illumos-gate/usr/src/cmd/bhyve/amd64/ |
H A D | pci_lpc.c | 202 vm_isa_pulse_irq(lpc_bridge->pi_vmctx, sc->irq, sc->irq); in lpc_uart_intr_assert() 460 pirq_write(pi->pi_vmctx, pirq_pin, val); in pci_lpc_cfgwrite() 561 if (lpc_init(pi->pi_vmctx) != 0) in pci_lpc_init()
|