Lines Matching defs:hr_qp
46 struct hns_roce_qp *hr_qp = container_of(flush_work, in flush_work_handle() local
71 void init_flush_work(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in init_flush_work()
128 static void hns_roce_ib_qp_event(struct hns_roce_qp *hr_qp, in hns_roce_ib_qp_event()
212 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpn()
244 struct hns_roce_qp *hr_qp, in add_qp_to_list()
267 struct hns_roce_qp *hr_qp, in hns_roce_qp_store()
287 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc()
346 static void qp_user_mmap_entry_remove(struct hns_roce_qp *hr_qp) in qp_user_mmap_entry_remove()
351 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
370 static void free_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpc()
385 static void free_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpn()
404 static u32 proc_rq_sge(struct hns_roce_dev *dev, struct hns_roce_qp *hr_qp, in proc_rq_sge()
427 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
484 static void update_inline_data(struct hns_roce_qp *hr_qp, in update_inline_data()
532 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
601 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
629 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
680 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
728 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
759 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
793 static int qp_mmap_entry(struct hns_roce_qp *hr_qp, in qp_mmap_entry()
823 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
866 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
897 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
934 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
954 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
985 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
991 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1047 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1149 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1197 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp() local
1238 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1263 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr() local
1309 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp() local
1406 static inline void *get_wqe(struct hns_roce_qp *hr_qp, u32 offset) in get_wqe()
1411 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1416 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1421 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()