Lines Matching refs:iommu_table

45 	struct iommu_table *tbl = data;  in iommu_debugfs_weight_get()
51 static void iommu_debugfs_add(struct iommu_table *tbl) in iommu_debugfs_add()
68 static void iommu_debugfs_del(struct iommu_table *tbl) in iommu_debugfs_del()
76 static void iommu_debugfs_add(struct iommu_table *tbl){} in iommu_debugfs_add()
77 static void iommu_debugfs_del(struct iommu_table *tbl){} in iommu_debugfs_del()
82 static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
214 struct iommu_table *tbl, in iommu_range_alloc()
345 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc()
388 static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free_check()
416 static struct iommu_pool *get_pool(struct iommu_table *tbl, in get_pool()
435 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in __iommu_free()
457 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free()
470 int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl, in ppc_iommu_map_sg()
613 void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, in ppc_iommu_unmap_sg()
645 static void iommu_table_clear(struct iommu_table *tbl) in iommu_table_clear()
686 static void iommu_table_reserve_pages(struct iommu_table *tbl, in iommu_table_reserve_pages()
724 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, in iommu_init_table()
781 bool iommu_table_in_use(struct iommu_table *tbl) in iommu_table_in_use()
804 struct iommu_table *tbl; in iommu_table_free()
806 tbl = container_of(kref, struct iommu_table, it_kref); in iommu_table_free()
829 struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl) in iommu_tce_table_get()
838 int iommu_tce_table_put(struct iommu_table *tbl) in iommu_tce_table_put()
852 dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl, in iommu_map_page()
891 void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle, in iommu_unmap_page()
910 void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl, in iommu_alloc_coherent()
960 void iommu_free_coherent(struct iommu_table *tbl, size_t size, in iommu_free_coherent()
1035 void iommu_flush_tce(struct iommu_table *tbl) in iommu_flush_tce()
1078 struct iommu_table *tbl, in iommu_tce_xchg_no_kill()
1096 void iommu_tce_kill(struct iommu_table *tbl, in iommu_tce_kill()
1105 static int iommu_take_ownership(struct iommu_table *tbl) in iommu_take_ownership()
1138 static void iommu_release_ownership(struct iommu_table *tbl) in iommu_release_ownership()
1207 struct iommu_table **ptbl) in spapr_tce_create_table()
1209 struct iommu_table *tbl = table_group->tables[0]; in spapr_tce_create_table()
1224 int num, struct iommu_table *tbl) in spapr_tce_set_window()
1239 struct iommu_table *tbl = table_group->tables[i]; in spapr_tce_take_ownership()
1260 struct iommu_table *tbl = table_group->tables[i]; in spapr_tce_release_ownership()