Home
last modified time | relevance | path

Searched refs:sbdf (Results 1 – 8 of 8) 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/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()
/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.c264 int sbdf; in get_device_sbdf_id() local
267 sbdf = get_pci_sbdf_id(to_pci_dev(dev)); in get_device_sbdf_id()
269 sbdf = get_acpihid_device_id(dev, NULL); in get_device_sbdf_id()
271 return sbdf; in get_device_sbdf_id()
636 int devid, sbdf; in check_device() local
641 sbdf = get_device_sbdf_id(dev); in check_device()
642 if (sbdf < 0) in check_device()
644 devid = PCI_SBDF_TO_DEVID(sbdf); in check_device()
661 int devid, sbdf; in iommu_init_device() local
666 sbdf = get_device_sbdf_id(dev); in iommu_init_device()
[all …]
H A Damd_iommu_types.h498 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument
499 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
/linux/include/uapi/xen/
H A Dprivcmd.h130 __u32 sbdf; member
/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()