Lines Matching defs:hr_dev

58 static int alloc_cqn(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq)  in alloc_cqn()
89 static void free_cqn(struct hns_roce_dev *hr_dev, unsigned long cqn) in free_cqn()
103 static int hns_roce_create_cqc(struct hns_roce_dev *hr_dev, in hns_roce_create_cqc()
131 static int alloc_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in alloc_cqc()
173 static void free_cqc(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cqc()
198 static int alloc_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_buf()
219 static void free_cq_buf(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq) in free_cq_buf()
224 static int alloc_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in alloc_cq_db()
259 static void free_cq_db(struct hns_roce_dev *hr_dev, struct hns_roce_cq *hr_cq, in free_cq_db()
278 static int verify_cq_create_attr(struct hns_roce_dev *hr_dev, in verify_cq_create_attr()
316 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param() local
332 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size() local
358 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq() local
443 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq() local
454 void hns_roce_cq_completion(struct hns_roce_dev *hr_dev, u32 cqn) in hns_roce_cq_completion()
473 void hns_roce_cq_event(struct hns_roce_dev *hr_dev, u32 cqn, int event_type) in hns_roce_cq_event()
511 void hns_roce_init_cq_table(struct hns_roce_dev *hr_dev) in hns_roce_init_cq_table()
534 void hns_roce_cleanup_cq_table(struct hns_roce_dev *hr_dev) in hns_roce_cleanup_cq_table()