Searched refs:pci_seg (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/iommu/amd/ |
H A D | init.c | 109 u16 pci_seg; member 146 u16 pci_seg; member 233 static void init_device_table_dma(struct amd_iommu_pci_seg *pci_seg); 296 iommu->index, iommu->pci_seg->id, in get_global_efr() 424 u32 dev_table_size = iommu->pci_seg->dev_table_size; in iommu_set_device_table() 627 static int __init find_last_devid_acpi(struct acpi_table_header *table, u16 pci_seg) in find_last_devid_acpi() argument 638 if (h->pci_seg == pci_seg && in find_last_devid_acpi() 664 static inline int __init alloc_dev_table(struct amd_iommu_pci_seg *pci_seg) in alloc_dev_table() argument 666 pci_seg->dev_table = (void *)__get_free_pages(GFP_KERNEL | __GFP_ZERO | GFP_DMA32, in alloc_dev_table() 667 get_order(pci_seg->dev_table_size)); in alloc_dev_table() [all …]
|
H A D | iommu.c | 125 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in get_dev_table() local 127 BUG_ON(pci_seg == NULL); in get_dev_table() 128 dev_table = pci_seg->dev_table; in get_dev_table() 154 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in amd_iommu_set_rlookup_table() local 156 pci_seg->rlookup_table[devid] = iommu; in amd_iommu_set_rlookup_table() 161 struct amd_iommu_pci_seg *pci_seg; in __rlookup_amd_iommu() local 163 for_each_pci_segment(pci_seg) { in __rlookup_amd_iommu() 164 if (pci_seg->id == seg) in __rlookup_amd_iommu() 165 return pci_seg->rlookup_table[devid]; in __rlookup_amd_iommu() 188 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in alloc_dev_data() local [all …]
|
H A D | amd_iommu_types.h | 489 #define for_each_pci_segment(pci_seg) \ argument 490 list_for_each_entry((pci_seg), &amd_iommu_pci_seg_list, list) 491 #define for_each_pci_segment_safe(pci_seg, next) \ argument 492 list_for_each_entry_safe((pci_seg), (next), &amd_iommu_pci_seg_list, list) 693 struct amd_iommu_pci_seg *pci_seg; member
|
/openbmc/linux/drivers/firmware/ |
H A D | pcdp.h | 40 u8 pci_seg; member
|