Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/iommu/amd/
Diommu_v2.c54 u32 sbdf; member
86 static struct device_state *__get_device_state(u32 sbdf) in __get_device_state() argument
91 if (dev_state->sbdf == sbdf) in __get_device_state()
98 static struct device_state *get_device_state(u32 sbdf) in get_device_state() argument
104 dev_state = __get_device_state(sbdf); in get_device_state()
531 seg_id = PCI_SBDF_TO_SEGID(iommu_fault->sbdf); in ppr_notifier()
532 devid = PCI_SBDF_TO_DEVID(iommu_fault->sbdf); in ppr_notifier()
547 dev_state = get_device_state(iommu_fault->sbdf); in ppr_notifier()
607 u32 sbdf; in amd_iommu_bind_pasid() local
615 sbdf = get_pci_sbdf_id(pdev); in amd_iommu_bind_pasid()
[all …]
Diommu.c112 int sbdf; in get_device_sbdf_id() local
115 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() local
358 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() local
383 sbdf = get_device_sbdf_id(dev); in iommu_init_device()
[all …]
Damd_iommu_types.h483 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument
484 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
515 u32 sbdf; /* Originating PCI device id */ member
/linux-6.6.21/drivers/acpi/apei/
Deinj.c190 u32 sbdf; in check_vendor_extension() local
197 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()