Lines Matching defs:iommu
52 struct iommu *iommu = container_of(iommu_map_table, struct iommu, tbl); in iommu_flushall() local
80 #define IOPTE_IS_DUMMY(iommu, iopte) \ argument
83 static inline void iopte_make_dummy(struct iommu *iommu, iopte_t *iopte) in iopte_make_dummy()
93 int iommu_table_init(struct iommu *iommu, int tsbsize, in iommu_table_init()
158 struct iommu *iommu, in alloc_npages()
171 static int iommu_alloc_ctx(struct iommu *iommu) in iommu_alloc_ctx()
189 static inline void iommu_free_ctx(struct iommu *iommu, int ctx) in iommu_free_ctx()
203 struct iommu *iommu; in dma_4u_alloc_coherent() local
251 struct iommu *iommu; in dma_4u_free_coherent() local
269 struct iommu *iommu; in dma_4u_map_page() local
321 static void strbuf_flush(struct strbuf *strbuf, struct iommu *iommu, in strbuf_flush()
391 struct iommu *iommu; in dma_4u_unmap_page() local
444 struct iommu *iommu; in dma_4u_map_sg() local
591 static unsigned long fetch_sg_ctx(struct iommu *iommu, struct scatterlist *sg) in fetch_sg_ctx()
616 struct iommu *iommu; in dma_4u_unmap_sg() local
665 struct iommu *iommu; in dma_4u_sync_single_for_cpu() local
703 struct iommu *iommu; in dma_4u_sync_sg_for_cpu() local
752 struct iommu *iommu = dev->archdata.iommu; in dma_4u_supported() local