Home
last modified time | relevance | path

Searched refs:max_pending_cs (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/accel/habanalabs/common/
H A Dcontext.c99 for (i = 0 ; i < hdev->asic_prop.max_pending_cs ; i++) in hl_ctx_fini()
213 ctx->cs_pending = kcalloc(hdev->asic_prop.max_pending_cs, in hl_ctx_init()
353 if (seq + asic_prop->max_pending_cs < ctx->cs_sequence) in hl_ctx_get_fence_locked()
356 fence = ctx->cs_pending[seq & (asic_prop->max_pending_cs - 1)]; in hl_ctx_get_fence_locked()
H A Dhw_queue.c393 offset = job->cs->sequence & (hdev->asic_prop.max_pending_cs - 1); in hw_queue_schedule_job()
719 (hdev->asic_prop.max_pending_cs - 1)] = cs; in hl_hw_queue_schedule_cs()
H A Dirq.c106 cs = hdev->shadow_cs_queue[cs_seq & (prop->max_pending_cs - 1)]; in cs_finish()
H A Dcommand_submission.c777 hdev->shadow_cs_queue[cs->sequence & (hdev->asic_prop.max_pending_cs - 1)] = NULL; in cs_do_release()
972 (hdev->asic_prop.max_pending_cs - 1)]; in allocate_cs()
1001 (hdev->asic_prop.max_pending_cs - 1)] = in allocate_cs()
H A Ddevice.c2199 hdev->shadow_cs_queue = kcalloc(hdev->asic_prop.max_pending_cs, in hl_device_init()
H A Dhabanalabs.h766 u32 max_pending_cs; member
/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c470 prop->max_pending_cs = GOYA_MAX_PENDING_CS; in goya_set_fixed_properties()
/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2451 prop->max_pending_cs = GAUDI2_MAX_PENDING_CS; in gaudi2_set_fixed_properties()
10983 int index = cs->sequence & (hdev->asic_prop.max_pending_cs - 1); in gaudi2_pre_schedule_cs()
/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c669 prop->max_pending_cs = GAUDI_MAX_PENDING_CS; in gaudi_set_fixed_properties()