Lines Matching refs:hl_cs_cmpl
213 struct hl_cs_compl *hl_cs_cmpl = in hl_fence_release() local
216 kfree(hl_cs_cmpl); in hl_fence_release()
657 struct hl_cs_compl *hl_cs_cmpl) in cs_release_sob_reset_handler() argument
663 if (!hl_cs_cmpl->hw_sob || !cs->submitted) in cs_release_sob_reset_handler()
666 spin_lock(&hl_cs_cmpl->lock); in cs_release_sob_reset_handler()
673 if ((hl_cs_cmpl->type == CS_TYPE_SIGNAL) || in cs_release_sob_reset_handler()
674 (hl_cs_cmpl->type == CS_TYPE_WAIT) || in cs_release_sob_reset_handler()
675 (hl_cs_cmpl->type == CS_TYPE_COLLECTIVE_WAIT) || in cs_release_sob_reset_handler()
676 (!!hl_cs_cmpl->encaps_signals)) { in cs_release_sob_reset_handler()
679 hl_cs_cmpl->cs_seq, in cs_release_sob_reset_handler()
680 hl_cs_cmpl->type, in cs_release_sob_reset_handler()
681 hl_cs_cmpl->hw_sob->sob_id, in cs_release_sob_reset_handler()
682 hl_cs_cmpl->sob_val); in cs_release_sob_reset_handler()
684 hw_sob_put(hl_cs_cmpl->hw_sob); in cs_release_sob_reset_handler()
686 if (hl_cs_cmpl->type == CS_TYPE_COLLECTIVE_WAIT) in cs_release_sob_reset_handler()
688 hl_cs_cmpl->sob_group); in cs_release_sob_reset_handler()
691 spin_unlock(&hl_cs_cmpl->lock); in cs_release_sob_reset_handler()
699 struct hl_cs_compl *hl_cs_cmpl = in cs_do_release() local
763 if (hl_cs_cmpl->encaps_signals) in cs_do_release()
764 kref_put(&hl_cs_cmpl->encaps_sig_hdl->refcount, in cs_do_release()
808 cs_release_sob_reset_handler(hdev, cs, hl_cs_cmpl); in cs_do_release()