Lines Matching refs:sq_ring
54 if (!qp->sq_ring.head) in i40iw_nop_1()
57 wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_nop_1()
62 peek_head = (qp->sq_ring.head + 1) % qp->sq_ring.size; in i40iw_nop_1()
99 sw_sq_head = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_post_wr()
114 qp->initial_ring.head = qp->sq_ring.head; in i40iw_qp_post_wr()
125 qp->initial_ring.head = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_ring_push_db()
149 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
159 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_qp_get_next_send_wqe()
164 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
171 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_qp_get_next_send_wqe()
174 *wqe_idx = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
178 I40IW_RING_MOVE_HEAD_BY_COUNT(qp->sq_ring, in i40iw_qp_get_next_send_wqe()
185 peek_head = I40IW_RING_GETCURRENT_HEAD(qp->sq_ring); in i40iw_qp_get_next_send_wqe()
826 if (!wqe_idx && (qp->sq_ring.head == qp->sq_ring.tail)) { in i40iw_cq_poll_completion()
845 I40IW_RING_SET_TAIL(qp->sq_ring, (wqe_idx + addl_wqes)); in i40iw_cq_poll_completion()
851 tail = qp->sq_ring.tail; in i40iw_cq_poll_completion()
857 I40IW_RING_SET_TAIL(qp->sq_ring, (tail + addl_wqes)); in i40iw_cq_poll_completion()
865 pring = &qp->sq_ring; in i40iw_cq_poll_completion()
1020 I40IW_RING_INIT(qp->sq_ring, sq_ring_size); in i40iw_qp_uk_init()
1022 I40IW_RING_MOVE_HEAD(qp->sq_ring, ret_code); in i40iw_qp_uk_init()
1023 I40IW_RING_MOVE_TAIL(qp->sq_ring); in i40iw_qp_uk_init()