Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Diommu-common.h18 struct iommu_map_table { struct
22 void (*lazy_flush)(struct iommu_map_table *); argument
33 extern void iommu_tbl_pool_init(struct iommu_map_table *iommu, argument
36 void (*lazy_flush)(struct iommu_map_table *),
41 struct iommu_map_table *iommu,
47 extern void iommu_tbl_range_free(struct iommu_map_table *iommu,
/linux-4.1.27/lib/
Diommu-common.c22 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush()
27 static inline void set_flush(struct iommu_map_table *iommu) in set_flush()
32 static inline void clear_flush(struct iommu_map_table *iommu) in clear_flush()
55 void iommu_tbl_pool_init(struct iommu_map_table *iommu, in iommu_tbl_pool_init()
58 void (*lazy_flush)(struct iommu_map_table *), in iommu_tbl_pool_init() argument
102 struct iommu_map_table *iommu, in iommu_tbl_range_alloc()
232 static struct iommu_pool *get_pool(struct iommu_map_table *tbl, in get_pool()
255 void iommu_tbl_range_free(struct iommu_map_table *iommu, u64 dma_addr, in iommu_tbl_range_free()
/linux-4.1.27/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()
2172 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.1.27/arch/sparc/include/asm/
Diommu_64.h28 struct iommu_map_table tbl;