Lines Matching refs:cpu_to_be32
158 wr.ord = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_modify()
159 wr.ird = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_modify()
160 wr.sq_depth = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_modify()
161 wr.rq_depth = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_modify()
170 wr.next_qp_state = cpu_to_be32(to_c2_state(attr->qp_state)); in c2_qp_modify()
195 cpu_to_be32(to_c2_state(attr->cur_qp_state)); in c2_qp_modify()
269 wr.ord = cpu_to_be32(ord); in c2_qp_set_read_limits()
270 wr.ird = cpu_to_be32(ird); in c2_qp_set_read_limits()
271 wr.sq_depth = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_set_read_limits()
272 wr.rq_depth = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_set_read_limits()
273 wr.next_qp_state = cpu_to_be32(C2_QP_NO_ATTR_CHANGE); in c2_qp_set_read_limits()
464 wr.sq_depth = cpu_to_be32(qp_attrs->cap.max_send_wr + 1); in c2_alloc_qp()
465 wr.rq_depth = cpu_to_be32(qp_attrs->cap.max_recv_wr + 1); in c2_alloc_qp()
467 wr.flags = cpu_to_be32(QP_RDMA_READ | QP_RDMA_WRITE | QP_MW_BIND | in c2_alloc_qp()
469 wr.send_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()
470 wr.recv_sgl_depth = cpu_to_be32(qp_attrs->cap.max_recv_sge); in c2_alloc_qp()
471 wr.rdma_write_sgl_depth = cpu_to_be32(qp_attrs->cap.max_send_sge); in c2_alloc_qp()
474 wr.ord = cpu_to_be32(C2_MAX_ORD_PER_QP); in c2_alloc_qp()
475 wr.ird = cpu_to_be32(C2_MAX_IRD_PER_QP); in c2_alloc_qp()
683 dst->stag = cpu_to_be32(src->lkey); in move_sgl()
685 dst->length = cpu_to_be32(src->length); in move_sgl()
771 ((c2wr_hdr_t *) wr)->magic = cpu_to_be32(CCWR_MAGIC); in qp_wr_post()
832 cpu_to_be32(ib_wr->ex.invalidate_rkey); in c2_post_send()
848 wr.sqwr.send.sge_len = cpu_to_be32(tot_len); in c2_post_send()
863 cpu_to_be32(ib_wr->wr.rdma.rkey); in c2_post_send()
871 wr.sqwr.rdma_write.sge_len = cpu_to_be32(tot_len); in c2_post_send()
888 cpu_to_be32(ib_wr->sg_list->lkey); in c2_post_send()
892 cpu_to_be32(ib_wr->wr.rdma.rkey); in c2_post_send()
896 cpu_to_be32(ib_wr->sg_list->length); in c2_post_send()