Searched refs:sbdf (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/iommu/amd/ |
H A D | iommu_v2.c | 54 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 …]
|
H A D | iommu.c | 112 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 …]
|
H A D | amd_iommu_types.h | 483 #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
|
/openbmc/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 139 xendev->sbdf = PCI_BUILD_BDF(pci_dev_bus_num(pci_dev), in xen_device_realize() 386 uint32_t sbdf = req->addr >> 32; in cpu_ioreq_config() local 400 if (xendev->sbdf != sbdf) { in cpu_ioreq_config() 409 trace_cpu_ioreq_config_read(req, xendev->sbdf, reg, in cpu_ioreq_config() 412 trace_cpu_ioreq_config_write(req, xendev->sbdf, reg, in cpu_ioreq_config() 425 trace_cpu_ioreq_config_read(req, xendev->sbdf, reg, in cpu_ioreq_config() 430 trace_cpu_ioreq_config_write(req, xendev->sbdf, reg, in cpu_ioreq_config()
|
H A D | trace-events | 56 cpu_ioreq_config_read(void *req, uint32_t sbdf, uint32_t reg, uint32_t size, uint32_t data) "I/O=%p… 57 cpu_ioreq_config_write(void *req, uint32_t sbdf, uint32_t reg, uint32_t size, uint32_t data) "I/O=%…
|
/openbmc/linux/drivers/acpi/apei/ |
H A D | einj.c | 190 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()
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen-hvm-common.h | 57 uint32_t sbdf; member
|