Searched refs:v2_context (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_iommu_v2.c | 49 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); in etnaviv_iommuv2_free() local 55 if (v2_context->stlb_cpu[i]) in etnaviv_iommuv2_free() 57 v2_context->stlb_cpu[i], in etnaviv_iommuv2_free() 58 v2_context->stlb_dma[i]); in etnaviv_iommuv2_free() 61 dma_free_wc(context->global->dev, SZ_4K, v2_context->mtlb_cpu, in etnaviv_iommuv2_free() 62 v2_context->mtlb_dma); in etnaviv_iommuv2_free() 64 clear_bit(v2_context->id, context->global->v2.pta_alloc); in etnaviv_iommuv2_free() 66 vfree(v2_context); in etnaviv_iommuv2_free() 69 etnaviv_iommuv2_ensure_stlb(struct etnaviv_iommuv2_context *v2_context, in etnaviv_iommuv2_ensure_stlb() argument 72 if (v2_context in etnaviv_iommuv2_ensure_stlb() 96 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_map() local 140 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_dump_size() local 153 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_dump() local 168 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_restore_nonsec() local 192 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_restore_sec() local 233 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_get_mtlb_addr() local 240 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_get_pta_id() local 272 struct etnaviv_iommuv2_context *v2_context; etnaviv_iommuv2_context_alloc() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_iommu_v2.c | 49 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); in etnaviv_iommuv2_free() local 55 if (v2_context->stlb_cpu[i]) in etnaviv_iommuv2_free() 57 v2_context->stlb_cpu[i], in etnaviv_iommuv2_free() 58 v2_context->stlb_dma[i]); in etnaviv_iommuv2_free() 61 dma_free_wc(context->global->dev, SZ_4K, v2_context->mtlb_cpu, in etnaviv_iommuv2_free() 62 v2_context->mtlb_dma); in etnaviv_iommuv2_free() 64 clear_bit(v2_context->id, context->global->v2.pta_alloc); in etnaviv_iommuv2_free() 66 vfree(v2_context); in etnaviv_iommuv2_free() 69 etnaviv_iommuv2_ensure_stlb(struct etnaviv_iommuv2_context *v2_context, in etnaviv_iommuv2_ensure_stlb() argument 72 if (v2_context in etnaviv_iommuv2_ensure_stlb() 96 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_map() local 140 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_dump_size() local 153 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_dump() local 168 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_restore_nonsec() local 192 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_restore_sec() local 233 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_get_mtlb_addr() local 240 struct etnaviv_iommuv2_context *v2_context = to_v2_context(context); etnaviv_iommuv2_get_pta_id() local 272 struct etnaviv_iommuv2_context *v2_context; etnaviv_iommuv2_context_alloc() local [all...] |
Completed in 2 milliseconds