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()
492 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
537 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
564 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
615 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
663 static int alloc_rq_inline_buf(struct hns_roce_qp *hr_qp, in alloc_rq_inline_buf()
699 static void free_rq_inline_buf(struct hns_roce_qp *hr_qp) in free_rq_inline_buf()
706 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
750 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
785 static int qp_mmap_entry(struct hns_roce_qp *hr_qp, in qp_mmap_entry()
815 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
858 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
889 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
926 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
946 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
977 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
983 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1038 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1140 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1188 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp() local
1229 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1254 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr() local
1300 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp() local
1397 static inline void *get_wqe(struct hns_roce_qp *hr_qp, u32 offset) in get_wqe()
1402 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1407 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1412 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()