Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/habanalabs/common/
Dhw_queue.c416 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_signal_cs() argument
427 cs_cmpl->hw_sob = hw_sob; in init_signal_cs()
428 cs_cmpl->sob_val = prop->next_sob_val; in init_signal_cs()
432 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, q_idx, in init_signal_cs()
433 cs_cmpl->cs_seq); in init_signal_cs()
439 cs_cmpl->hw_sob->sob_id, 0, true); in init_signal_cs()
452 struct hl_cs_compl *cs_cmpl) in hl_hw_queue_encaps_sig_set_sob_info() argument
457 cs_cmpl->hw_sob = handle->hw_sob; in hl_hw_queue_encaps_sig_set_sob_info()
471 cs_cmpl->sob_val = handle->pre_sob_val + offset; in hl_hw_queue_encaps_sig_set_sob_info()
475 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_wait_cs() argument
[all …]
Dcommand_submission.c904 struct hl_cs_compl *cs_cmpl; in allocate_cs() local
939 cs_cmpl = kzalloc(sizeof(*cs_cmpl), GFP_ATOMIC); in allocate_cs()
940 if (!cs_cmpl) in allocate_cs()
941 cs_cmpl = kzalloc(sizeof(*cs_cmpl), GFP_KERNEL); in allocate_cs()
943 if (!cs_cmpl) { in allocate_cs()
963 cs_cmpl->hdev = hdev; in allocate_cs()
964 cs_cmpl->type = cs->type; in allocate_cs()
965 spin_lock_init(&cs_cmpl->lock); in allocate_cs()
966 cs->fence = &cs_cmpl->base_fence; in allocate_cs()
970 cs_cmpl->cs_seq = ctx->cs_sequence; in allocate_cs()
[all …]
Dhabanalabs.h4042 struct hl_cs_compl *cs_cmpl);
/linux-6.12.1/drivers/accel/habanalabs/gaudi/
Dgaudi.c1261 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in gaudi_collective_slave_init_job() argument
1276 cs_cmpl); in gaudi_collective_slave_init_job()
1280 cs_cmpl->hw_sob->sob_id, in gaudi_collective_slave_init_job()
1281 cs_cmpl->sob_val); in gaudi_collective_slave_init_job()
1286 wait_prop.sob_base = cs_cmpl->hw_sob->sob_id; in gaudi_collective_slave_init_job()
1288 wait_prop.sob_val = cs_cmpl->sob_val; in gaudi_collective_slave_init_job()
1295 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in gaudi_collective_slave_init_job()
1312 struct hl_cs_compl *cs_cmpl = in gaudi_collective_wait_init_cs() local
1328 cs_cmpl->hw_sob = handle->hw_sob; in gaudi_collective_wait_init_cs()
1335 cs_cmpl->sob_val = 0; in gaudi_collective_wait_init_cs()
[all …]