Lines Matching defs:hr_qp

47 	struct hns_roce_qp *hr_qp = container_of(flush_work,  in flush_work_handle()  local
72 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work()
130 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event()
214 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn()
275 struct hns_roce_qp *hr_qp, in add_qp_to_list()
298 struct hns_roce_qp *hr_qp, in hns_roce_qp_store()
318 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc()
382 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
401 static void free_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpc()
421 static void free_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpn()
440 static u32 proc_rq_sge(struct hns_roce_dev *dev, struct hns_roce_qp *hr_qp, in proc_rq_sge()
463 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
531 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
581 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
608 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
659 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
707 static int alloc_rq_inline_buf(struct hns_roce_qp *hr_qp, in alloc_rq_inline_buf()
743 static void free_rq_inline_buf(struct hns_roce_qp *hr_qp) in free_rq_inline_buf()
750 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
790 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
826 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
869 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
900 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
925 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
943 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
974 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
980 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1035 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1137 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1185 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp() local
1226 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1251 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr() local
1297 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp() local
1394 static inline void *get_wqe(struct hns_roce_qp *hr_qp, int offset) in get_wqe()
1399 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1404 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1409 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()