Home
last modified time | relevance | path

Searched refs:sbdf (Results 1 – 10 of 10) sorted by relevance

/linux/include/xen/
H A Dacpi.h38 typedef int (*get_gsi_from_sbdf_t)(u32 sbdf);
78 int xen_acpi_get_gsi_from_sbdf(u32 sbdf);
101 static inline int xen_acpi_get_gsi_from_sbdf(u32 sbdf) in xen_acpi_get_gsi_from_sbdf() argument
/linux/drivers/perf/
H A Ddwc_pcie_pmu.c560 u32 sbdf; in dwc_pcie_register_dev() local
562 sbdf = (pci_domain_nr(pdev->bus) << 16) | PCI_DEVID(pdev->bus->number, pdev->devfn); in dwc_pcie_register_dev()
563 plat_dev = platform_device_register_data(NULL, "dwc_pcie_pmu", sbdf, in dwc_pcie_register_dev()
615 u32 sbdf, val; in dwc_pcie_pmu_probe() local
622 sbdf = plat_dev->id; in dwc_pcie_pmu_probe()
623 name = devm_kasprintf(&plat_dev->dev, GFP_KERNEL, "dwc_rootport_%x", sbdf); in dwc_pcie_pmu_probe()
654 pci_err(pdev, "Error %d registering hotplug @%x\n", ret, sbdf); in dwc_pcie_pmu_probe()
667 pci_err(pdev, "Error %d registering PMU @%x\n", ret, sbdf); in dwc_pcie_pmu_probe()
/linux/drivers/acpi/apei/
H A Deinj-cxl.c50 static int cxl_dport_get_sbdf(struct pci_dev *dport_dev, u64 *sbdf) in cxl_dport_get_sbdf() argument
66 *sbdf = (seg << 24) | (bus << 16) | (dport_dev->devfn << 8); in cxl_dport_get_sbdf()
H A Deinj-core.c218 u32 sbdf; in check_vendor_extension() local
226 sbdf = v->pcie_sbdf; in check_vendor_extension()
228 sbdf >> 24, (sbdf >> 16) & 0xff, in check_vendor_extension()
229 (sbdf >> 11) & 0x1f, (sbdf >> 8) & 0x7, in check_vendor_extension()
/linux/drivers/xen/
H A Dacpi.c140 int xen_acpi_get_gsi_from_sbdf(u32 sbdf) in xen_acpi_get_gsi_from_sbdf() argument
146 ret = get_gsi_from_sbdf(sbdf); in xen_acpi_get_gsi_from_sbdf()
H A Dprivcmd.c859 rc = xen_acpi_get_gsi_from_sbdf(kdata.sbdf); in privcmd_ioctl_pcidev_get_gsi()
/linux/drivers/iommu/amd/
H A Diommu.c128 int sbdf; in get_device_sbdf_id() local
131 sbdf = get_pci_sbdf_id(to_pci_dev(dev)); in get_device_sbdf_id()
133 sbdf = get_acpihid_device_id(dev, NULL); in get_device_sbdf_id()
135 return sbdf; in get_device_sbdf_id()
483 int devid, sbdf; in check_device() local
488 sbdf = get_device_sbdf_id(dev); in check_device()
489 if (sbdf < 0) in check_device()
491 devid = PCI_SBDF_TO_DEVID(sbdf); in check_device()
508 int devid, sbdf; in iommu_init_device() local
513 sbdf = get_device_sbdf_id(dev); in iommu_init_device()
[all …]
H A Damd_iommu_types.h496 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument
497 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
/linux/drivers/xen/xen-pciback/
H A Dpci_stub.c230 static int pcistub_get_gsi_from_sbdf(unsigned int sbdf) in pcistub_get_gsi_from_sbdf() argument
233 int domain = (sbdf >> 16) & 0xffff; in pcistub_get_gsi_from_sbdf()
234 int bus = PCI_BUS_NUM(sbdf); in pcistub_get_gsi_from_sbdf()
235 int slot = PCI_SLOT(sbdf); in pcistub_get_gsi_from_sbdf()
236 int func = PCI_FUNC(sbdf); in pcistub_get_gsi_from_sbdf()
/linux/Documentation/admin-guide/perf/
H A Ddwc_pcie_pmu.rst58 /sys/bus/event_source/devices/dwc_rootport_{sbdf}.