Searched refs:sbdf (Results 1 – 8 of 8) sorted by relevance
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
50 static int cxl_dport_get_sbdf(struct pci_dev *dport_dev, u64 *sbdf) in cxl_dport_get_sbdf() argument66 *sbdf = (seg << 24) | (bus << 16) | (dport_dev->devfn << 8); in cxl_dport_get_sbdf()
140 int xen_acpi_get_gsi_from_sbdf(u32 sbdf) in xen_acpi_get_gsi_from_sbdf() argument146 ret = get_gsi_from_sbdf(sbdf); in xen_acpi_get_gsi_from_sbdf()
859 rc = xen_acpi_get_gsi_from_sbdf(kdata.sbdf); in privcmd_ioctl_pcidev_get_gsi()
264 int sbdf; in get_device_sbdf_id() local267 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() local641 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() local666 sbdf = get_device_sbdf_id(dev); in iommu_init_device()[all …]
498 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument499 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
130 __u32 sbdf; member
230 static int pcistub_get_gsi_from_sbdf(unsigned int sbdf) in pcistub_get_gsi_from_sbdf() argument233 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()