Lines Matching refs:kernel_queues

50 	q = &hdev->kernel_queues[0];  in hl_int_hw_queue_update_ci()
221 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_send_cb_no_cmpl()
271 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in ext_queue_schedule_job()
330 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in int_queue_schedule_job()
359 struct hl_hw_queue *q = &hdev->kernel_queues[job->hw_queue_id]; in hw_queue_schedule_job()
413 hw_queue = &hdev->kernel_queues[q_idx]; in init_signal_wait_cs()
506 q = &hdev->kernel_queues[0]; in hl_hw_queue_schedule_cs()
584 q = &hdev->kernel_queues[0]; in hl_hw_queue_schedule_cs()
609 struct hl_hw_queue *q = &hdev->kernel_queues[hw_queue_id]; in hl_hw_queue_inc_ci_kernel()
717 struct hl_hw_queue *hw_queue = &hdev->kernel_queues[q_idx]; in sync_stream_queue_init()
740 struct hl_hw_queue *hw_queue = &hdev->kernel_queues[q_idx]; in sync_stream_queue_reset()
855 hdev->kernel_queues = kcalloc(asic->max_queues, in hl_hw_queues_create()
856 sizeof(*hdev->kernel_queues), GFP_KERNEL); in hl_hw_queues_create()
858 if (!hdev->kernel_queues) { in hl_hw_queues_create()
864 for (i = 0, q_ready_cnt = 0, q = hdev->kernel_queues; in hl_hw_queues_create()
881 for (i = 0, q = hdev->kernel_queues ; i < q_ready_cnt ; i++, q++) in hl_hw_queues_create()
884 kfree(hdev->kernel_queues); in hl_hw_queues_create()
895 for (i = 0, q = hdev->kernel_queues ; i < max_queues ; i++, q++) in hl_hw_queues_destroy()
898 kfree(hdev->kernel_queues); in hl_hw_queues_destroy()
907 for (i = 0, q = hdev->kernel_queues ; i < max_queues ; i++, q++) { in hl_hw_queue_reset()