• Home
  • Raw
  • Download

Lines Matching refs:hl_cs

149 void cs_get(struct hl_cs *cs)  in cs_get()
154 static int cs_get_unless_zero(struct hl_cs *cs) in cs_get_unless_zero()
159 static void cs_put(struct hl_cs *cs) in cs_put()
176 bool cs_needs_completion(struct hl_cs *cs) in cs_needs_completion()
187 bool cs_needs_timeout(struct hl_cs *cs) in cs_needs_timeout()
268 struct hl_cs *cs = job->cs; in complete_job()
335 struct hl_cs *hl_staged_cs_find_first(struct hl_device *hdev, u64 cs_seq) in hl_staged_cs_find_first()
337 struct hl_cs *cs; in hl_staged_cs_find_first()
354 bool is_staged_cs_last_exists(struct hl_device *hdev, struct hl_cs *cs) in is_staged_cs_last_exists()
356 struct hl_cs *last_entry; in is_staged_cs_last_exists()
358 last_entry = list_last_entry(&cs->staged_cs_node, struct hl_cs, in is_staged_cs_last_exists()
377 static void staged_cs_get(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_get()
396 static void staged_cs_put(struct hl_device *hdev, struct hl_cs *cs) in staged_cs_put()
405 static void cs_handle_tdr(struct hl_device *hdev, struct hl_cs *cs) in cs_handle_tdr()
408 struct hl_cs *next, *first_cs; in cs_handle_tdr()
507 static void complete_multi_cs(struct hl_device *hdev, struct hl_cs *cs) in complete_multi_cs()
546 struct hl_cs *cs, in cs_release_sob_reset_handler()
586 struct hl_cs *cs = container_of(ref, struct hl_cs, refcount); in cs_do_release()
633 struct hl_cs *staged_cs, *tmp; in cs_do_release()
706 struct hl_cs *cs = container_of(work, struct hl_cs, in cs_timedout()
767 struct hl_cs **cs_new, u32 flags, u32 timeout) in allocate_cs()
772 struct hl_cs *cs; in allocate_cs()
893 static void cs_rollback(struct hl_device *hdev, struct hl_cs *cs) in cs_rollback()
906 struct hl_cs *cs, *tmp; in hl_cs_rollback_all()
972 struct hl_cs *cs = job->cs; in job_wq_completion()
1209 static int cs_staged_submission(struct hl_device *hdev, struct hl_cs *cs, in cs_staged_submission()
1262 struct hl_cs *cs; in cs_ioctl_default()
1694 struct hl_ctx *ctx, struct hl_cs *cs, in cs_ioctl_signal_wait_create_jobs()
1956 struct hl_cs *cs; in cs_ioctl_signal_wait()