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()
227 static int alloc_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qpn()
260 struct hns_roce_qp *hr_qp, in add_qp_to_list()
283 struct hns_roce_qp *hr_qp, in hns_roce_qp_store()
303 static int alloc_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in alloc_qpc()
362 static void qp_user_mmap_entry_remove(struct hns_roce_qp *hr_qp) in qp_user_mmap_entry_remove()
367 void hns_roce_qp_remove(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in hns_roce_qp_remove()
386 static void free_qpc(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpc()
401 static void free_qpn(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qpn()
420 static u32 proc_rq_sge(struct hns_roce_dev *dev, struct hns_roce_qp *hr_qp, in proc_rq_sge()
443 struct hns_roce_qp *hr_qp, int has_rq, bool user) in set_rq_size()
500 static void update_inline_data(struct hns_roce_qp *hr_qp, in update_inline_data()
550 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
619 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
647 struct hns_roce_qp *hr_qp, in set_wqe_buf_attr()
698 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
746 static int alloc_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_buf()
777 static void free_qp_buf(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp) in free_qp_buf()
811 static int qp_mmap_entry(struct hns_roce_qp *hr_qp, in qp_mmap_entry()
841 struct hns_roce_qp *hr_qp, in alloc_user_qp_db()
884 struct hns_roce_qp *hr_qp, in alloc_kernel_qp_db()
915 static int alloc_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in alloc_qp_db()
952 static void free_qp_db(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in free_qp_db()
972 struct hns_roce_qp *hr_qp) in alloc_kernel_wrid()
1003 static void free_kernel_wrid(struct hns_roce_qp *hr_qp) in free_kernel_wrid()
1009 static int set_qp_param(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in set_qp_param()
1065 struct hns_roce_qp *hr_qp) in hns_roce_create_qp_common()
1167 void hns_roce_qp_destroy(struct hns_roce_dev *hr_dev, struct hns_roce_qp *hr_qp, in hns_roce_qp_destroy()
1215 struct hns_roce_qp *hr_qp = to_hr_qp(qp); in hns_roce_create_qp() local
1256 struct hns_roce_qp *hr_qp, in check_mtu_validate()
1281 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_check_qp_attr() local
1327 struct hns_roce_qp *hr_qp = to_hr_qp(ibqp); in hns_roce_modify_qp() local
1424 static inline void *get_wqe(struct hns_roce_qp *hr_qp, u32 offset) in get_wqe()
1429 void *hns_roce_get_recv_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_recv_wqe()
1434 void *hns_roce_get_send_wqe(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_send_wqe()
1439 void *hns_roce_get_extend_sge(struct hns_roce_qp *hr_qp, unsigned int n) in hns_roce_get_extend_sge()