Home
last modified time | relevance | path

Searched refs:iommu_map_table (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/include/linux/
Diommu-common.h19 struct iommu_map_table { struct
23 void (*lazy_flush)(struct iommu_map_table *); argument
34 extern void iommu_tbl_pool_init(struct iommu_map_table *iommu, argument
37 void (*lazy_flush)(struct iommu_map_table *),
42 struct iommu_map_table *iommu,
48 extern void iommu_tbl_range_free(struct iommu_map_table *iommu,
/linux-4.4.14/lib/
Diommu-common.c18 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush()
23 static inline void set_flush(struct iommu_map_table *iommu) in set_flush()
28 static inline void clear_flush(struct iommu_map_table *iommu) in clear_flush()
51 void iommu_tbl_pool_init(struct iommu_map_table *iommu, in iommu_tbl_pool_init()
54 void (*lazy_flush)(struct iommu_map_table *), in iommu_tbl_pool_init() argument
98 struct iommu_map_table *iommu, in iommu_tbl_range_alloc()
228 static struct iommu_pool *get_pool(struct iommu_map_table *tbl, in get_pool()
251 void iommu_tbl_range_free(struct iommu_map_table *iommu, u64 dma_addr, in iommu_tbl_range_free()
/linux-4.4.14/arch/sparc/kernel/
Diommu.c49 static void iommu_flushall(struct iommu_map_table *iommu_map_table) in iommu_flushall() argument
51 struct iommu *iommu = container_of(iommu_map_table, struct iommu, tbl); in iommu_flushall()
597 struct iommu_map_table *tbl = &iommu->tbl; in fetch_sg_ctx()
685 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_single_for_cpu()
721 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_sg_for_cpu()
Dldc.c109 struct iommu_map_table iommu_map_table; member
1039 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; in ldc_iommu_init()
1097 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; in ldc_iommu_release()
1954 entry = iommu_tbl_range_alloc(NULL, &iommu->iommu_map_table, in alloc_npages()
2174 iommu_tbl_range_free(&iommu->iommu_map_table, cookie, npages, entry); in free_npages()
Dpci_sun4v.c490 struct iommu_map_table *tbl = &iommu->tbl; in dma_4v_unmap_sg()
529 struct iommu_map_table *iommu) in probe_existing_entries()
/linux-4.4.14/arch/sparc/include/asm/
Diommu_64.h28 struct iommu_map_table tbl;