Searched refs:ptdev (Results 1 – 2 of 2) sorted by relevance
| /devicemodel/hw/pci/ |
| A D | passthrough.c | 296 dev = ptdev->dev; in cfginitbar() 330 ptdev->sel.bus, ptdev->sel.dev, in cfginitbar() 338 ptdev->sel.bus, ptdev->sel.dev, in cfginitbar() 424 if (ptdev->msi.capoff == 0 && ptdev->msix.capoff == 0) { in cfginit() 737 ptdev = NULL; in passthru_init() 835 dev->arg = ptdev; in passthru_init() 926 if (ptdev->phys_pin == -1 || ptdev->phys_pin > 256) { in passthru_init() 935 memset(ptdev->dsdt_path, 0, sizeof(ptdev->dsdt_path)); in passthru_init() 957 free(ptdev); in passthru_init() 1002 if (ptdev) in passthru_deinit() [all …]
|
| A D | ptm.c | 66 add_vroot_port(struct vmctx *ctx, struct passthru_dev *ptdev, struct pci_device *root_port, int ptm… in add_vroot_port() argument 79 rp_vdev.slot = PCI_BDF(ptdev->dev->bus, ptdev->dev->slot, ptdev->dev->func); in add_vroot_port() 83 rp_priv->primary_bus = ptdev->dev->bus; in add_vroot_port() 117 int ptm_probe(struct vmctx *ctx, struct passthru_dev *ptdev, int *vrp_sec_bus) in ptm_probe() argument 120 struct pci_device *phys_dev = ptdev->phys_dev; in ptm_probe() 125 if (!ptdev->pcie_cap) { in ptm_probe() 200 *vrp_sec_bus = add_vroot_port(ctx, ptdev, rp, rp_ptm_offset); in ptm_probe()
|
Completed in 9 milliseconds