Lines Matching refs:ib_cq
302 struct ib_device *ibdev = hr_cq->ib_cq.device; in get_cq_ucmd()
317 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cq_param()
321 hr_cq->ib_cq.cqe = cq_entries - 1; /* used as cqe index */ in set_cq_param()
333 struct hns_roce_dev *hr_dev = to_hr_dev(hr_cq->ib_cq.device); in set_cqe_size()
356 int hns_roce_create_cq(struct ib_cq *ib_cq, const struct ib_cq_init_attr *attr, in hns_roce_create_cq() argument
359 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_create_cq()
361 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_create_cq()
436 int hns_roce_destroy_cq(struct ib_cq *ib_cq, struct ib_udata *udata) in hns_roce_destroy_cq() argument
438 struct hns_roce_dev *hr_dev = to_hr_dev(ib_cq->device); in hns_roce_destroy_cq()
439 struct hns_roce_cq *hr_cq = to_hr_cq(ib_cq); in hns_roce_destroy_cq()
452 struct ib_cq *ibcq; in hns_roce_cq_completion()
463 ibcq = &hr_cq->ib_cq; in hns_roce_cq_completion()
473 struct ib_cq *ibcq; in hns_roce_cq_event()
492 ibcq = &hr_cq->ib_cq; in hns_roce_cq_event()