Home
last modified time | relevance | path

Searched refs:PCI_BDF2 (Results 1 – 11 of 11) sorted by relevance

/xen/xen/drivers/passthrough/amd/
A Dpci_amd_iommu.c102 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(bus, devfn)); in amd_iommu_setup_domain_device()
284 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(bus, devfn)); in amd_iommu_disable_domain_device()
331 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in reassign_device()
367 int bdf = PCI_BDF2(pdev->bus, devfn); in amd_iommu_assign_device()
452 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in amd_iommu_add_device()
478 bdf = PCI_BDF2(pdev->bus, devfn); in amd_iommu_add_device()
524 bdf = PCI_BDF2(pdev->bus, pdev->devfn); in amd_iommu_remove_device()
538 bdf = PCI_BDF2(pdev->bus, devfn); in amd_iommu_remove_device()
549 int bdf = PCI_BDF2(bus, devfn); in amd_iommu_group_id()
A Diommu_cmd.c288 iommu = find_iommu_for_device(pdev->seg, PCI_BDF2(pdev->bus, pdev->devfn)); in amd_iommu_flush_iotlb()
301 req_id = get_dma_requestor_id(iommu->seg, PCI_BDF2(pdev->bus, devfn)); in amd_iommu_flush_iotlb()
A Diommu_intr.c627 bdf = pdev ? PCI_BDF2(pdev->bus, pdev->devfn) : hpet_sbdf.bdf; in amd_iommu_msi_msg_update_ire()
668 u16 bdf = pdev ? PCI_BDF2(pdev->bus, pdev->devfn) : hpet_sbdf.bdf; in amd_iommu_read_msi_from_ire()
/xen/xen/include/xen/
A Dpci.h36 #define PCI_BDF2(b,df) ((((b) & 0xff) << 8) | ((df) & 0xff)) macro
42 ((pci_sbdf_t){ .sbdf = (((s) & 0xffff) << 16) | PCI_BDF2(b, df) })
/xen/xen/drivers/pci/
A Dpci.c165 bus != PCI_BUS(PCI_BDF2(bus, 0)) || in parse_pci_seg()
/xen/xen/drivers/passthrough/vtd/
A Dintremap.c501 set_ire_sid(ire, SVT_VERIFY_SID_SQ, sq, PCI_BDF2(bus, devfn)); in set_msi_source_id()
511 PCI_BDF2(bus, devfn)); in set_msi_source_id()
520 PCI_BDF2(bus, devfn)); in set_msi_source_id()
A Dqinval.c258 qinval_entry->q.dev_iotlb_inv_dsc.lo.sid = PCI_BDF2(pdev->bus, pdev->devfn); in qinval_device_iotlb_sync()
A Diommu.c1436 rc = iommu_flush_context_device(iommu, 0, PCI_BDF2(bus, devfn), in domain_context_mapping_one()
1607 PCI_BDF2(bus, devfn), in domain_context_unmap_one()
2518 return PCI_BDF2(bus, devfn); in intel_iommu_group_id()
A Ddmar.c225 if ( drhd->scope.devices[i] == PCI_BDF2(bus, devfn) ) in acpi_find_matched_drhd_unit()
/xen/xen/arch/x86/
A Dmsi.c845 vf = PCI_BDF2(dev->bus, dev->devfn); in msix_capability_init()
/xen/xen/drivers/passthrough/
A Dpci.c520 __set_bit(PCI_BDF2(bus, devfn), pseg->ro_map); in pci_ro_device()

Completed in 25 milliseconds