Lines Matching defs:ctx

138 static unsigned int amdgpu_ctx_get_hw_prio(struct amdgpu_ctx *ctx, u32 hw_ip)  in amdgpu_ctx_get_hw_prio()
189 static ktime_t amdgpu_ctx_entity_time(struct amdgpu_ctx *ctx, in amdgpu_ctx_entity_time()
203 static int amdgpu_ctx_init_entity(struct amdgpu_ctx *ctx, u32 hw_ip, in amdgpu_ctx_init_entity()
291 static int amdgpu_ctx_get_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_stable_pstate()
320 struct drm_file *filp, struct amdgpu_ctx *ctx) in amdgpu_ctx_init()
355 static int amdgpu_ctx_set_stable_pstate(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_stable_pstate()
408 struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); in amdgpu_ctx_fini() local
433 int amdgpu_ctx_get_entity(struct amdgpu_ctx *ctx, u32 hw_ip, u32 instance, in amdgpu_ctx_get_entity()
479 struct amdgpu_ctx *ctx; in amdgpu_ctx_alloc() local
507 struct amdgpu_ctx *ctx; in amdgpu_ctx_do_release() local
526 struct amdgpu_ctx *ctx; in amdgpu_ctx_free() local
540 struct amdgpu_ctx *ctx; in amdgpu_ctx_query() local
579 struct amdgpu_ctx *ctx; in amdgpu_ctx_query2() local
640 struct amdgpu_ctx *ctx; in amdgpu_ctx_stable_pstate() local
731 struct amdgpu_ctx *ctx; in amdgpu_ctx_get() local
747 int amdgpu_ctx_put(struct amdgpu_ctx *ctx) in amdgpu_ctx_put()
756 uint64_t amdgpu_ctx_add_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_add_fence()
783 struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_get_fence()
812 static void amdgpu_ctx_set_entity_priority(struct amdgpu_ctx *ctx, in amdgpu_ctx_set_entity_priority()
837 void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, in amdgpu_ctx_priority_override()
858 int amdgpu_ctx_wait_prev_fence(struct amdgpu_ctx *ctx, in amdgpu_ctx_wait_prev_fence()
897 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_flush() local
923 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_entity_fini() local
951 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_fini() local
971 struct amdgpu_ctx *ctx; in amdgpu_ctx_mgr_usage() local