Home
last modified time | relevance | path

Searched refs:pt_count (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/panthor/
A Dpanthor_mmu.c1187 u64 pt_count; in panthor_vm_prepare_map_op_ctx() local
1278 op_ctx->rsvd_page_tables.pages = kcalloc(pt_count, in panthor_vm_prepare_map_op_ctx()
1286 ret = kmem_cache_alloc_bulk(pt_cache, GFP_KERNEL, pt_count, in panthor_vm_prepare_map_op_ctx()
1289 if (ret != pt_count) { in panthor_vm_prepare_map_op_ctx()
1310 u32 pt_count = 0; in panthor_vm_prepare_unmap_op_ctx() local
1323 pt_count++; in panthor_vm_prepare_unmap_op_ctx()
1327 pt_count++; in panthor_vm_prepare_unmap_op_ctx()
1333 if (pt_count) { in panthor_vm_prepare_unmap_op_ctx()
1334 op_ctx->rsvd_page_tables.pages = kcalloc(pt_count, in panthor_vm_prepare_unmap_op_ctx()
1344 if (ret != pt_count) { in panthor_vm_prepare_unmap_op_ctx()
[all …]
/drivers/gpu/drm/msm/
A Dmsm_iommu.c296 u64 pt_count; in msm_iommu_pagetable_prealloc_count() local
311 pt_count = ((ALIGN(iova + len, 1ull << 39) - ALIGN_DOWN(iova, 1ull << 39)) >> 39) + in msm_iommu_pagetable_prealloc_count()
315 p->count += pt_count; in msm_iommu_pagetable_prealloc_count()

Completed in 14 milliseconds