Home
last modified time | relevance | path

Searched refs:PCI_BDF (Results 1 – 6 of 6) sorted by relevance

/devicemodel/hw/pci/
A Duart.c121 vdev.slot = PCI_BDF(dev->bus, dev->slot, dev->func); in pci_uart_init()
158 emul_dev.slot = PCI_BDF(dev->bus, dev->slot, dev->func); in pci_uart_deinit()
A Dptm.c79 rp_vdev.slot = PCI_BDF(ptdev->dev->bus, ptdev->dev->slot, ptdev->dev->func); in add_vroot_port()
81 rp_priv->phy_bdf = PCI_BDF(root_port->bus, root_port->dev, root_port->func); in add_vroot_port()
A Divshmem.c156 dev.slot = PCI_BDF(vdev->bus, vdev->slot, vdev->func); in create_ivshmem_from_hv()
365 emul_dev.slot = PCI_BDF(vdev->bus, vdev->slot, vdev->func); in destroy_ivshmem_from_hv()
A Dpassthrough.c521 if (ptdev->phys_bdf != PCI_BDF(0, 2, 0)) in is_intel_graphics_dev()
807 ptdev->phys_bdf = PCI_BDF(bus, slot, func); in passthru_init()
905 pcidev.virt_bdf = PCI_BDF(dev->bus, dev->slot, dev->func); in passthru_init()
944 pcidev.virt_bdf = PCI_BDF(vrp_sec_bus, 0, 0); in passthru_init()
976 uint16_t virt_bdf = PCI_BDF(dev->bus, dev->slot, dev->func); in passthru_deinit()
1010 pcidev.virt_bdf = PCI_BDF(dev->bus, dev->slot, dev->func); in passthru_deinit()
1041 uint16_t virt_bdf = PCI_BDF(dev->bus, dev->slot, dev->func); in passthru_bind_irq()
A Dgsi_sharing.c175 if (phys_bdf == (PCI_BDF(bus, slot, func))) in update_pt_info()
/devicemodel/include/
A Dpci_core.h41 #define PCI_BDF(b, d, f) (((b & 0xFF) << 8) | ((d & 0x1F) << 3) | ((f & 0x7))) macro

Completed in 11 milliseconds