Lines Matching refs:hl_cs_cmpl
195 struct hl_cs_compl *hl_cs_cmpl = in hl_fence_release() local
198 kfree(hl_cs_cmpl); in hl_fence_release()
639 struct hl_cs_compl *hl_cs_cmpl) in cs_release_sob_reset_handler() argument
645 if (!hl_cs_cmpl->hw_sob || !cs->submitted) in cs_release_sob_reset_handler()
648 spin_lock(&hl_cs_cmpl->lock); in cs_release_sob_reset_handler()
655 if ((hl_cs_cmpl->type == CS_TYPE_SIGNAL) || in cs_release_sob_reset_handler()
656 (hl_cs_cmpl->type == CS_TYPE_WAIT) || in cs_release_sob_reset_handler()
657 (hl_cs_cmpl->type == CS_TYPE_COLLECTIVE_WAIT) || in cs_release_sob_reset_handler()
658 (!!hl_cs_cmpl->encaps_signals)) { in cs_release_sob_reset_handler()
661 hl_cs_cmpl->cs_seq, in cs_release_sob_reset_handler()
662 hl_cs_cmpl->type, in cs_release_sob_reset_handler()
663 hl_cs_cmpl->hw_sob->sob_id, in cs_release_sob_reset_handler()
664 hl_cs_cmpl->sob_val); in cs_release_sob_reset_handler()
666 hw_sob_put(hl_cs_cmpl->hw_sob); in cs_release_sob_reset_handler()
668 if (hl_cs_cmpl->type == CS_TYPE_COLLECTIVE_WAIT) in cs_release_sob_reset_handler()
670 hl_cs_cmpl->sob_group); in cs_release_sob_reset_handler()
673 spin_unlock(&hl_cs_cmpl->lock); in cs_release_sob_reset_handler()
681 struct hl_cs_compl *hl_cs_cmpl = in cs_do_release() local
745 if (hl_cs_cmpl->encaps_signals) in cs_do_release()
746 kref_put(&hl_cs_cmpl->encaps_sig_hdl->refcount, in cs_do_release()
790 cs_release_sob_reset_handler(hdev, cs, hl_cs_cmpl); in cs_do_release()