Lines Matching refs:cpu_to_be32
208 *cq->set_ci_db = cpu_to_be32(cq->cons_index);
310 if (cqe->my_qpn == cpu_to_be32(qpn)) {
473 if (!(new_wqe & cpu_to_be32(0x3f)) || (!cqe->db_cnt && dbd))
748 db_rec[0] = cpu_to_be32(cq->cons_index);
749 db_rec[1] = cpu_to_be32((cq->cqn << 8) | (2 << 5) | (sn << 3) |
828 cq_context->flags = cpu_to_be32(MTHCA_CQ_STATUS_OK |
831 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24);
833 cq_context->logsize_usrpage |= cpu_to_be32(ctx->uar.index);
835 cq_context->logsize_usrpage |= cpu_to_be32(dev->driver_uar.index);
836 cq_context->error_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_ASYNC].eqn);
837 cq_context->comp_eqn = cpu_to_be32(dev->eq_table.eq[MTHCA_EQ_COMP].eqn);
838 cq_context->pd = cpu_to_be32(pdn);
839 cq_context->lkey = cpu_to_be32(cq->buf.mr.ibmr.lkey);
840 cq_context->cqn = cpu_to_be32(cq->cqn);
843 cq_context->ci_db = cpu_to_be32(cq->set_ci_db_index);
844 cq_context->state_db = cpu_to_be32(cq->arm_db_index);