Lines Matching refs:SZ_4K
56 dma_free_wc(context->global->dev, SZ_4K, in etnaviv_iommuv2_free()
61 dma_free_wc(context->global->dev, SZ_4K, v2_context->mtlb_cpu, in etnaviv_iommuv2_free()
76 dma_alloc_wc(v2_context->base.global->dev, SZ_4K, in etnaviv_iommuv2_ensure_stlb()
84 SZ_4K / sizeof(u32)); in etnaviv_iommuv2_ensure_stlb()
100 if (size != SZ_4K) in etnaviv_iommuv2_map()
127 if (size != SZ_4K) in etnaviv_iommuv2_unmap()
135 return SZ_4K; in etnaviv_iommuv2_unmap()
141 size_t dump_size = SZ_4K; in etnaviv_iommuv2_dump_size()
146 dump_size += SZ_4K; in etnaviv_iommuv2_dump_size()
156 memcpy(buf, v2_context->mtlb_cpu, SZ_4K); in etnaviv_iommuv2_dump()
157 buf += SZ_4K; in etnaviv_iommuv2_dump()
160 memcpy(buf, v2_context->stlb_cpu[i], SZ_4K); in etnaviv_iommuv2_dump()
161 buf += SZ_4K; in etnaviv_iommuv2_dump()
290 v2_context->mtlb_cpu = dma_alloc_wc(global->dev, SZ_4K, in etnaviv_iommuv2_context_alloc()
305 drm_mm_init(&context->mm, SZ_4K, (u64)SZ_1G * 4 - SZ_4K); in etnaviv_iommuv2_context_alloc()