Lines Matching defs:hr_dev

13 void hns_roce_srq_event(struct hns_roce_dev *hr_dev, u32 srqn, int event_type)  in hns_roce_srq_event()
38 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in hns_roce_ib_srq_event() local
63 static int alloc_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqn()
80 static void free_srqn(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqn()
85 static int hns_roce_create_srqc(struct hns_roce_dev *hr_dev, in hns_roce_create_srqc()
114 static int alloc_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in alloc_srqc()
146 static void free_srqc(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srqc()
166 static int alloc_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_idx()
210 static void free_srq_idx(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_idx()
219 static int alloc_srq_wqe_buf(struct hns_roce_dev *hr_dev, in alloc_srq_wqe_buf()
247 static void free_srq_wqe_buf(struct hns_roce_dev *hr_dev, in free_srq_wqe_buf()
294 struct hns_roce_dev *hr_dev = to_hr_dev(srq->ibsrq.device); in set_srq_basic_param() local
343 static int alloc_srq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_buf()
384 static void free_srq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq) in free_srq_buf()
406 static void free_srq_db(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in free_srq_db()
425 static int alloc_srq_db(struct hns_roce_dev *hr_dev, struct hns_roce_srq *srq, in alloc_srq_db()
468 struct hns_roce_dev *hr_dev = to_hr_dev(ib_srq->device); in hns_roce_create_srq() local
529 struct hns_roce_dev *hr_dev = to_hr_dev(ibsrq->device); in hns_roce_destroy_srq() local
540 void hns_roce_init_srq_table(struct hns_roce_dev *hr_dev) in hns_roce_init_srq_table()