Searched refs:max_pending_cs (Results 1 – 9 of 9) sorted by relevance
89 for (i = 0 ; i < hdev->asic_prop.max_pending_cs ; i++) in hl_ctx_fini()201 ctx->cs_pending = kcalloc(hdev->asic_prop.max_pending_cs, in hl_ctx_init()338 if (seq + asic_prop->max_pending_cs < ctx->cs_sequence) in hl_ctx_get_fence_locked()341 fence = ctx->cs_pending[seq & (asic_prop->max_pending_cs - 1)]; in hl_ctx_get_fence_locked()
103 cs = hdev->shadow_cs_queue[cs_seq & (prop->max_pending_cs - 1)]; in cs_finish()
382 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()
759 hdev->shadow_cs_queue[cs->sequence & (hdev->asic_prop.max_pending_cs - 1)] = NULL; in cs_do_release()950 (hdev->asic_prop.max_pending_cs - 1)]; in allocate_cs()979 (hdev->asic_prop.max_pending_cs - 1)] = in allocate_cs()
1865 hdev->shadow_cs_queue = kcalloc(hdev->asic_prop.max_pending_cs, in hl_device_init()
744 u32 max_pending_cs; member
1921 prop->max_pending_cs = GAUDI2_MAX_PENDING_CS; in gaudi2_set_fixed_properties()9564 int index = cs->sequence & (hdev->asic_prop.max_pending_cs - 1); in gaudi2_pre_schedule_cs()
472 prop->max_pending_cs = GOYA_MAX_PENDING_CS; in goya_set_fixed_properties()
672 prop->max_pending_cs = GAUDI_MAX_PENDING_CS; in gaudi_set_fixed_properties()