Lines Matching defs:chp
244 static void dump_cq(struct c4iw_cq *chp)
250 "cidx_inc %d bits_type_ts %016" PRIx64 " notempty %d\n", chp,
251 chp->cq.cqid, chp->cq.queue, chp->cq.cidx,
252 chp->cq.sw_queue, chp->cq.sw_cidx, chp->cq.sw_pidx, chp->cq.sw_in_use,
253 chp->cq.size, chp->cq.error, chp->cq.gen, chp->cq.cidx_inc, be64toh(chp->cq.bits_type_ts),
254 t4_cq_notempty(&chp->cq));
256 for (i=0; i < chp->cq.size; i++) {
257 u64 *p = (u64 *)(chp->cq.queue + i);
260 if (i == chp->cq.cidx)
385 struct c4iw_cq *chp = dev->cqid2ptr[i];
386 //pthread_spin_lock(&chp->lock);
387 dump_cq(chp);
388 //pthread_spin_unlock(&chp->lock);