Home
last modified time | relevance | path

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

/openbmc/linux/drivers/accel/habanalabs/common/
H A Dcontext.c99 for (i = 0 ; i < hdev->asic_prop.max_pending_cs ; i++) in hl_ctx_fini()
211 ctx->cs_pending = kcalloc(hdev->asic_prop.max_pending_cs, in hl_ctx_init()
348 if (seq + asic_prop->max_pending_cs < ctx->cs_sequence) in hl_ctx_get_fence_locked()
351 fence = ctx->cs_pending[seq & (asic_prop->max_pending_cs - 1)]; in hl_ctx_get_fence_locked()
H A Dhw_queue.c382 offset = job->cs->sequence & (hdev->asic_prop.max_pending_cs - 1); in hw_queue_schedule_job()
708 (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.c759 hdev->shadow_cs_queue[cs->sequence & (hdev->asic_prop.max_pending_cs - 1)] = NULL; in cs_do_release()
954 (hdev->asic_prop.max_pending_cs - 1)]; in allocate_cs()
983 (hdev->asic_prop.max_pending_cs - 1)] = in allocate_cs()
H A Ddevice.c2140 hdev->shadow_cs_queue = kcalloc(hdev->asic_prop.max_pending_cs, in hl_device_init()
H A Dhabanalabs.h757 u32 max_pending_cs; member
/openbmc/linux/drivers/accel/habanalabs/goya/
H A Dgoya.c472 prop->max_pending_cs = GOYA_MAX_PENDING_CS; in goya_set_fixed_properties()
/openbmc/linux/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c2308 prop->max_pending_cs = GAUDI2_MAX_PENDING_CS; in gaudi2_set_fixed_properties()
10562 int index = cs->sequence & (hdev->asic_prop.max_pending_cs - 1); in gaudi2_pre_schedule_cs()
/openbmc/linux/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c666 prop->max_pending_cs = GAUDI_MAX_PENDING_CS; in gaudi_set_fixed_properties()