Searched refs:pci_seg (Results 1 – 2 of 2) sorted by relevance
108 u16 pci_seg; member148 u16 pci_seg; member232 static void init_device_table_dma(struct amd_iommu_pci_seg *pci_seg);292 iommu->index, iommu->pci_seg->id, in get_global_efr()388 u32 dev_table_size = iommu->pci_seg->dev_table_size; in iommu_set_device_table()587 static int __init find_last_devid_acpi(struct acpi_table_header *table, u16 pci_seg) in find_last_devid_acpi() argument598 if (h->pci_seg == pci_seg && in find_last_devid_acpi()624 static inline int __init alloc_dev_table(struct amd_iommu_pci_seg *pci_seg) in alloc_dev_table() argument626 pci_seg->dev_table = iommu_alloc_pages_sz(GFP_KERNEL | GFP_DMA32, in alloc_dev_table()627 pci_seg->dev_table_size); in alloc_dev_table()[all …]
318 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in get_dev_table() local320 BUG_ON(pci_seg == NULL); in get_dev_table()321 dev_table = pci_seg->dev_table; in get_dev_table()347 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in amd_iommu_set_rlookup_table() local349 pci_seg->rlookup_table[devid] = iommu; in amd_iommu_set_rlookup_table()354 struct amd_iommu_pci_seg *pci_seg; in __rlookup_amd_iommu() local356 for_each_pci_segment(pci_seg) { in __rlookup_amd_iommu()357 if (pci_seg->id != seg) in __rlookup_amd_iommu()360 if (devid > pci_seg->last_bdf) in __rlookup_amd_iommu()362 return pci_seg->rlookup_table[devid]; in __rlookup_amd_iommu()[all …]