Lines Matching refs:iommu_table
44 struct iommu_table *tbl = data; in iommu_debugfs_weight_get()
50 static void iommu_debugfs_add(struct iommu_table *tbl) in iommu_debugfs_add()
67 static void iommu_debugfs_del(struct iommu_table *tbl) in iommu_debugfs_del()
77 static void iommu_debugfs_add(struct iommu_table *tbl){} in iommu_debugfs_add()
78 static void iommu_debugfs_del(struct iommu_table *tbl){} in iommu_debugfs_del()
83 static void __iommu_free(struct iommu_table *, dma_addr_t, unsigned int);
204 struct iommu_table *tbl, in iommu_range_alloc()
335 static dma_addr_t iommu_alloc(struct device *dev, struct iommu_table *tbl, in iommu_alloc()
378 static bool iommu_free_check(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free_check()
406 static struct iommu_pool *get_pool(struct iommu_table *tbl, in get_pool()
425 static void __iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in __iommu_free()
447 static void iommu_free(struct iommu_table *tbl, dma_addr_t dma_addr, in iommu_free()
460 int ppc_iommu_map_sg(struct device *dev, struct iommu_table *tbl, in ppc_iommu_map_sg()
603 void ppc_iommu_unmap_sg(struct iommu_table *tbl, struct scatterlist *sglist, in ppc_iommu_unmap_sg()
635 static void iommu_table_clear(struct iommu_table *tbl) in iommu_table_clear()
676 static void iommu_table_reserve_pages(struct iommu_table *tbl, in iommu_table_reserve_pages()
714 struct iommu_table *iommu_init_table(struct iommu_table *tbl, int nid, in iommu_init_table()
771 bool iommu_table_in_use(struct iommu_table *tbl) in iommu_table_in_use()
794 struct iommu_table *tbl; in iommu_table_free()
796 tbl = container_of(kref, struct iommu_table, it_kref); in iommu_table_free()
819 struct iommu_table *iommu_tce_table_get(struct iommu_table *tbl) in iommu_tce_table_get()
828 int iommu_tce_table_put(struct iommu_table *tbl) in iommu_tce_table_put()
842 dma_addr_t iommu_map_page(struct device *dev, struct iommu_table *tbl, in iommu_map_page()
881 void iommu_unmap_page(struct iommu_table *tbl, dma_addr_t dma_handle, in iommu_unmap_page()
900 void *iommu_alloc_coherent(struct device *dev, struct iommu_table *tbl, in iommu_alloc_coherent()
947 void iommu_free_coherent(struct iommu_table *tbl, size_t size, in iommu_free_coherent()
1022 void iommu_flush_tce(struct iommu_table *tbl) in iommu_flush_tce()
1065 struct iommu_table *tbl, in iommu_tce_xchg_no_kill()
1083 void iommu_tce_kill(struct iommu_table *tbl, in iommu_tce_kill()
1091 int iommu_take_ownership(struct iommu_table *tbl) in iommu_take_ownership()
1125 void iommu_release_ownership(struct iommu_table *tbl) in iommu_release_ownership()