Lines Matching refs:cw
1888 hdr->cw |= (OCRDMA_FLAG_AH_VLAN_PR << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_ud_hdr()
1945 hdr->cw |= (OCRDMA_TYPE_INLINE << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1952 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_inline_sges()
1954 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_inline_sges()
2002 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_read()
2003 hdr->cw |= (OCRDMA_READ << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_read()
2004 hdr->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_read()
2036 hdr->cw |= (OCRDMA_FR_MR << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_build_reg()
2037 hdr->cw |= ((wqe_size / OCRDMA_WQE_STRIDE) << OCRDMA_WQE_SIZE_SHIFT); in ocrdma_build_reg()
2115 hdr->cw = 0; in ocrdma_post_send()
2117 hdr->cw |= (OCRDMA_FLAG_SIG << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_post_send()
2119 hdr->cw |= in ocrdma_post_send()
2122 hdr->cw |= in ocrdma_post_send()
2127 hdr->cw |= (OCRDMA_FLAG_IMM << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_post_send()
2131 hdr->cw |= (OCRDMA_SEND << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_post_send()
2135 hdr->cw |= (OCRDMA_FLAG_INV << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_post_send()
2136 hdr->cw |= (OCRDMA_SEND << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_post_send()
2141 hdr->cw |= (OCRDMA_FLAG_IMM << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_post_send()
2145 hdr->cw |= (OCRDMA_WRITE << OCRDMA_WQE_OPCODE_SHIFT); in ocrdma_post_send()
2152 hdr->cw |= in ocrdma_post_send()
2154 hdr->cw |= ((sizeof(struct ocrdma_hdr_wqe) + in ocrdma_post_send()
2175 ocrdma_cpu_to_le32(hdr, ((hdr->cw >> OCRDMA_WQE_SIZE_SHIFT) & in ocrdma_post_send()
2207 rqe->cw = ((wqe_size / OCRDMA_WQE_STRIDE) << in ocrdma_build_rqe()
2209 rqe->cw |= (OCRDMA_FLAG_SIG << OCRDMA_WQE_FLAGS_SHIFT); in ocrdma_build_rqe()
2210 rqe->cw |= (OCRDMA_TYPE_LKEY << OCRDMA_WQE_TYPE_SHIFT); in ocrdma_build_rqe()
2410 opcode = le32_to_cpu(hdr->cw) & OCRDMA_WQE_OPCODE_MASK; in ocrdma_update_wc()
2432 __func__, hdr->cw & OCRDMA_WQE_OPCODE_MASK); in ocrdma_update_wc()