Searched refs:PCI_BDF (Results 1 – 6 of 6) sorted by relevance
| /devicemodel/hw/pci/ |
| A D | uart.c | 121 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 D | ptm.c | 79 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 D | ivshmem.c | 156 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 D | passthrough.c | 521 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 D | gsi_sharing.c | 175 if (phys_bdf == (PCI_BDF(bus, slot, func))) in update_pt_info()
|
| /devicemodel/include/ |
| A D | pci_core.h | 41 #define PCI_BDF(b, d, f) (((b & 0xFF) << 8) | ((d & 0x1F) << 3) | ((f & 0x7))) macro
|
Completed in 11 milliseconds