| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_acpi.c | 71 uint32_t sbdf; member 954 if (acpi_dev->sbdf == sbdf) in amdgpu_acpi_get_dev() 974 tmp->sbdf = sbdf; in amdgpu_acpi_dev_init() 1042 u32 *sbdf) in amdgpu_acpi_get_xcc_info() argument 1100 u32 sbdf; in amdgpu_acpi_enumerate_xcc() local 1157 u32 sbdf; in amdgpu_acpi_get_tmr_info() local 1163 sbdf |= pci_dev_id(adev->pdev); in amdgpu_acpi_get_tmr_info() 1164 dev_info = amdgpu_acpi_get_dev(sbdf); in amdgpu_acpi_get_tmr_info() 1179 u32 sbdf; in amdgpu_acpi_get_mem_info() local 1185 sbdf |= pci_dev_id(adev->pdev); in amdgpu_acpi_get_mem_info() [all …]
|
| /linux-6.15/include/xen/ |
| H A D | acpi.h | 38 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-6.15/drivers/perf/ |
| H A D | dwc_pcie_pmu.c | 546 u32 sbdf; in dwc_pcie_register_dev() local 548 sbdf = (pci_domain_nr(pdev->bus) << 16) | PCI_DEVID(pdev->bus->number, pdev->devfn); in dwc_pcie_register_dev() 549 plat_dev = platform_device_register_simple("dwc_pcie_pmu", sbdf, NULL, 0); in dwc_pcie_register_dev() 601 u32 sbdf; in dwc_pcie_pmu_probe() local 605 sbdf = plat_dev->id; in dwc_pcie_pmu_probe() 606 pdev = pci_get_domain_bus_and_slot(sbdf >> 16, PCI_BUS_NUM(sbdf & 0xffff), in dwc_pcie_pmu_probe() 607 sbdf & 0xff); in dwc_pcie_pmu_probe() 609 pr_err("No pdev found for the sbdf 0x%x\n", sbdf); in dwc_pcie_pmu_probe() 618 name = devm_kasprintf(&plat_dev->dev, GFP_KERNEL, "dwc_rootport_%x", sbdf); in dwc_pcie_pmu_probe() 649 pci_err(pdev, "Error %d registering hotplug @%x\n", ret, sbdf); in dwc_pcie_pmu_probe() [all …]
|
| /linux-6.15/drivers/acpi/apei/ |
| H A D | einj-cxl.c | 50 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 D | einj-core.c | 218 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-6.15/drivers/xen/ |
| H A D | acpi.c | 140 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 D | privcmd.c | 859 rc = xen_acpi_get_gsi_from_sbdf(kdata.sbdf); in privcmd_ioctl_pcidev_get_gsi()
|
| /linux-6.15/drivers/iommu/amd/ |
| H A D | iommu.c | 262 int sbdf; in get_device_sbdf_id() local 269 return sbdf; in get_device_sbdf_id() 634 int devid, sbdf; in check_device() local 640 if (sbdf < 0) in check_device() 659 int devid, sbdf; in iommu_init_device() local 665 if (sbdf < 0) in iommu_init_device() 666 return sbdf; in iommu_init_device() 700 int devid, sbdf; in iommu_ignore_device() local 703 if (sbdf < 0) in iommu_ignore_device() 2870 if (sbdf < 0) in amd_iommu_get_resv_regions() [all …]
|
| H A D | amd_iommu_types.h | 500 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument 501 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
|
| /linux-6.15/include/uapi/xen/ |
| H A D | privcmd.h | 130 __u32 sbdf; member
|
| /linux-6.15/drivers/xen/xen-pciback/ |
| H A D | pci_stub.c | 230 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-6.15/Documentation/admin-guide/perf/ |
| H A D | dwc_pcie_pmu.rst | 58 /sys/bus/event_source/devices/dwc_rootport_{sbdf}.
|