Lines Matching refs:iommu_table

45 	struct iommu_table *tbl = data;
51 static void iommu_debugfs_add(struct iommu_table *tbl)
68 static void iommu_debugfs_del(struct iommu_table *tbl)
76 static void iommu_debugfs_add(struct iommu_table *tbl){}
77 static void iommu_debugfs_del(struct iommu_table *tbl){}
82 static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
214 struct iommu_table *tbl,
345 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl,
388 static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr,
416 static struct iommu_pool *get_pool(struct iommu_table *tbl,
435 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
457 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr,
470 int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
613 void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist,
645 static void iommu_table_clear(struct iommu_table *tbl)
686 static void iommu_table_reserve_pages(struct iommu_table *tbl,
721 * Build a iommu_table structure. This contains a bit map which
724 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid,
781 bool iommu_table_in_use(struct iommu_table *tbl)
804 struct iommu_table *tbl;
806 tbl = container_of(kref, struct iommu_table, it_kref);
829 struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl)
838 int iommu_tce_table_put(struct iommu_table *tbl)
852 dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,
891 void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle,
910 void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
960 void iommu_free_coherent(struct iommu_table *tbl, size_t size,
1035 void iommu_flush_tce(struct iommu_table *tbl)
1078 struct iommu_table *tbl,
1096 void iommu_tce_kill(struct iommu_table *tbl,
1105 static int iommu_take_ownership(struct iommu_table *tbl)
1138 static void iommu_release_ownership(struct iommu_table *tbl)
1190 * iommu_table. This handles VFIO for POWER7 or the nested KVM.
1207 struct iommu_table **ptbl)
1209 struct iommu_table *tbl = table_group->tables[0];
1224 int num, struct iommu_table *tbl)
1239 struct iommu_table *tbl = table_group->tables[i];
1260 struct iommu_table *tbl = table_group->tables[i];