Searched refs:sbdf (Results 1 – 4 of 4) sorted by relevance
54 u32 sbdf; member86 static struct device_state *__get_device_state(u32 sbdf) in __get_device_state() argument91 if (dev_state->sbdf == sbdf) in __get_device_state()98 static struct device_state *get_device_state(u32 sbdf) in get_device_state() argument104 dev_state = __get_device_state(sbdf); in get_device_state()528 seg_id = PCI_SBDF_TO_SEGID(iommu_fault->sbdf); in ppr_notifier()529 devid = PCI_SBDF_TO_DEVID(iommu_fault->sbdf); in ppr_notifier()544 dev_state = get_device_state(iommu_fault->sbdf); in ppr_notifier()604 u32 sbdf; in amd_iommu_bind_pasid() local612 sbdf = get_pci_sbdf_id(pdev); in amd_iommu_bind_pasid()[all …]
472 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument473 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument504 u32 sbdf; /* Originating PCI device id */ member
112 int sbdf; in get_device_sbdf_id() local115 sbdf = get_pci_sbdf_id(to_pci_dev(dev)); in get_device_sbdf_id()117 sbdf = get_acpihid_device_id(dev, NULL); in get_device_sbdf_id()119 return sbdf; in get_device_sbdf_id()353 int devid, sbdf; in check_device() local358 sbdf = get_device_sbdf_id(dev); in check_device()359 if (sbdf < 0) in check_device()361 devid = PCI_SBDF_TO_DEVID(sbdf); in check_device()378 int devid, sbdf; in iommu_init_device() local383 sbdf = get_device_sbdf_id(dev); in iommu_init_device()[all …]
190 u32 sbdf; in check_vendor_extension() local197 sbdf = v->pcie_sbdf; in check_vendor_extension()199 sbdf >> 24, (sbdf >> 16) & 0xff, in check_vendor_extension()200 (sbdf >> 11) & 0x1f, (sbdf >> 8) & 0x7, in check_vendor_extension()