Home
last modified time | relevance | path

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

/openbmc/linux/arch/sparc/include/asm/
H A Diommu-common.h20 struct iommu_map_table { struct
24 void (*lazy_flush)(struct iommu_map_table *); argument
35 extern void iommu_tbl_pool_init(struct iommu_map_table *iommu, argument
38 void (*lazy_flush)(struct iommu_map_table *),
43 struct iommu_map_table *iommu,
49 extern void iommu_tbl_range_free(struct iommu_map_table *iommu,
H A Diommu_64.h49 struct iommu_map_table tbl;
56 struct iommu_map_table tbl;
/openbmc/linux/arch/sparc/kernel/
H A Diommu-common.c19 static inline bool need_flush(struct iommu_map_table *iommu) in need_flush()
24 static inline void set_flush(struct iommu_map_table *iommu) in set_flush()
29 static inline void clear_flush(struct iommu_map_table *iommu) in clear_flush()
52 void iommu_tbl_pool_init(struct iommu_map_table *iommu, in iommu_tbl_pool_init()
55 void (*lazy_flush)(struct iommu_map_table *), in iommu_tbl_pool_init() argument
98 struct iommu_map_table *iommu, in iommu_tbl_range_alloc()
223 static struct iommu_pool *get_pool(struct iommu_map_table *tbl, in get_pool()
246 void iommu_tbl_range_free(struct iommu_map_table *iommu, u64 dma_addr, in iommu_tbl_range_free()
H A Diommu.c50 static void iommu_flushall(struct iommu_map_table *iommu_map_table) in iommu_flushall() argument
52 struct iommu *iommu = container_of(iommu_map_table, struct iommu, tbl); in iommu_flushall()
594 struct iommu_map_table *tbl = &iommu->tbl; in fetch_sg_ctx()
682 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_single_for_cpu()
718 struct iommu_map_table *tbl = &iommu->tbl; in dma_4u_sync_sg_for_cpu()
H A Dpci_sun4v.c189 struct iommu_map_table *tbl; in dma_4v_alloc_coherent()
329 struct iommu_map_table *tbl; in dma_4v_free_coherent()
362 struct iommu_map_table *tbl; in dma_4v_map_page()
436 struct iommu_map_table *tbl; in dma_4v_unmap_page()
481 struct iommu_map_table *tbl; in dma_4v_map_sg()
650 struct iommu_map_table *tbl; in dma_4v_unmap_sg()
710 struct iommu_map_table *iommu) in probe_existing_entries()
H A Dldc.c109 struct iommu_map_table iommu_map_table; member
1045 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; in ldc_iommu_init()
1103 struct iommu_map_table *iommu = &ldc_iommu->iommu_map_table; in ldc_iommu_release()
2022 entry = iommu_tbl_range_alloc(NULL, &iommu->iommu_map_table, in alloc_npages()
2242 iommu_tbl_range_free(&iommu->iommu_map_table, cookie, npages, entry); in free_npages()