Lines Matching refs:schp
908 struct c4iw_cq *schp, unsigned long *flag)
913 PDBG("%s qhp %p rchp %p schp %p\n", __func__, qhp, rchp, schp);
930 spin_lock_irqsave(&schp->lock, *flag);
932 c4iw_flush_hw_cq(&schp->cq);
933 c4iw_count_scqes(&schp->cq, &qhp->wq, &count);
934 flushed = c4iw_flush_sq(&qhp->wq, &schp->cq, count);
936 spin_unlock_irqrestore(&schp->lock, *flag);
938 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
949 struct c4iw_cq *rchp, *schp;
952 schp = get_chp(qhp->rhp, qhp->attr.scq);
957 if (schp != rchp)
958 t4_set_cq_in_error(&schp->cq);
961 __flush_qp(qhp, rchp, schp, flag);
1377 struct c4iw_cq *schp;
1392 schp = get_chp(rhp, ((struct c4iw_cq *)attrs->send_cq)->cq.cqid);
1394 if (!schp || !rchp)
1427 ret = create_qp(&rhp->rdev, &qhp->wq, &schp->cq, &rchp->cq,