Home
last modified time | relevance | path

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

/xen-4.10.0-shim-comet/tools/libxl/
A Dlibxl_pci.c21 #define PCI_BDF "%04x:%02x:%02x.%01x" macro
219 sscanf(xsdev, PCI_BDF, &domain, &bus, &dev, &func); in libxl__device_pci_remove_xenstore()
380 buf = GCSPRINTF(PCI_BDF, pcidev->domain, pcidev->bus, in sysfs_write_bdf()
451 spath = GCSPRINTF(SYSFS_PCI_DEV"/"PCI_BDF"/driver", in sysfs_dev_unbind()
484 GCSPRINTF(SYSFS_PCI_DEV"/"PCI_BDF"/vendor", in sysfs_dev_get_vendor()
500 "cannot read vendor of pci device "PCI_BDF, in sysfs_dev_get_vendor()
511 GCSPRINTF(SYSFS_PCI_DEV"/"PCI_BDF"/device", in sysfs_dev_get_device()
527 "cannot read device of pci device "PCI_BDF, in sysfs_dev_get_device()
554 "cannot read class of pci device "PCI_BDF, in sysfs_dev_get_class()
650 spath = GCSPRINTF(SYSFS_PCIBACK_DRIVER"/"PCI_BDF, in pciback_dev_is_assigned()
[all …]
/xen-4.10.0-shim-comet/xen/arch/x86/x86_64/
A Dmmconfig_64.c152 start_mfn = PFN_DOWN(cfg->address) + PCI_BDF(cfg->start_bus_number, 0, 0); in pci_mmcfg_arch_enable()
153 end_mfn = PFN_DOWN(cfg->address) + PCI_BDF(cfg->end_bus_number, ~0, ~0); in pci_mmcfg_arch_enable()
187 mfn >= PFN_DOWN(cfg->address) + PCI_BDF(cfg->start_bus_number, in pci_mmcfg_decode()
189 mfn <= PFN_DOWN(cfg->address) + PCI_BDF(cfg->end_bus_number, in pci_mmcfg_decode()
/xen-4.10.0-shim-comet/xen/include/xen/
A Dpci.h35 #define PCI_BDF(b,d,f) ((((b) & 0xff) << 8) | PCI_DEVFN(d,f)) macro
37 #define PCI_SBDF(s,b,d,f) ((((s) & 0xffff) << 16) | PCI_BDF(b,d,f))
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/
A Diommu_acpi.c664 ioapic_sbdf[idx].bdf = PCI_BDF(bus, dev, func); in parse_ivrs_ioapic()
691 hpet_sbdf.bdf = PCI_BDF(bus, dev, func); in parse_ivrs_hpet()
1062 ioapic_sbdf[idx].bdf == PCI_BDF(0, 0x14, 0) ) in parse_ivrs_table()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/
A Ddmar.c434 scope->devices[didx++] = PCI_BDF(bus, path->dev, path->fn); in acpi_parse_dev_scope()
/xen-4.10.0-shim-comet/xen/drivers/passthrough/
A Dpci.c472 size_t sz = BITS_TO_LONGS(PCI_BDF(-1, -1, -1) + 1) * sizeof(long); in pci_ro_device()
/xen-4.10.0-shim-comet/xen/arch/x86/
A Dmsi.c778 vf -= PCI_BDF(bus, slot, func) + offset; in read_pci_mem_bar()

Completed in 16 milliseconds