Home
last modified time | relevance | path

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

/linux-6.15/drivers/iommu/amd/
H A Dinit.c108 u16 pci_seg; member
145 u16 pci_seg; member
609 if (h->pci_seg == pci_seg && in find_last_devid_acpi()
989 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in __copy_device_table() local
1094 if (pci_seg->id != iommu->pci_seg->id) in copy_device_table()
1328 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in init_iommu_from_acpi() local
1618 return pci_seg; in alloc_pci_segment()
1747 pci_seg = get_pci_segment(h->pci_seg, ivrs_base); in init_iommu_one()
1750 iommu->pci_seg = pci_seg; in init_iommu_one()
2502 pci_seg = get_pci_segment(m->pci_seg, ivrs_base); in init_unity_map_range()
[all …]
H A Diommu.c275 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in get_dev_table() local
304 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in amd_iommu_set_rlookup_table() local
333 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in alloc_dev_data() local
352 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in search_dev_data() local
425 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in setup_aliases() local
649 pci_seg = iommu->pci_seg; in check_device()
698 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in iommu_ignore_device() local
1557 pci_seg = iommu->pci_seg; in device_flush_dte()
2875 pci_seg = iommu->pci_seg; in amd_iommu_get_resv_regions()
3170 pci_seg = iommu->pci_seg; in set_remap_table_entry_alias()
[all …]
H A Dppr.c89 iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in ppr_is_valid()
97 iommu->pci_seg->id, PCI_BUS_NUM(devid), PCI_SLOT(devid), PCI_FUNC(devid), in ppr_is_valid()
117 pdev = pci_get_domain_bus_and_slot(iommu->pci_seg->id, in iommu_call_iopf_notifier()
226 PCI_SEG_DEVID_TO_SBDF(iommu->pci_seg->id, iommu->devid)); in amd_iommu_iopf_init()
H A Damd_iommu_types.h506 #define for_each_pci_segment(pci_seg) \ argument
507 list_for_each_entry((pci_seg), &amd_iommu_pci_seg_list, list)
508 #define for_each_pci_segment_safe(pci_seg, next) \ argument
509 list_for_each_entry_safe((pci_seg), (next), &amd_iommu_pci_seg_list, list)
720 struct amd_iommu_pci_seg *pci_seg; member