Lines Matching refs:iommu_table

45 	int (*set)(struct iommu_table *tbl,
56 int (*xchg_no_kill)(struct iommu_table *tbl,
61 void (*tce_kill)(struct iommu_table *tbl,
65 __be64 *(*useraddrptr)(struct iommu_table *tbl, long index, bool alloc);
67 void (*clear)(struct iommu_table *tbl,
70 unsigned long (*get)(struct iommu_table *tbl, long index);
71 void (*flush)(struct iommu_table *tbl);
72 void (*free)(struct iommu_table *tbl);
96 struct iommu_table {
129 int get_iommu_order(unsigned long size, struct iommu_table *tbl)
140 struct iommu_table *base)
152 extern struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl);
153 extern int iommu_tce_table_put(struct iommu_table *tbl);
155 /* Initializes an iommu_table based in values set in the passed-in
158 extern struct iommu_table *iommu_init_table(struct iommu_table *tbl,
160 bool iommu_table_in_use(struct iommu_table *tbl);
161 extern void iommu_table_reserve_pages(struct iommu_table *tbl,
163 extern void iommu_table_clear(struct iommu_table *tbl);
179 struct iommu_table **ptbl);
182 struct iommu_table *tblnew);
206 struct iommu_table *tables[IOMMU_TABLE_GROUP_MAX_TABLES];
216 extern long iommu_tce_xchg(struct mm_struct *mm, struct iommu_table *tbl,
220 struct iommu_table *tbl,
223 extern void iommu_tce_kill(struct iommu_table *tbl,
261 extern int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl,
266 extern void ppc_iommu_unmap_sg(struct iommu_table *tbl,
272 extern void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl,
275 extern void iommu_free_coherent(struct iommu_table *tbl, size_t size,
277 extern dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl,
282 extern void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle,
315 extern void iommu_flush_tce(struct iommu_table *tbl);