Home
last modified time | relevance | path

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

/linux-6.1.9/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()
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() local
612 sbdf = get_pci_sbdf_id(pdev); in amd_iommu_bind_pasid()
[all …]
Damd_iommu_types.h472 #define PCI_SBDF_TO_SEGID(sbdf) (((sbdf) >> 16) & 0xffff) argument
473 #define PCI_SBDF_TO_DEVID(sbdf) ((sbdf) & 0xffff) argument
504 u32 sbdf; /* Originating PCI device id */ member
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 …]
/linux-6.1.9/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()