Lines Matching defs:schp
765 struct iwch_cq *schp)
770 CTR4(KTR_IW_CXGB, "%s qhp %p rchp %p schp %p", __FUNCTION__, qhp, rchp, schp);
787 mtx_lock(&schp->lock);
789 cxio_flush_hw_cq(&schp->cq);
790 cxio_count_scqes(&schp->cq, &qhp->wq, &count);
791 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count);
793 mtx_unlock(&schp->lock);
795 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
805 struct iwch_cq *rchp, *schp;
808 schp = get_chp(qhp->rhp, qhp->attr.scq);
814 if (schp != rchp) {
815 cxio_set_cq_in_error(&schp->cq);
816 (*schp->ibcq.comp_handler)(&schp->ibcq,
817 schp->ibcq.cq_context);
821 __flush_qp(qhp, rchp, schp);