Lines Matching defs:hdev
43 struct hl_device *hdev = cs->ctx->hdev; in hl_int_hw_queue_update_ci() local
73 static void ext_and_hw_queue_submit_bd(struct hl_device *hdev, in ext_and_hw_queue_submit_bd()
106 static int ext_queue_sanity_checks(struct hl_device *hdev, in ext_queue_sanity_checks()
155 static int int_queue_sanity_checks(struct hl_device *hdev, in int_queue_sanity_checks()
190 static int hw_queue_sanity_checks(struct hl_device *hdev, struct hl_hw_queue *q, in hw_queue_sanity_checks()
218 int hl_hw_queue_send_cb_no_cmpl(struct hl_device *hdev, u32 hw_queue_id, in hl_hw_queue_send_cb_no_cmpl()
270 struct hl_device *hdev = job->cs->ctx->hdev; in ext_queue_schedule_job() local
329 struct hl_device *hdev = job->cs->ctx->hdev; in int_queue_schedule_job() local
358 struct hl_device *hdev = job->cs->ctx->hdev; in hw_queue_schedule_job() local
400 struct hl_device *hdev = ctx->hdev; in init_signal_wait_cs() local
488 struct hl_device *hdev = ctx->hdev; in hl_hw_queue_schedule_cs() local
607 void hl_hw_queue_inc_ci_kernel(struct hl_device *hdev, u32 hw_queue_id) in hl_hw_queue_inc_ci_kernel()
614 static int ext_and_cpu_queue_init(struct hl_device *hdev, struct hl_hw_queue *q, in ext_and_cpu_queue_init()
665 static int int_queue_init(struct hl_device *hdev, struct hl_hw_queue *q) in int_queue_init()
685 static int cpu_queue_init(struct hl_device *hdev, struct hl_hw_queue *q) in cpu_queue_init()
690 static int ext_queue_init(struct hl_device *hdev, struct hl_hw_queue *q) in ext_queue_init()
695 static int hw_queue_init(struct hl_device *hdev, struct hl_hw_queue *q) in hw_queue_init()
715 static void sync_stream_queue_init(struct hl_device *hdev, u32 q_idx) in sync_stream_queue_init()
738 static void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx) in sync_stream_queue_reset()
761 static int queue_init(struct hl_device *hdev, struct hl_hw_queue *q, in queue_init()
810 static void queue_fini(struct hl_device *hdev, struct hl_hw_queue *q) in queue_fini()
849 int hl_hw_queues_create(struct hl_device *hdev) in hl_hw_queues_create()
889 void hl_hw_queues_destroy(struct hl_device *hdev) in hl_hw_queues_destroy()
901 void hl_hw_queue_reset(struct hl_device *hdev, bool hard_reset) in hl_hw_queue_reset()