Home
last modified time | relevance | path

Searched refs:hl_cs (Results 1 – 6 of 6) sorted by relevance

/drivers/misc/habanalabs/common/
Dcommand_submission.c149 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()
[all …]
Dhabanalabs.h701 struct hl_cs;
1280 int (*collective_wait_init_cs)(struct hl_cs *cs);
1282 struct hl_ctx *ctx, struct hl_cs *cs,
1503 struct hl_cs { struct
1567 struct hl_cs *cs;
2745 int hl_hw_queue_schedule_cs(struct hl_cs *cs);
2748 void hl_hw_queue_update_ci(struct hl_cs *cs);
2828 void cs_get(struct hl_cs *cs);
2829 bool cs_needs_completion(struct hl_cs *cs);
2830 bool cs_needs_timeout(struct hl_cs *cs);
[all …]
Dhw_queue.c41 void hl_hw_queue_update_ci(struct hl_cs *cs) in hl_hw_queue_update_ci()
436 struct hl_cs *cs, struct hl_cs_job *job, in hl_hw_queue_encaps_sig_set_sob_info()
459 static int init_wait_cs(struct hl_device *hdev, struct hl_cs *cs, in init_wait_cs()
543 static int init_signal_wait_cs(struct hl_cs *cs) in init_signal_wait_cs()
565 (struct hl_device *hdev, struct hl_cs *cs) in encaps_sig_first_staged_cs_handler()
621 int hl_hw_queue_schedule_cs(struct hl_cs *cs) in hl_hw_queue_schedule_cs()
706 struct hl_cs *staged_cs; in hl_hw_queue_schedule_cs()
737 struct hl_cs, mirror_node) == cs; in hl_hw_queue_schedule_cs()
Ddebugfs.c134 struct hl_cs *cs; in command_submission_show()
1490 void hl_debugfs_add_cs(struct hl_cs *cs) in hl_debugfs_add_cs()
1499 void hl_debugfs_remove_cs(struct hl_cs *cs) in hl_debugfs_remove_cs()
/drivers/misc/habanalabs/goya/
Dgoya.c5484 static int goya_collective_wait_init_cs(struct hl_cs *cs) in goya_collective_wait_init_cs()
5490 struct hl_ctx *ctx, struct hl_cs *cs, u32 wait_queue_id, in goya_collective_wait_create_jobs()
/drivers/misc/habanalabs/gaudi/
Dgaudi.c1266 static int gaudi_collective_wait_init_cs(struct hl_cs *cs) in gaudi_collective_wait_init_cs()
1367 struct hl_ctx *ctx, struct hl_cs *cs, in gaudi_collective_wait_create_job()
1464 struct hl_ctx *ctx, struct hl_cs *cs, in gaudi_collective_wait_create_jobs()