Lines Matching refs:cq_uk
214 struct irdma_cq_uk *cq_uk = &cq->cq_uk; in irdma_puda_poll_info() local
227 cqe = IRDMA_GET_CURRENT_CQ_ELEM(&cq->cq_uk); in irdma_puda_poll_info()
230 if (valid_bit != cq_uk->polarity) in irdma_puda_poll_info()
240 peek_head = (cq_uk->cq_ring.head + 1) % cq_uk->cq_ring.size; in irdma_puda_poll_info()
241 ext_cqe = cq_uk->cq_base[peek_head].buf; in irdma_puda_poll_info()
246 if (polarity != cq_uk->polarity) in irdma_puda_poll_info()
252 IRDMA_RING_MOVE_HEAD_NOCHECK(cq_uk->cq_ring); in irdma_puda_poll_info()
253 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_info()
254 cq_uk->polarity = !cq_uk->polarity; in irdma_puda_poll_info()
256 IRDMA_RING_MOVE_TAIL(cq_uk->cq_ring); in irdma_puda_poll_info()
327 struct irdma_cq_uk *cq_uk = &cq->cq_uk; in irdma_puda_poll_cmpl() local
409 IRDMA_RING_MOVE_HEAD_NOCHECK(cq_uk->cq_ring); in irdma_puda_poll_cmpl()
410 if (!IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)) in irdma_puda_poll_cmpl()
411 cq_uk->polarity = !cq_uk->polarity; in irdma_puda_poll_cmpl()
413 IRDMA_RING_MOVE_TAIL(cq_uk->cq_ring); in irdma_puda_poll_cmpl()
414 set_64bit_val(cq_uk->shadow_area, 0, in irdma_puda_poll_cmpl()
415 IRDMA_RING_CURRENT_HEAD(cq_uk->cq_ring)); in irdma_puda_poll_cmpl()
736 set_64bit_val(wqe, 0, cq->cq_uk.cq_size); in irdma_puda_cq_wqe()
746 hdr = cq->cq_uk.cq_id | in irdma_puda_cq_wqe()