Lines Matching defs:cs

232 void cs_get(struct hl_cs *cs)  in cs_get()
237 static int cs_get_unless_zero(struct hl_cs *cs) in cs_get_unless_zero()
242 static void cs_put(struct hl_cs *cs) in cs_put()
259 bool cs_needs_completion(struct hl_cs *cs) in cs_needs_completion()
270 bool cs_needs_timeout(struct hl_cs *cs) in cs_needs_timeout()
345 struct hl_cs *cs = job->cs; in hl_complete_job() local
420 struct hl_cs *cs; in hl_staged_cs_find_first() local
437 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists()
460 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get()
479 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put()
488 static void cs_handle_tdr(struct hl_device *hdev, struct hl_cs *cs) in cs_handle_tdr()
588 static void complete_multi_cs(struct hl_device *hdev, struct hl_cs *cs) in complete_multi_cs()
638 struct hl_cs *cs, in cs_release_sob_reset_handler()
678 struct hl_cs *cs = container_of(ref, struct hl_cs, refcount); in cs_do_release() local
800 struct hl_cs *cs = container_of(work, struct hl_cs, work_tdr.work); in cs_timedout() local
887 struct hl_cs *cs; in allocate_cs() local
1008 static void cs_rollback(struct hl_device *hdev, struct hl_cs *cs) in cs_rollback()
1049 struct hl_cs *cs, *tmp; in hl_cs_rollback_all() local
1127 struct hl_cs *cs; in force_complete_cs() local
1149 struct hl_cs *cs = job->cs; in job_wq_completion() local
1158 struct hl_cs *cs = container_of(work, struct hl_cs, finish_work); in cs_completion() local
1169 struct hl_cs *cs; in hl_get_active_cs_num() local
1426 static int cs_staged_submission(struct hl_device *hdev, struct hl_cs *cs, in cs_staged_submission()
1480 struct hl_cs *cs; in cs_ioctl_default() local
1924 struct hl_ctx *ctx, struct hl_cs *cs, in cs_ioctl_signal_wait_create_jobs()
2202 struct hl_cs *cs; in cs_ioctl_signal_wait() local