Home
last modified time | relevance | path

Searched refs:to_hr_cq (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/infiniband/hw/hns/
H A Dhns_roce_restrack.c13 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry()
45 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_fill_res_cq_entry_raw()
H A Dhns_roce_cq.c413 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_create_cq()
496 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_destroy_cq()
H A Dhns_roce_qp.c212 cqn = to_hr_cq(scq)->cqn; in get_least_load_bankid_for_qp()
288 hr_send_cq = send_cq ? to_hr_cq(send_cq) : NULL; in add_qp_to_list()
289 hr_recv_cq = recv_cq ? to_hr_cq(recv_cq) : NULL; in add_qp_to_list()
1562 hr_cq = to_hr_cq(ib_cq); in hns_roce_wq_overflow()
H A Dhns_roce_srq.c321 to_hr_cq(init_attr->ext.cq)->cqn : 0; in set_srq_ext_param()
H A Dhns_roce_hw_v2.c2763 free_mr->rsv_cq = to_hr_cq(cq); in free_mr_init_cq()
3746 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_req_notify_cq()
4095 struct hns_roce_cq *hr_cq = to_hr_cq(ibcq); in hns_roce_v2_poll_cq()
4376 return ib_cq ? to_hr_cq(ib_cq)->cqn : 0; in get_cqn()
5382 hns_roce_v2_cq_clean(to_hr_cq(ibqp->send_cq), in clear_qp()
5386 hns_roce_v2_cq_clean(to_hr_cq(ibqp->recv_cq), in clear_qp()
5731 send_cq = hr_qp->ibqp.send_cq ? to_hr_cq(hr_qp->ibqp.send_cq) : NULL; in hns_roce_v2_destroy_qp_common()
5732 recv_cq = hr_qp->ibqp.recv_cq ? to_hr_cq(hr_qp->ibqp.recv_cq) : NULL; in hns_roce_v2_destroy_qp_common()
6053 struct hns_roce_cq *hr_cq = to_hr_cq(cq); in hns_roce_v2_modify_cq()
H A Dhns_roce_device.h1081 static inline struct hns_roce_cq *to_hr_cq(struct ib_cq *ib_cq) in to_hr_cq() function
H A Dhns_roce_main.c1107 struct hns_roce_cq *hr_cq = to_hr_cq(cq); in check_and_get_armed_cq()