/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/ |
A D | pci.c | 22 pci_mmcfg_read(seg, bus, PCI_DEVFN(dev, func), reg, 1, &value); in pci_conf_read8() 40 pci_mmcfg_read(seg, bus, PCI_DEVFN(dev, func), reg, 2, &value); in pci_conf_read16() 58 pci_mmcfg_read(seg, bus, PCI_DEVFN(dev, func), reg, 4, &value); in pci_conf_read32() 73 pci_mmcfg_write(seg, bus, PCI_DEVFN(dev, func), reg, 1, data); in pci_conf_write8() 86 pci_mmcfg_write(seg, bus, PCI_DEVFN(dev, func), reg, 2, data); in pci_conf_write16() 99 pci_mmcfg_write(seg, bus, PCI_DEVFN(dev, func), reg, 4, data); in pci_conf_write32()
|
A D | mmconfig-shared.c | 288 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL, 290 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_INTEL, 292 { 0, PCI_DEVFN(0x18, 0), PCI_VENDOR_ID_AMD, 294 { 0xff, PCI_DEVFN(0, 0), PCI_VENDOR_ID_AMD, 296 { 0, PCI_DEVFN(0, 0), PCI_VENDOR_ID_NVIDIA,
|
/xen-4.10.0-shim-comet/xen/drivers/pci/ |
A D | pci.c | 156 dev != PCI_SLOT(PCI_DEVFN(dev, 0)) || in parse_pci_seg() 157 func != PCI_FUNC(PCI_DEVFN(0, func)) ) in parse_pci_seg()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | quirks.c | 340 pdev = pci_get_pdev(0, 0, PCI_DEVFN(dev, 0)); in map_me_phantom_function() 346 PCI_DEVFN(dev, 7), NULL); in map_me_phantom_function() 349 PCI_DEVFN(dev, 7)); in map_me_phantom_function()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 33 #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-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | iommu_detect.c | 153 rt = pci_ro_device(iommu->seg, bus, PCI_DEVFN(dev, func)); in amd_iommu_detect_one_acpi()
|
/xen-4.10.0-shim-comet/xen/drivers/char/ |
A D | ns16550.c | 764 pci_hide_device(uart->ps_bdf[0], PCI_DEVFN(uart->ps_bdf[1], in ns16550_init_postirq() 775 PCI_DEVFN(uart->ps_bdf[1], uart->ps_bdf[2])) ) in ns16550_init_postirq()
|
A D | ehci-dbgp.c | 1365 pci_hide_device(dbgp->bus, PCI_DEVFN(dbgp->slot, dbgp->func)); in ehci_dbgp_init_postirq() 1546 PCI_DEVFN(ehci_dbgp.slot, ehci_dbgp.func) != op->u.pci.devfn ) in dbgp_op()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | msi.c | 758 struct pci_dev *pdev = pci_get_pdev(seg, bus, PCI_DEVFN(slot, func)); in read_pci_mem_bar() 760 PCI_DEVFN(slot, func), in read_pci_mem_bar()
|
/xen-4.10.0-shim-comet/tools/libxl/ |
A D | libxl_qmp.c | 799 pcidev->vdevfn = PCI_DEVFN(dev_slot, dev_func); in pci_add_callback()
|
A D | libxl_dm.c | 241 devfn = PCI_DEVFN(d_config->pcidevs[i].dev, in libxl__domain_device_construct_rdm()
|
A D | libxl_internal.h | 529 #define PCI_DEVFN(slot, func) ((((slot) & 0x1f) << 3) | ((func) & 0x07)) macro
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | pci.c | 1017 pdev = alloc_pdev(pseg, bus, PCI_DEVFN(dev, func)); in _scan_pci_devices()
|