Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dhw_queue.c63 atomic_add(cs->jobs_in_queue_cnt[i], &q->ci); in hl_hw_queue_update_ci()
654 if (cs->jobs_in_queue_cnt[i]) { in hl_hw_queue_schedule_cs()
658 cs->jobs_in_queue_cnt[i], in hl_hw_queue_schedule_cs()
664 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
668 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
786 (cs->jobs_in_queue_cnt[i])) { in hl_hw_queue_schedule_cs()
789 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
Dcommand_submission.c794 kfree(cs->jobs_in_queue_cnt); in cs_do_release()
932 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs()
933 sizeof(*cs->jobs_in_queue_cnt), GFP_ATOMIC); in allocate_cs()
934 if (!cs->jobs_in_queue_cnt) in allocate_cs()
935 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs()
936 sizeof(*cs->jobs_in_queue_cnt), GFP_KERNEL); in allocate_cs()
938 if (!cs->jobs_in_queue_cnt) { in allocate_cs()
999 kfree(cs->jobs_in_queue_cnt); in allocate_cs()
1585 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default()
1978 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h1979 u16 *jobs_in_queue_cnt; member
/linux-6.6.21/drivers/accel/habanalabs/gaudi/
Dgaudi.c1512 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in gaudi_collective_wait_create_job()