Lines Matching refs:cpu_to_le32

87 				cpu_to_le32(mgtvnic->nesvnic->max_frame_size);  in nes_replenish_mgt_rq()
90 cpu_to_le32((u32)bus_address); in nes_replenish_mgt_rq()
92 cpu_to_le32((u32)((u64)bus_address >> 32)); in nes_replenish_mgt_rq()
669 cpu_to_le32((u32)PCI_FUNC(nesdev->pcidev->devfn) << 24); in nes_chg_qh_handler()
681 nesqp->nesqp_context->hte_index = cpu_to_le32(nesqp->hte_index); in nes_chg_qh_handler()
682 nesqp->nesqp_context->ip0 = cpu_to_le32(0x7f000001); in nes_chg_qh_handler()
683 nesqp->nesqp_context->rcv_nxt = cpu_to_le32(nesqp->pau_rcv_nxt); in nes_chg_qh_handler()
950 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = cpu_to_le32( in nes_init_mgt_qp()
953 cqp_wqe->wqe_words[NES_CQP_WQE_ID_IDX] = cpu_to_le32( in nes_init_mgt_qp()
959 cqp_wqe->wqe_words[NES_CQP_CQ_WQE_CQ_CONTEXT_LOW_IDX] = cpu_to_le32((u32)(u64temp >> 1)); in nes_init_mgt_qp()
961 cpu_to_le32(((u32)((u64temp) >> 33)) & 0x7FFFFFFF); in nes_init_mgt_qp()
972 cpu_to_le32((u32)NES_MGT_CTX_SIZE | in nes_init_mgt_qp()
978 mgt_context->context_words[NES_NIC_CTX_MISC_IDX] |= cpu_to_le32(NES_NIC_BACK_STORE); in nes_init_mgt_qp()
981 mgt_context->context_words[NES_NIC_CTX_SQ_LOW_IDX] = cpu_to_le32((u32)u64temp); in nes_init_mgt_qp()
982 mgt_context->context_words[NES_NIC_CTX_SQ_HIGH_IDX] = cpu_to_le32((u32)(u64temp >> 32)); in nes_init_mgt_qp()
984 mgt_context->context_words[NES_NIC_CTX_RQ_LOW_IDX] = cpu_to_le32((u32)u64temp); in nes_init_mgt_qp()
985 mgt_context->context_words[NES_NIC_CTX_RQ_HIGH_IDX] = cpu_to_le32((u32)(u64temp >> 32)); in nes_init_mgt_qp()
987 cqp_wqe->wqe_words[NES_CQP_WQE_OPCODE_IDX] = cpu_to_le32(NES_CQP_CREATE_QP | in nes_init_mgt_qp()
989 cqp_wqe->wqe_words[NES_CQP_WQE_ID_IDX] = cpu_to_le32(mgtvnic->mgt.qp_id); in nes_init_mgt_qp()
1040 mgt_rqe->wqe_words[NES_NIC_RQ_WQE_LENGTH_1_0_IDX] = cpu_to_le32((u32)nesvnic->max_frame_size); in nes_init_mgt_qp()
1042 mgt_rqe->wqe_words[NES_NIC_RQ_WQE_FRAG0_LOW_IDX] = cpu_to_le32((u32)pmem); in nes_init_mgt_qp()
1043 mgt_rqe->wqe_words[NES_NIC_RQ_WQE_FRAG0_HIGH_IDX] = cpu_to_le32((u32)((u64)pmem >> 32)); in nes_init_mgt_qp()