Home
last modified time | relevance | path

Searched refs:jobs_in_queue_cnt (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/misc/habanalabs/common/
Dhw_queue.c53 atomic_add(cs->jobs_in_queue_cnt[i], &q->ci); in hl_int_hw_queue_update_ci()
508 if (cs->jobs_in_queue_cnt[i]) { in hl_hw_queue_schedule_cs()
512 cs->jobs_in_queue_cnt[i], true); in hl_hw_queue_schedule_cs()
516 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
520 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
587 (cs->jobs_in_queue_cnt[i])) { in hl_hw_queue_schedule_cs()
590 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
Dcommand_submission.c363 kfree(cs->jobs_in_queue_cnt); in cs_do_release()
443 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs()
444 sizeof(*cs->jobs_in_queue_cnt), GFP_ATOMIC); in allocate_cs()
445 if (!cs->jobs_in_queue_cnt) { in allocate_cs()
702 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default()
959 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait()
Dhabanalabs.h968 u16 *jobs_in_queue_cnt; member