Home
last modified time | relevance | path

Searched refs:ocrdma_cq (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/ocrdma/
H A Docrdma.h245 struct ocrdma_cq **cq_tbl;
260 struct ocrdma_cq *gsi_sqcq;
261 struct ocrdma_cq *gsi_rqcq;
315 struct ocrdma_cq { struct
404 struct ocrdma_cq *sq_cq;
411 struct ocrdma_cq *rq_cq;
471 static inline struct ocrdma_cq *get_ocrdma_cq(struct ib_cq *ibcq) in get_ocrdma_cq()
473 return container_of(ibcq, struct ocrdma_cq, ibcq); in get_ocrdma_cq()
496 static inline int is_cqe_valid(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe) in is_cqe_valid()
H A Docrdma_hw.h123 int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *,
125 void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq);
147 bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *, struct ocrdma_qp *);
148 bool ocrdma_is_qp_in_rq_flushlist(struct ocrdma_cq *, struct ocrdma_qp *);
H A Docrdma_main.c172 INIT_RDMA_OBJ_SIZE(ib_cq, ocrdma_cq, ibcq),
222 dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), in ocrdma_alloc_resources()
H A Docrdma_hw.c679 struct ocrdma_cq *cq = NULL; in ocrdma_dispatch_ibevent()
902 static struct ocrdma_cq *_ocrdma_qp_buddy_cq_handler(struct ocrdma_dev *dev, in _ocrdma_qp_buddy_cq_handler()
903 struct ocrdma_cq *cq, bool sq) in _ocrdma_qp_buddy_cq_handler()
907 struct ocrdma_cq *bcq = NULL; in _ocrdma_qp_buddy_cq_handler()
936 struct ocrdma_cq *cq) in ocrdma_qp_buddy_cq_handler()
939 struct ocrdma_cq *bcq = NULL; in ocrdma_qp_buddy_cq_handler()
968 struct ocrdma_cq *cq; in ocrdma_qp_cq_handler()
1779 int ocrdma_mbx_create_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq, in ocrdma_mbx_create_cq()
1884 void ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq) in ocrdma_mbx_destroy_cq()
2078 bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_sq_flushlist()
[all …]
H A Docrdma_verbs.c925 static int ocrdma_copy_cq_uresp(struct ocrdma_dev *dev, struct ocrdma_cq *cq, in ocrdma_copy_cq_uresp()
970 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_create_cq()
1017 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_resize_cq()
1027 static void ocrdma_flush_cq(struct ocrdma_cq *cq) in ocrdma_flush_cq()
1055 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_destroy_cq()
1588 static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq) in ocrdma_discard_cqes()
2739 static void ocrdma_change_cq_phase(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe, in ocrdma_change_cq_phase()
2751 static int ocrdma_poll_hwcq(struct ocrdma_cq *cq, int num_entries, in ocrdma_poll_hwcq()
2811 static int ocrdma_add_err_cqe(struct ocrdma_cq *cq, int num_entries, in ocrdma_add_err_cqe()
2840 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_poll_cq()
[all …]