Home
last modified time | relevance | path

Searched refs:pi_vmctx (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dpci_irq.c169 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 Dpci_fbuf.c230 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 Dpci_nvme.c1093 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 Dpci_passthru.c776 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 Dpci_hostbridge.c130 void *system_bios_region = paddr_guest2host(pi->pi_vmctx, in pci_hostbridge_init()
H A Dvirtio.c188 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 Dpci_emul.h125 struct vmctx *pi_vmctx; member
H A Dpci_emul.c961 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 Dpci_virtio_viona.c748 error = pci_viona_viona_init(pi->pi_vmctx, sc); in pci_viona_init()
H A Dpci_hda.c867 return (paddr_guest2host(pi->pi_vmctx, (uintptr_t)dma_paddr, len)); in hda_dma_get_vaddr()
H A Dpci_e82545.c2352 sc->esc_ctx = pi->pi_vmctx; in e82545_init()
H A Dpci_ahci.c211 #define ahci_ctx(sc) ((sc)->asc_pi->pi_vmctx)
H A Dpci_xhci.c295 #define XHCI_GADDR(sc,a) paddr_guest2host((sc)->xsc_pi->pi_vmctx, \
/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dpci_lpc.c202 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()