Lines Matching refs:schp
807 struct iwch_cq *schp)
813 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp);
833 spin_lock(&schp->lock);
835 cxio_flush_hw_cq(&schp->cq);
836 cxio_count_scqes(&schp->cq, &qhp->wq, &count);
837 flushed = cxio_flush_sq(&qhp->wq, &schp->cq, count);
839 spin_unlock(&schp->lock);
841 spin_lock(&schp->comp_handler_lock);
842 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
843 spin_unlock(&schp->comp_handler_lock);
855 struct iwch_cq *rchp, *schp;
858 schp = get_chp(qhp->rhp, qhp->attr.scq);
866 if (schp != rchp) {
867 cxio_set_cq_in_error(&schp->cq);
868 spin_lock(&schp->comp_handler_lock);
869 (*schp->ibcq.comp_handler)(&schp->ibcq,
870 schp->ibcq.cq_context);
871 spin_unlock(&schp->comp_handler_lock);
875 __flush_qp(qhp, rchp, schp);