Lines Matching defs:cs
150 void cs_get(struct hl_cs *cs) in cs_get()
155 static int cs_get_unless_zero(struct hl_cs *cs) in cs_get_unless_zero()
160 static void cs_put(struct hl_cs *cs) in cs_put()
177 bool cs_needs_completion(struct hl_cs *cs) in cs_needs_completion()
188 bool cs_needs_timeout(struct hl_cs *cs) in cs_needs_timeout()
269 struct hl_cs *cs = job->cs; in complete_job() local
338 struct hl_cs *cs; in hl_staged_cs_find_first() local
355 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists()
378 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get()
397 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put()
406 static void cs_handle_tdr(struct hl_device *hdev, struct hl_cs *cs) in cs_handle_tdr()
507 static void complete_multi_cs(struct hl_device *hdev, struct hl_cs *cs) in complete_multi_cs()
557 struct hl_cs *cs, in cs_release_sob_reset_handler()
597 struct hl_cs *cs = container_of(ref, struct hl_cs, refcount); in cs_do_release() local
717 struct hl_cs *cs = container_of(work, struct hl_cs, in cs_timedout() local
783 struct hl_cs *cs; in allocate_cs() local
904 static void cs_rollback(struct hl_device *hdev, struct hl_cs *cs) in cs_rollback()
917 struct hl_cs *cs, *tmp; in hl_cs_rollback_all() local
983 struct hl_cs *cs = job->cs; in job_wq_completion() local
1220 static int cs_staged_submission(struct hl_device *hdev, struct hl_cs *cs, in cs_staged_submission()
1273 struct hl_cs *cs; in cs_ioctl_default() local
1705 struct hl_ctx *ctx, struct hl_cs *cs, in cs_ioctl_signal_wait_create_jobs()
1967 struct hl_cs *cs; in cs_ioctl_signal_wait() local