Lines Matching refs:wqe_shift
75 return srq->queue.direct.buf + (n << srq->wqe_shift);
77 return srq->queue.page_list[(n << srq->wqe_shift) >> PAGE_SHIFT].buf +
78 ((n << srq->wqe_shift) & (PAGE_SIZE - 1));
102 context->wqe_base_ds = cpu_to_be64(1 << (srq->wqe_shift - 4));
131 context->logstride_usrpage = cpu_to_be32((srq->wqe_shift - 4) << 29);
142 mthca_buf_free(dev, srq->max << srq->wqe_shift, &srq->queue,
162 err = mthca_buf_alloc(dev, srq->max << srq->wqe_shift,
182 next->nda_op = htonl(((i + 1) << srq->wqe_shift) | 1);
189 (void *) scatter < wqe + (1 << srq->wqe_shift);
227 srq->wqe_shift = ilog2(ds);
462 ind = wqe_addr >> srq->wqe_shift;
468 last_free->nda_op = htonl((ind << srq->wqe_shift) | 1);
545 mthca_write64(first_ind << srq->wqe_shift, srq->srqn << 8,
560 mthca_write64(first_ind << srq->wqe_shift, (srq->srqn << 8) | nreq,