Lines Matching refs:iommu_table

40 	int (*set)(struct iommu_table *tbl,
51 int (*xchg_no_kill)(struct iommu_table *tbl,
57 void (*tce_kill)(struct iommu_table *tbl,
62 __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
64 void (*clear)(struct iommu_table *tbl,
67 unsigned long (*get)(struct iommu_table *tbl, long index);
68 void (*flush)(struct iommu_table *tbl);
69 void (*free)(struct iommu_table *tbl);
93 struct iommu_table { struct
126 int get_iommu_order(unsigned long size, struct iommu_table *tbl) in get_iommu_order() argument
137 struct iommu_table *base) in set_iommu_table_base()
149 extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
150 extern int iommu_tce_table_put(struct iommu_table *tbl);
155 extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
157 bool iommu_table_in_use(struct iommu_table *tbl);
173 struct iommu_table **ptbl);
176 struct iommu_table *tblnew);
200 struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
211 extern long iommu_tce_xchg(struct mm_struct *mm, struct iommu_table *tbl,
215 struct iommu_table *tbl,
218 extern void iommu_tce_kill(struct iommu_table *tbl,
253 extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
258 extern void ppc_iommu_unmap_sg(struct iommu_table *tbl,
264 extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
267 extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
269 extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,
274 extern void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle,
307 extern void iommu_flush_tce(struct iommu_table *tbl);
308 extern int iommu_take_ownership(struct iommu_table *tbl);
309 extern void iommu_release_ownership(struct iommu_table *tbl);