Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dhw_queue.c63 atomic_add(cs->jobs_in_queue_cnt[i], &q->ci); in hl_hw_queue_update_ci()
665 if (cs->jobs_in_queue_cnt[i]) { in hl_hw_queue_schedule_cs()
669 cs->jobs_in_queue_cnt[i], in hl_hw_queue_schedule_cs()
675 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
679 cs->jobs_in_queue_cnt[i]); in hl_hw_queue_schedule_cs()
797 (cs->jobs_in_queue_cnt[i])) { in hl_hw_queue_schedule_cs()
800 atomic_add(cs->jobs_in_queue_cnt[i], free_slots); in hl_hw_queue_schedule_cs()
Dcommand_submission.c812 kfree(cs->jobs_in_queue_cnt); in cs_do_release()
950 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs()
951 sizeof(*cs->jobs_in_queue_cnt), GFP_ATOMIC); in allocate_cs()
952 if (!cs->jobs_in_queue_cnt) in allocate_cs()
953 cs->jobs_in_queue_cnt = kcalloc(hdev->asic_prop.max_queues, in allocate_cs()
954 sizeof(*cs->jobs_in_queue_cnt), GFP_KERNEL); in allocate_cs()
956 if (!cs->jobs_in_queue_cnt) { in allocate_cs()
1017 kfree(cs->jobs_in_queue_cnt); in allocate_cs()
1605 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_default()
1993 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in cs_ioctl_signal_wait_create_jobs()
Dhabanalabs.h2045 u16 *jobs_in_queue_cnt; member
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1515 cs->jobs_in_queue_cnt[job->hw_queue_id]++; in gaudi_collective_wait_create_job()