Lines Matching refs:chp
44 static int iwch_poll_cq_one(struct iwch_dev *rhp, struct iwch_cq *chp,
55 rd_cqe = cxio_next_cqe(&chp->cq);
67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie,
69 if (t3a_device(chp->rhp) && credit) {
71 credit, chp->cq.cqid);
72 cxio_hal_cq_op(&rhp->rdev, &chp->cq, CQ_CREDIT_UPDATE, credit);
189 struct iwch_cq *chp;
194 chp = to_iwch_cq(ibcq);
195 rhp = chp->rhp;
197 spin_lock_irqsave(&chp->lock, flags);
209 err = iwch_poll_cq_one(rhp, chp, wc + npolled);
217 spin_unlock_irqrestore(&chp->lock, flags);