Lines Matching defs:cs

250 void cs_get(struct hl_cs *cs)  in cs_get()
255 static int cs_get_unless_zero(struct hl_cs *cs) in cs_get_unless_zero()
260 static void cs_put(struct hl_cs *cs) in cs_put()
277 bool cs_needs_completion(struct hl_cs *cs) in cs_needs_completion()
288 bool cs_needs_timeout(struct hl_cs *cs) in cs_needs_timeout()
363 struct hl_cs *cs = job->cs; in hl_complete_job() local
438 struct hl_cs *cs; in hl_staged_cs_find_first() local
455 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists()
478 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get()
497 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put()
506 static void cs_handle_tdr(struct hl_device *hdev, struct hl_cs *cs) in cs_handle_tdr()
606 static void complete_multi_cs(struct hl_device *hdev, struct hl_cs *cs) in complete_multi_cs()
656 struct hl_cs *cs, in cs_release_sob_reset_handler()
696 struct hl_cs *cs = container_of(ref, struct hl_cs, refcount); in cs_do_release() local
818 struct hl_cs *cs = container_of(work, struct hl_cs, work_tdr.work); in cs_timedout() local
905 struct hl_cs *cs; in allocate_cs() local
1026 static void cs_rollback(struct hl_device *hdev, struct hl_cs *cs) in cs_rollback()
1067 struct hl_cs *cs, *tmp; in hl_cs_rollback_all() local
1148 struct hl_cs *cs; in force_complete_cs() local
1170 struct hl_cs *cs = job->cs; in job_wq_completion() local
1179 struct hl_cs *cs = container_of(work, struct hl_cs, finish_work); in cs_completion() local
1190 struct hl_cs *cs; in hl_get_active_cs_num() local
1446 static int cs_staged_submission(struct hl_device *hdev, struct hl_cs *cs, in cs_staged_submission()
1500 struct hl_cs *cs; in cs_ioctl_default() local
1939 struct hl_ctx *ctx, struct hl_cs *cs, in cs_ioctl_signal_wait_create_jobs()
2217 struct hl_cs *cs; in cs_ioctl_signal_wait() local