Home
last modified time | relevance | path

Searched refs:PCI_DEVFN (Results 1 – 12 of 12) sorted by relevance

/xen/xen/arch/x86/x86_64/
A Dmmconfig-shared.c289 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
291 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL,
293 { 0, PCI_DEVFN(0x18, 0), PCI_VENDOR_ID_AMD,
295 { 0xff, PCI_DEVFN(0, 0), PCI_VENDOR_ID_AMD,
297 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_NVIDIA,
/xen/xen/drivers/pci/
A Dpci.c166 dev != PCI_SLOT(PCI_DEVFN(dev, 0)) || in parse_pci_seg()
167 func != PCI_FUNC(PCI_DEVFN(0, func)) ) in parse_pci_seg()
/xen/xen/drivers/passthrough/vtd/
A Dquirks.c338 pdev = pci_get_pdev(0, 0, PCI_DEVFN(dev, 0)); in map_me_phantom_function()
344 PCI_DEVFN(dev, 7), NULL); in map_me_phantom_function()
347 PCI_DEVFN(dev, 7)); in map_me_phantom_function()
/xen/xen/include/xen/
A Dpci.h33 #define PCI_DEVFN(d,f) ((((d) & 0x1f) << 3) | ((f) & 0x07)) macro
35 #define PCI_BDF(b,d,f) ((((b) & 0xff) << 8) | PCI_DEVFN(d,f))
/xen/xen/drivers/passthrough/amd/
A Diommu_detect.c183 rt = pci_ro_device(iommu->seg, bus, PCI_DEVFN(dev, func)); in amd_iommu_detect_one_acpi()
/xen/xen/drivers/char/
A Dns16550.c773 PCI_DEVFN(uart->ps_bdf[1], uart->ps_bdf[2])) ) in ns16550_init_postirq()
782 .devfn = PCI_DEVFN(uart->ps_bdf[1], uart->ps_bdf[2]), in ns16550_init_postirq()
A Dehci-dbgp.c1374 pci_hide_device(0, dbgp->bus, PCI_DEVFN(dbgp->slot, dbgp->func)); in ehci_dbgp_init_postirq()
1556 PCI_DEVFN(ehci_dbgp.slot, ehci_dbgp.func) != op->u.pci.devfn ) in dbgp_op()
/xen/xen/arch/x86/
A Dmsi.c689 struct pci_dev *pdev = pci_get_pdev(seg, bus, PCI_DEVFN(slot, func)); in read_pci_mem_bar()
691 PCI_DEVFN(slot, func), in read_pci_mem_bar()
/xen/xen/drivers/passthrough/
A Dpci.c1138 pdev = alloc_pdev(pseg, bus, PCI_DEVFN(dev, func)); in _scan_pci_devices()
/xen/tools/libxl/
A Dlibxl_pci.c1286 pcidev->vdevfn = PCI_DEVFN(dev_slot, dev_func); in pci_add_qmp_query_pci_cb()
A Dlibxl_internal.h759 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
A Dlibxl_dm.c478 devfn = PCI_DEVFN(d_config->pcidevs[i].dev, in libxl__domain_device_construct_rdm()

Completed in 53 milliseconds