Lines Matching full:entities
258 if (cmpxchg(&ctx->entities[hw_ip][ring], NULL, entity)) in amdgpu_ctx_init_entity()
421 spend = amdgpu_ctx_fini_entity(adev, ctx->entities[i][j]); in amdgpu_ctx_fini()
456 if (ctx->entities[hw_ip][ring] == NULL) { in amdgpu_ctx_get_entity()
462 ctx_entity = &ctx->entities[hw_ip][ring]->entity; in amdgpu_ctx_get_entity()
514 if (!ctx->entities[i][j]) in amdgpu_ctx_do_release()
517 drm_sched_entity_destroy(&ctx->entities[i][j]->entity); in amdgpu_ctx_do_release()
850 if (!ctx->entities[i][j]) in amdgpu_ctx_priority_override()
853 amdgpu_ctx_set_entity_priority(ctx, ctx->entities[i][j], in amdgpu_ctx_priority_override()
910 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_flush()
913 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_flush()
940 if (!ctx->entities[i][j]) in amdgpu_ctx_mgr_entity_fini()
943 entity = &ctx->entities[i][j]->entity; in amdgpu_ctx_mgr_entity_fini()
994 centity = ctx->entities[hw_ip][i]; in amdgpu_ctx_mgr_usage()