Lines Matching refs:amd_iommu_pci_seg

232 static void init_device_table_dma(struct amd_iommu_pci_seg *pci_seg);
653 static inline int __init alloc_dev_table(struct amd_iommu_pci_seg *pci_seg) in alloc_dev_table()
663 static inline void free_dev_table(struct amd_iommu_pci_seg *pci_seg) in free_dev_table()
671 static inline int __init alloc_rlookup_table(struct amd_iommu_pci_seg *pci_seg) in alloc_rlookup_table()
681 static inline void free_rlookup_table(struct amd_iommu_pci_seg *pci_seg) in free_rlookup_table()
688 static inline int __init alloc_irq_lookup_table(struct amd_iommu_pci_seg *pci_seg) in alloc_irq_lookup_table()
700 static inline void free_irq_lookup_table(struct amd_iommu_pci_seg *pci_seg) in free_irq_lookup_table()
708 static int __init alloc_alias_table(struct amd_iommu_pci_seg *pci_seg) in alloc_alias_table()
726 static void __init free_alias_table(struct amd_iommu_pci_seg *pci_seg) in free_alias_table()
1031 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in __copy_device_table()
1119 struct amd_iommu_pci_seg *pci_seg; in copy_device_table()
1301 struct amd_iommu_pci_seg *pci_seg = iommu->pci_seg; in init_iommu_from_acpi()
1564 static struct amd_iommu_pci_seg *__init alloc_pci_segment(u16 id, in alloc_pci_segment()
1567 struct amd_iommu_pci_seg *pci_seg; in alloc_pci_segment()
1579 pci_seg = kzalloc(sizeof(struct amd_iommu_pci_seg), GFP_KERNEL); in alloc_pci_segment()
1604 static struct amd_iommu_pci_seg *__init get_pci_segment(u16 id, in get_pci_segment()
1607 struct amd_iommu_pci_seg *pci_seg; in get_pci_segment()
1619 struct amd_iommu_pci_seg *pci_seg, *next; in free_pci_segments()
1728 struct amd_iommu_pci_seg *pci_seg; in init_iommu_one()
2172 struct amd_iommu_pci_seg *pci_seg; in amd_iommu_init_pci()
2485 struct amd_iommu_pci_seg *p, *pci_seg; in free_unity_maps()
2500 struct amd_iommu_pci_seg *pci_seg; in init_unity_map_range()
2581 static void init_device_table_dma(struct amd_iommu_pci_seg *pci_seg) in init_device_table_dma()
2596 static void __init uninit_device_table_dma(struct amd_iommu_pci_seg *pci_seg) in uninit_device_table_dma()
2612 struct amd_iommu_pci_seg *pci_seg; in init_device_table()
2765 struct amd_iommu_pci_seg *pci_seg; in early_enable_iommus()
3102 struct amd_iommu_pci_seg *pci_seg; in early_amd_iommu_init()
3299 struct amd_iommu_pci_seg *pci_seg; in state_next()