Lines Matching refs:cq_context
745 free_mr->mr_free_cq->ib_cq.cq_context = NULL; in hns_roce_v1_rsv_lp_qp()
2078 struct hns_roce_cq_context *cq_context = NULL; in hns_roce_v1_write_cqc() local
2087 cq_context = mb_buf; in hns_roce_v1_write_cqc()
2088 memset(cq_context, 0, sizeof(*cq_context)); in hns_roce_v1_write_cqc()
2096 roce_set_field(cq_context->cqc_byte_4, in hns_roce_v1_write_cqc()
2099 roce_set_field(cq_context->cqc_byte_4, CQ_CONTEXT_CQC_BYTE_4_CQN_M, in hns_roce_v1_write_cqc()
2102 cq_context->cq_bt_l = cpu_to_le32((u32)dma_handle); in hns_roce_v1_write_cqc()
2104 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc()
2108 roce_set_field(cq_context->cqc_byte_12, in hns_roce_v1_write_cqc()
2112 roce_set_field(cq_context->cqc_byte_12, CQ_CONTEXT_CQC_BYTE_12_CEQN_M, in hns_roce_v1_write_cqc()
2115 cq_context->cur_cqe_ba0_l = cpu_to_le32((u32)(mtts[0])); in hns_roce_v1_write_cqc()
2117 roce_set_field(cq_context->cqc_byte_20, in hns_roce_v1_write_cqc()
2121 roce_set_field(cq_context->cqc_byte_20, in hns_roce_v1_write_cqc()
2129 roce_set_field(cq_context->cqc_byte_20, in hns_roce_v1_write_cqc()
2134 cq_context->cqe_tptr_addr_l = cpu_to_le32((u32)(tptr_dma_addr >> 12)); in hns_roce_v1_write_cqc()
2136 roce_set_field(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()
2139 roce_set_bit(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()
2141 roce_set_bit(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()
2143 roce_set_bit(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()
2145 roce_set_bit(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()
2149 roce_set_field(cq_context->cqc_byte_32, in hns_roce_v1_write_cqc()