Lines Matching refs:base_cq
1099 int siw_destroy_cq(struct ib_cq *base_cq, struct ib_udata *udata) in siw_destroy_cq() argument
1101 struct siw_cq *cq = to_siw_cq(base_cq); in siw_destroy_cq()
1102 struct siw_device *sdev = to_siw_dev(base_cq->device); in siw_destroy_cq()
1130 int siw_create_cq(struct ib_cq *base_cq, const struct ib_cq_init_attr *attr, in siw_create_cq() argument
1134 struct siw_device *sdev = to_siw_dev(base_cq->device); in siw_create_cq()
1135 struct siw_cq *cq = to_siw_cq(base_cq); in siw_create_cq()
1142 siw_dbg(base_cq->device, "too many CQ's\n"); in siw_create_cq()
1147 siw_dbg(base_cq->device, "CQ size error: %d\n", size); in siw_create_cq()
1152 cq->base_cq.cqe = size; in siw_create_cq()
1167 siw_dbg(base_cq->device, "new CQ [%u]\n", cq->id); in siw_create_cq()
1203 siw_dbg(base_cq->device, "CQ creation failed: %d", rv); in siw_create_cq()
1228 int siw_poll_cq(struct ib_cq *base_cq, int num_cqe, struct ib_wc *wc) in siw_poll_cq() argument
1230 struct siw_cq *cq = to_siw_cq(base_cq); in siw_poll_cq()
1257 int siw_req_notify_cq(struct ib_cq *base_cq, enum ib_cq_notify_flags flags) in siw_req_notify_cq() argument
1259 struct siw_cq *cq = to_siw_cq(base_cq); in siw_req_notify_cq()
1835 struct ib_cq *base_cq = &cq->base_cq; in siw_cq_event() local
1838 event.device = base_cq->device; in siw_cq_event()
1839 event.element.cq = base_cq; in siw_cq_event()
1841 if (base_cq->event_handler) { in siw_cq_event()
1843 base_cq->event_handler(&event, base_cq->cq_context); in siw_cq_event()