Lines Matching refs:etnaviv_iommu_context

20 struct etnaviv_iommu_context;
23 struct etnaviv_iommu_context *(*init)(struct etnaviv_iommu_global *);
24 void (*free)(struct etnaviv_iommu_context *);
25 int (*map)(struct etnaviv_iommu_context *context, unsigned long iova,
27 size_t (*unmap)(struct etnaviv_iommu_context *context, unsigned long iova,
29 size_t (*dump_size)(struct etnaviv_iommu_context *);
30 void (*dump)(struct etnaviv_iommu_context *, void *);
31 void (*restore)(struct etnaviv_gpu *, struct etnaviv_iommu_context *);
58 struct etnaviv_iommu_context *shared_context;
70 struct etnaviv_iommu_context { struct
89 int etnaviv_iommu_map_gem(struct etnaviv_iommu_context *context, argument
92 void etnaviv_iommu_unmap_gem(struct etnaviv_iommu_context *context,
96 int etnaviv_iommu_get_suballoc_va(struct etnaviv_iommu_context *ctx,
100 void etnaviv_iommu_put_suballoc_va(struct etnaviv_iommu_context *ctx,
103 size_t etnaviv_iommu_dump_size(struct etnaviv_iommu_context *ctx);
104 void etnaviv_iommu_dump(struct etnaviv_iommu_context *ctx, void *buf);
106 struct etnaviv_iommu_context *
109 static inline struct etnaviv_iommu_context *
110 etnaviv_iommu_context_get(struct etnaviv_iommu_context *ctx) in etnaviv_iommu_context_get()
115 void etnaviv_iommu_context_put(struct etnaviv_iommu_context *ctx);
117 struct etnaviv_iommu_context *ctx);
119 struct etnaviv_iommu_context *
121 struct etnaviv_iommu_context *
124 u32 etnaviv_iommuv2_get_mtlb_addr(struct etnaviv_iommu_context *context);
125 unsigned short etnaviv_iommuv2_get_pta_id(struct etnaviv_iommu_context *context);