Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/ocrdma/
Docrdma.h247 struct ocrdma_cq **cq_tbl;
262 struct ocrdma_cq *gsi_sqcq;
263 struct ocrdma_cq *gsi_rqcq;
317 struct ocrdma_cq { struct
406 struct ocrdma_cq *sq_cq;
413 struct ocrdma_cq *rq_cq;
473 static inline struct ocrdma_cq *get_ocrdma_cq(struct ib_cq *ibcq) in get_ocrdma_cq()
475 return container_of(ibcq, struct ocrdma_cq, ibcq); in get_ocrdma_cq()
498 static inline int is_cqe_valid(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe) in is_cqe_valid()
Docrdma_hw.h123 int ocrdma_mbx_create_cq(struct ocrdma_dev *, struct ocrdma_cq *,
125 int ocrdma_mbx_destroy_cq(struct ocrdma_dev *, struct ocrdma_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 *);
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()
1786 int ocrdma_mbx_create_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq, in ocrdma_mbx_create_cq()
1891 int ocrdma_mbx_destroy_cq(struct ocrdma_dev *dev, struct ocrdma_cq *cq) in ocrdma_mbx_destroy_cq()
2086 bool ocrdma_is_qp_in_sq_flushlist(struct ocrdma_cq *cq, struct ocrdma_qp *qp) in ocrdma_is_qp_in_sq_flushlist()
[all …]
Docrdma_verbs.c993 static int ocrdma_copy_cq_uresp(struct ocrdma_dev *dev, struct ocrdma_cq *cq, in ocrdma_copy_cq_uresp()
1035 struct ocrdma_cq *cq; in ocrdma_create_cq()
1088 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_resize_cq()
1098 static void ocrdma_flush_cq(struct ocrdma_cq *cq) in ocrdma_flush_cq()
1126 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_destroy_cq()
1662 static void ocrdma_discard_cqes(struct ocrdma_qp *qp, struct ocrdma_cq *cq) in ocrdma_discard_cqes()
2823 static void ocrdma_change_cq_phase(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe, in ocrdma_change_cq_phase()
2835 static int ocrdma_poll_hwcq(struct ocrdma_cq *cq, int num_entries, in ocrdma_poll_hwcq()
2895 static int ocrdma_add_err_cqe(struct ocrdma_cq *cq, int num_entries, in ocrdma_add_err_cqe()
2924 struct ocrdma_cq *cq = get_ocrdma_cq(ibcq); in ocrdma_poll_cq()
[all …]
Docrdma_main.c223 dev->cq_tbl = kcalloc(OCRDMA_MAX_CQ, sizeof(struct ocrdma_cq *), in ocrdma_alloc_resources()