Searched refs:PCI_SBDF2 (Results 1 – 3 of 3) sorted by relevance
/xen/xen/drivers/passthrough/amd/ |
A D | iommu_init.c | 780 control = pci_conf_read16(PCI_SBDF2(iommu->seg, iommu->bdf), in set_iommu_interrupt_handler() 853 pci_conf_write32(PCI_SBDF2(iommu->seg, iommu->bdf), 0xf0, 0x90); in amd_iommu_erratum_746_workaround() 854 value = pci_conf_read32(PCI_SBDF2(iommu->seg, iommu->bdf), 0xf4); in amd_iommu_erratum_746_workaround() 860 pci_conf_write32(PCI_SBDF2(iommu->seg, iommu->bdf), 0xf0, 0x90 | (1 << 8)); in amd_iommu_erratum_746_workaround() 862 pci_conf_write32(PCI_SBDF2(iommu->seg, iommu->bdf), 0xf4, value | (1 << 2)); in amd_iommu_erratum_746_workaround() 868 pci_conf_write32(PCI_SBDF2(iommu->seg, iommu->bdf), 0xf0, 0x90); in amd_iommu_erratum_746_workaround()
|
/xen/xen/include/xen/ |
A D | pci.h | 39 #define PCI_SBDF2(s,bdf) \ macro
|
/xen/xen/drivers/passthrough/vtd/ |
A D | dmar.c | 1051 PCI_SBDF2(rmrr->segment, bdf).sbdf, ctxt); in intel_iommu_get_reserved_device_memory()
|
Completed in 7 milliseconds