Lines Matching refs:iommu_table
40 int (*set)(struct iommu_table *tbl,
51 int (*xchg_no_kill)(struct iommu_table *tbl,
56 void (*tce_kill)(struct iommu_table *tbl,
60 __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
62 void (*clear)(struct iommu_table *tbl,
65 unsigned long (*get)(struct iommu_table *tbl, long index);
66 void (*flush)(struct iommu_table *tbl);
67 void (*free)(struct iommu_table *tbl);
91 struct iommu_table { struct
124 int get_iommu_order(unsigned long size, struct iommu_table *tbl) in get_iommu_order() argument
135 struct iommu_table *base) in set_iommu_table_base()
147 extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
148 extern int iommu_tce_table_put(struct iommu_table *tbl);
153 extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
155 bool iommu_table_in_use(struct iommu_table *tbl);
171 struct iommu_table **ptbl);
174 struct iommu_table *tblnew);
198 struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
209 extern long iommu_tce_xchg(struct mm_struct *mm, struct iommu_table *tbl,
213 struct iommu_table *tbl,
216 extern void iommu_tce_kill(struct iommu_table *tbl,
251 extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
256 extern void ppc_iommu_unmap_sg(struct iommu_table *tbl,
262 extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
265 extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
267 extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,
272 extern void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle,
305 extern void iommu_flush_tce(struct iommu_table *tbl);
306 extern int iommu_take_ownership(struct iommu_table *tbl);
307 extern void iommu_release_ownership(struct iommu_table *tbl);