Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dhw_queue.c405 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_signal_cs() argument
416 cs_cmpl->hw_sob = hw_sob; in init_signal_cs()
417 cs_cmpl->sob_val = prop->next_sob_val; in init_signal_cs()
421 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, q_idx, in init_signal_cs()
422 cs_cmpl->cs_seq); in init_signal_cs()
428 cs_cmpl->hw_sob->sob_id, 0, true); in init_signal_cs()
441 struct hl_cs_compl *cs_cmpl) in hl_hw_queue_encaps_sig_set_sob_info() argument
446 cs_cmpl->hw_sob = handle->hw_sob; in hl_hw_queue_encaps_sig_set_sob_info()
460 cs_cmpl->sob_val = handle->pre_sob_val + offset; in hl_hw_queue_encaps_sig_set_sob_info()
464 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in init_wait_cs() argument
[all …]
Dcommand_submission.c886 struct hl_cs_compl *cs_cmpl; in allocate_cs() local
921 cs_cmpl = kzalloc(sizeof(*cs_cmpl), GFP_ATOMIC); in allocate_cs()
922 if (!cs_cmpl) in allocate_cs()
923 cs_cmpl = kzalloc(sizeof(*cs_cmpl), GFP_KERNEL); in allocate_cs()
925 if (!cs_cmpl) { in allocate_cs()
945 cs_cmpl->hdev = hdev; in allocate_cs()
946 cs_cmpl->type = cs->type; in allocate_cs()
947 spin_lock_init(&cs_cmpl->lock); in allocate_cs()
948 cs->fence = &cs_cmpl->base_fence; in allocate_cs()
952 cs_cmpl->cs_seq = ctx->cs_sequence; in allocate_cs()
[all …]
Dhabanalabs.h3903 struct hl_cs_compl *cs_cmpl);
/Linux-v6.6/drivers/accel/habanalabs/gaudi/
Dgaudi.c1258 struct hl_cs_job *job, struct hl_cs_compl *cs_cmpl) in gaudi_collective_slave_init_job() argument
1273 cs_cmpl); in gaudi_collective_slave_init_job()
1277 cs_cmpl->hw_sob->sob_id, in gaudi_collective_slave_init_job()
1278 cs_cmpl->sob_val); in gaudi_collective_slave_init_job()
1283 wait_prop.sob_base = cs_cmpl->hw_sob->sob_id; in gaudi_collective_slave_init_job()
1285 wait_prop.sob_val = cs_cmpl->sob_val; in gaudi_collective_slave_init_job()
1292 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in gaudi_collective_slave_init_job()
1309 struct hl_cs_compl *cs_cmpl = in gaudi_collective_wait_init_cs() local
1325 cs_cmpl->hw_sob = handle->hw_sob; in gaudi_collective_wait_init_cs()
1332 cs_cmpl->sob_val = 0; in gaudi_collective_wait_init_cs()
[all …]