Lines Matching refs:qhp
272 static void dump_qp(struct c4iw_qp *qhp)
285 qhp,
286 qhp->wq.sq.qid,
287 qhp->wq.error,
288 qhp->wq.flushed,
289 qhp->wq.qid_mask,
290 qhp->wq.sq.qid,
291 qhp->wq.sq.queue,
292 qhp->wq.sq.sw_sq,
293 qhp->wq.sq.cidx,
294 qhp->wq.sq.pidx,
295 qhp->wq.sq.in_use,
296 qhp->wq.sq.wq_pidx,
297 qhp->wq.sq.size,
298 qhp->wq.sq.flags,
299 qhp->wq.sq.flush_cidx,
300 qhp->wq.rq.qid,
301 qhp->wq.rq.queue,
302 qhp->wq.rq.sw_rq,
303 qhp->wq.rq.cidx,
304 qhp->wq.rq.pidx,
305 qhp->wq.rq.in_use,
306 qhp->wq.rq.size);
307 cidx = qhp->wq.sq.cidx;
308 pidx = qhp->wq.sq.pidx;
312 swsqe = &qhp->wq.sq.sw_sq[cidx];
327 if (++cidx == qhp->wq.sq.size)
332 p = (u64 *)qhp->wq.sq.queue;
333 for (i=0; i < qhp->wq.sq.size * T4_SQ_NUM_SLOTS; i++) {
337 if (j == 0 && i == qhp->wq.sq.wq_pidx)
343 cidx = qhp->wq.rq.cidx;
344 pidx = qhp->wq.rq.pidx;
348 swrqe = &qhp->wq.rq.sw_rq[cidx];
352 if (++cidx == qhp->wq.rq.size)
357 p = (u64 *)qhp->wq.rq.queue;
358 for (i=0; i < qhp->wq.rq.size * T4_RQ_NUM_SLOTS; i++) {
362 if (j == 0 && i == qhp->wq.rq.pidx)
364 if (j == 0 && i == qhp->wq.rq.cidx)
391 struct c4iw_qp *qhp = dev->qpid2ptr[i];
392 //pthread_spin_lock(&qhp->lock);
393 dump_qp(qhp);
394 //pthread_spin_unlock(&qhp->lock);