Lines Matching refs:cqe
675 struct t3_cqe cqe; member
728 #define CQ_VLD_ENTRY(ptr,size_log2,cqe) (Q_GENBIT(ptr,size_log2) == \ argument
729 CQE_GENBIT(*cqe))
769 struct t3_cqe *cqe; in cxio_next_hw_cqe() local
771 cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2)); in cxio_next_hw_cqe()
772 if (CQ_VLD_ENTRY(cq->rptr, cq->size_log2, cqe)) in cxio_next_hw_cqe()
773 return cqe; in cxio_next_hw_cqe()
779 struct t3_cqe *cqe; in cxio_next_sw_cqe() local
782 cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2)); in cxio_next_sw_cqe()
783 return cqe; in cxio_next_sw_cqe()
790 struct t3_cqe *cqe; in cxio_next_cqe() local
793 cqe = cq->sw_queue + (Q_PTR2IDX(cq->sw_rptr, cq->size_log2)); in cxio_next_cqe()
794 return cqe; in cxio_next_cqe()
796 cqe = cq->queue + (Q_PTR2IDX(cq->rptr, cq->size_log2)); in cxio_next_cqe()
797 if (CQ_VLD_ENTRY(cq->rptr, cq->size_log2, cqe)) in cxio_next_cqe()
798 return cqe; in cxio_next_cqe()