Lines Matching refs:cs_cmpl
405 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
483 hl_hw_queue_encaps_sig_set_sob_info(hdev, cs, job, cs_cmpl); in init_wait_cs()
488 cs_cmpl->sob_val, in init_wait_cs()
492 cs_cmpl->hw_sob = signal_cs_cmpl->hw_sob; in init_wait_cs()
493 cs_cmpl->sob_val = signal_cs_cmpl->sob_val; in init_wait_cs()
515 kref_get(&cs_cmpl->hw_sob->kref); in init_wait_cs()
521 cs_cmpl->hw_sob->sob_id, cs_cmpl->sob_val, in init_wait_cs()
525 wait_prop.sob_base = cs_cmpl->hw_sob->sob_id; in init_wait_cs()
527 wait_prop.sob_val = cs_cmpl->sob_val; in init_wait_cs()
552 struct hl_cs_compl *cs_cmpl = in init_signal_wait_cs() local
561 rc = init_signal_cs(hdev, job, cs_cmpl); in init_signal_wait_cs()
563 rc = init_wait_cs(hdev, cs, job, cs_cmpl); in init_signal_wait_cs()
571 struct hl_cs_compl *cs_cmpl = in encaps_sig_first_staged_cs_handler() local
592 cs_cmpl->encaps_signals = true; in encaps_sig_first_staged_cs_handler()
593 cs_cmpl->encaps_sig_hdl = encaps_sig_hdl; in encaps_sig_first_staged_cs_handler()
599 cs_cmpl->hw_sob = encaps_sig_hdl->hw_sob; in encaps_sig_first_staged_cs_handler()
600 cs_cmpl->sob_val = encaps_sig_hdl->pre_sob_val + in encaps_sig_first_staged_cs_handler()
607 cs_cmpl->hw_sob->sob_id, in encaps_sig_first_staged_cs_handler()
608 cs_cmpl->sob_val); in encaps_sig_first_staged_cs_handler()