Lines Matching refs:be32_to_cpu
402 ib_ah_attr->port_num = (be32_to_cpu(path->port_pkey) >> 24) & 0x3;
408 ib_ah_attr->sl = be32_to_cpu(path->sl_tclass_flowlabel) >> 28;
418 (be32_to_cpu(path->sl_tclass_flowlabel) >> 20) & 0xff;
420 be32_to_cpu(path->sl_tclass_flowlabel) & 0xfffff;
462 mthca_state = be32_to_cpu(context->flags) >> 28;
468 to_ib_mig_state((be32_to_cpu(context->flags) >> 11) & 0x3);
469 qp_attr->qkey = be32_to_cpu(context->qkey);
470 qp_attr->rq_psn = be32_to_cpu(context->rnr_nextrecvpsn) & 0xffffff;
471 qp_attr->sq_psn = be32_to_cpu(context->next_send_psn) & 0xffffff;
472 qp_attr->dest_qp_num = be32_to_cpu(context->remote_qpn) & 0xffffff;
474 to_ib_qp_access_flags(be32_to_cpu(context->params2));
480 be32_to_cpu(context->alt_path.port_pkey) & 0x7f;
484 qp_attr->pkey_index = be32_to_cpu(context->pri_path.port_pkey) & 0x7f;
486 (be32_to_cpu(context->pri_path.port_pkey) >> 24) & 0x3;
491 qp_attr->max_rd_atomic = 1 << ((be32_to_cpu(context->params1) >> 21) & 0x7);
494 1 << ((be32_to_cpu(context->params2) >> 21) & 0x7);
496 (be32_to_cpu(context->rnr_nextrecvpsn) >> 24) & 0x1f;
498 qp_attr->retry_cnt = (be32_to_cpu(context->params1) >> 16) & 0x7;