Lines Matching defs:schp
936 struct c4iw_cq *schp)
942 CTR4(KTR_IW_CXGBE, "%s qhp %p rchp %p schp %p", __func__, qhp, rchp,
943 schp);
960 spin_lock_irqsave(&schp->lock, flag);
962 c4iw_flush_hw_cq(&schp->cq);
963 c4iw_count_scqes(&schp->cq, &qhp->wq, &count);
964 flushed = c4iw_flush_sq(&qhp->wq, &schp->cq, count);
966 spin_unlock_irqrestore(&schp->lock, flag);
968 spin_lock_irqsave(&schp->comp_handler_lock, flag);
969 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
970 spin_unlock_irqrestore(&schp->comp_handler_lock, flag);
976 struct c4iw_cq *rchp, *schp;
980 schp = get_chp(qhp->rhp, qhp->attr.scq);
988 if (schp != rchp) {
989 t4_set_cq_in_error(&schp->cq);
990 spin_lock_irqsave(&schp->comp_handler_lock, flag);
991 (*schp->ibcq.comp_handler)(&schp->ibcq,
992 schp->ibcq.cq_context);
993 spin_unlock_irqrestore(&schp->comp_handler_lock, flag);
997 __flush_qp(qhp, rchp, schp);
1457 struct c4iw_cq *schp;
1472 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid);
1474 if (!schp || !rchp)
1507 ret = create_qp(&rhp->rdev, &qhp->wq, &schp->cq, &rchp->cq,