Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c275 struct panthor_vm_op_ctx *op_ctx; member
433 drm_WARN_ON(&vm->ptdev->base, vm->op_ctx); in alloc_pt()
450 if (drm_WARN_ON(&vm->ptdev->base, !vm->op_ctx) || in alloc_pt()
452 vm->op_ctx->rsvd_page_tables.ptr >= vm->op_ctx->rsvd_page_tables.count)) in alloc_pt()
455 page = vm->op_ctx->rsvd_page_tables.pages[vm->op_ctx->rsvd_page_tables.ptr++]; in alloc_pt()
1089 static void panthor_vm_cleanup_op_ctx(struct panthor_vm_op_ctx *op_ctx, in panthor_vm_cleanup_op_ctx() argument
1092 u32 remaining_pt_count = op_ctx->rsvd_page_tables.count - in panthor_vm_cleanup_op_ctx()
1093 op_ctx->rsvd_page_tables.ptr; in panthor_vm_cleanup_op_ctx()
1097 op_ctx->rsvd_page_tables.pages + in panthor_vm_cleanup_op_ctx()
1098 op_ctx->rsvd_page_tables.ptr); in panthor_vm_cleanup_op_ctx()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_mmu.h99 void pvr_mmu_op_context_destroy(struct pvr_mmu_op_context *op_ctx);
104 int pvr_mmu_map(struct pvr_mmu_op_context *op_ctx, u64 size, u64 flags,
106 int pvr_mmu_unmap(struct pvr_mmu_op_context *op_ctx, u64 device_addr, u64 size);