Searched refs:PCI_BDF2 (Results 1 – 12 of 12) sorted by relevance
/xen-4.10.0-shim-comet/xen/drivers/passthrough/amd/ |
A D | pci_amd_iommu.c | 131 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(bus, devfn)); in amd_iommu_setup_domain_device() 309 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(bus, devfn)); in amd_iommu_disable_domain_device() 345 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in reassign_device() 381 int bdf = PCI_BDF2(pdev->bus, devfn); in amd_iommu_assign_device() 472 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in amd_iommu_add_device() 503 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in amd_iommu_remove_device() 520 int bdf = PCI_BDF2(bus, devfn); in amd_iommu_group_id()
|
A D | iommu_cmd.c | 299 iommu = find_iommu_for_device(pdev->seg, PCI_BDF2(pdev->bus, pdev->devfn)); in amd_iommu_flush_iotlb() 312 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(pdev->bus, devfn)); in amd_iommu_flush_iotlb()
|
A D | iommu_intr.c | 528 bdf = pdev ? PCI_BDF2(pdev->bus, pdev->devfn) : hpet_sbdf.bdf; in amd_iommu_msi_msg_update_ire() 552 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in amd_iommu_msi_msg_update_ire() 582 u16 bdf = pdev ? PCI_BDF2(pdev->bus, pdev->devfn) : hpet_sbdf.bdf; in amd_iommu_read_msi_from_ire()
|
A D | iommu_map.c | 601 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in update_paging_mode()
|
/xen-4.10.0-shim-comet/xen/include/xen/ |
A D | pci.h | 36 #define PCI_BDF2(b,df) ((((b) & 0xff) << 8) | ((df) & 0xff)) macro 39 #define PCI_SBDF3(s,b,df) ((((s) & 0xffff) << 16) | PCI_BDF2(b, df))
|
/xen-4.10.0-shim-comet/xen/drivers/pci/ |
A D | pci.c | 155 bus != PCI_BUS(PCI_BDF2(bus, 0)) || in parse_pci_seg()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/vtd/ |
A D | intremap.c | 499 set_ire_sid(ire, SVT_VERIFY_SID_SQ, sq, PCI_BDF2(bus, devfn)); in set_msi_source_id() 509 PCI_BDF2(bus, devfn)); in set_msi_source_id() 518 PCI_BDF2(bus, devfn)); in set_msi_source_id()
|
A D | qinval.c | 260 qinval_entry->q.dev_iotlb_inv_dsc.lo.sid = PCI_BDF2(pdev->bus, pdev->devfn); in qinval_device_iotlb_sync()
|
A D | iommu.c | 1447 rc = iommu_flush_context_device(iommu, 0, PCI_BDF2(bus, devfn), in domain_context_mapping_one() 1597 PCI_BDF2(bus, devfn), in domain_context_unmap_one() 2481 return PCI_BDF2(bus, devfn); in intel_iommu_group_id()
|
A D | dmar.c | 236 if ( drhd->scope.devices[i] == PCI_BDF2(bus, devfn) ) in acpi_find_matched_drhd_unit()
|
/xen-4.10.0-shim-comet/xen/drivers/passthrough/ |
A D | pci.c | 480 __set_bit(PCI_BDF2(bus, devfn), pseg->ro_map); in pci_ro_device()
|
/xen-4.10.0-shim-comet/xen/arch/x86/ |
A D | msi.c | 906 vf = PCI_BDF2(dev->bus, dev->devfn); in msix_capability_init()
|
Completed in 24 milliseconds