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()
351 struct hl_cs *cs = job->cs; in hl_complete_job() local
427 struct hl_cs *cs; in hl_staged_cs_find_first() local
444 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists()
467 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get()
486 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put()
495 static void cs_handle_tdr(struct hl_device *hdev, struct hl_cs *cs) in cs_handle_tdr()
595 static void complete_multi_cs(struct hl_device *hdev, struct hl_cs *cs) in complete_multi_cs()
645 struct hl_cs *cs, in cs_release_sob_reset_handler()
685 struct hl_cs *cs = container_of(ref, struct hl_cs, refcount); in cs_do_release() local
810 struct hl_cs *cs = container_of(work, struct hl_cs, in cs_timedout() local
890 struct hl_cs *cs; in allocate_cs() local
1011 static void cs_rollback(struct hl_device *hdev, struct hl_cs *cs) in cs_rollback()
1052 struct hl_cs *cs, *tmp; in hl_cs_rollback_all() local
1131 struct hl_cs *cs; in force_complete_cs() local
1154 struct hl_cs *cs = job->cs; in job_wq_completion() local
1163 struct hl_cs *cs = container_of(work, struct hl_cs, finish_work); in cs_completion() local
1413 static int cs_staged_submission(struct hl_device *hdev, struct hl_cs *cs, in cs_staged_submission()
1467 struct hl_cs *cs; in cs_ioctl_default() local
1911 struct hl_ctx *ctx, struct hl_cs *cs, in cs_ioctl_signal_wait_create_jobs()
2184 struct hl_cs *cs; in cs_ioctl_signal_wait() local