Lines Matching defs:schp
615 struct c4iw_cq *schp;
619 schp = to_c4iw_cq(qhp->ibqp.send_cq);
620 cq = &schp->cq;
630 spin_lock_irqsave(&schp->lock, flag);
634 spin_unlock_irqrestore(&schp->lock, flag);
636 spin_lock_irqsave(&schp->comp_handler_lock, flag);
637 (*schp->ibcq.comp_handler)(&schp->ibcq,
638 schp->ibcq.cq_context);
639 spin_unlock_irqrestore(&schp->comp_handler_lock, flag);
1159 struct c4iw_cq *schp)
1165 CTR4(KTR_IW_CXGBE, "%s qhp %p rchp %p schp %p", __func__, qhp, rchp,
1166 schp);
1186 spin_lock_irqsave(&schp->lock, flag);
1188 if (schp != rchp)
1189 c4iw_flush_hw_cq(schp);
1192 spin_unlock_irqrestore(&schp->lock, flag);
1194 if (schp == rchp) {
1209 if (t4_clear_cq_armed(&schp->cq) && sq_flushed) {
1210 spin_lock_irqsave(&schp->comp_handler_lock, flag);
1211 (*schp->ibcq.comp_handler)(&schp->ibcq,
1212 schp->ibcq.cq_context);
1213 spin_unlock_irqrestore(&schp->comp_handler_lock, flag);
1220 struct c4iw_cq *rchp, *schp;
1224 schp = to_c4iw_cq(qhp->ibqp.send_cq);
1232 if (schp != rchp) {
1233 t4_set_cq_in_error(&schp->cq);
1234 spin_lock_irqsave(&schp->comp_handler_lock, flag);
1235 (*schp->ibcq.comp_handler)(&schp->ibcq,
1236 schp->ibcq.cq_context);
1237 spin_unlock_irqrestore(&schp->comp_handler_lock, flag);
1241 __flush_qp(qhp, rchp, schp);
1715 struct c4iw_cq *schp;
1731 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid);
1733 if (!schp || !rchp)
1774 ret = create_qp(&rhp->rdev, &qhp->wq, &schp->cq, &rchp->cq,