Lines Matching refs:context
13 struct hns_roce_v2_cq_context *context) in hns_roce_fill_cq() argument
16 roce_get_field(context->byte_4_pg_ceqn, in hns_roce_fill_cq()
22 roce_get_field(context->byte_4_pg_ceqn, in hns_roce_fill_cq()
28 roce_get_field(context->byte_8_cqn, in hns_roce_fill_cq()
34 roce_get_field(context->byte_16_hop_addr, in hns_roce_fill_cq()
41 roce_get_field(context->byte_28_cq_pi, in hns_roce_fill_cq()
48 roce_get_field(context->byte_32_cq_ci, in hns_roce_fill_cq()
55 roce_get_field(context->byte_56_cqe_period_maxcnt, in hns_roce_fill_cq()
62 roce_get_field(context->byte_56_cqe_period_maxcnt, in hns_roce_fill_cq()
68 roce_get_field(context->byte_52_cqe_cnt, in hns_roce_fill_cq()
84 struct hns_roce_v2_cq_context *context; in hns_roce_fill_res_cq_entry() local
91 context = kzalloc(sizeof(struct hns_roce_v2_cq_context), GFP_KERNEL); in hns_roce_fill_res_cq_entry()
92 if (!context) in hns_roce_fill_res_cq_entry()
95 ret = hr_dev->dfx->query_cqc_info(hr_dev, hr_cq->cqn, (int *)context); in hns_roce_fill_res_cq_entry()
105 if (hns_roce_fill_cq(msg, context)) { in hns_roce_fill_res_cq_entry()
111 kfree(context); in hns_roce_fill_res_cq_entry()
118 kfree(context); in hns_roce_fill_res_cq_entry()