/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.h | 36 int ocrdma_poll_cq(struct ib_cq *, int num_entries, struct ib_wc *wc); 37 int ocrdma_arm_cq(struct ib_cq *, enum ib_cq_notify_flags flags); 59 struct ib_cq *ocrdma_create_cq(struct ib_device *, int entries, int vector, 61 int ocrdma_resize_cq(struct ib_cq *, int cqe, struct ib_udata *); 62 int ocrdma_destroy_cq(struct ib_cq *);
|
D | ocrdma.h | 177 struct ib_cq ibcq; 368 static inline struct ocrdma_cq *get_ocrdma_cq(struct ib_cq *ibcq) in get_ocrdma_cq()
|
/drivers/infiniband/hw/ehca/ |
D | ehca_cq.c | 65 ehca_dbg(cq->ib_cq.device, "cq_num=%x real_qp_num=%x", in ehca_cq_assign_qp() 84 ehca_dbg(cq->ib_cq.device, in ehca_cq_unassign_qp() 93 ehca_err(cq->ib_cq.device, in ehca_cq_unassign_qp() 116 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector, in ehca_create_cq() 121 struct ib_cq *cq; in ehca_create_cq() 161 cq = &my_cq->ib_cq; in ehca_create_cq() 261 my_cq->ib_cq.cqe = my_cq->nr_of_entries = in ehca_create_cq() 313 int ehca_destroy_cq(struct ib_cq *cq) in ehca_destroy_cq() 316 struct ehca_cq *my_cq = container_of(cq, struct ehca_cq, ib_cq); in ehca_destroy_cq() 368 int ehca_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) in ehca_resize_cq()
|
D | ehca_uverbs.c | 168 ehca_dbg(cq->ib_cq.device, "cq_num=%x fw", cq->cq_number); in ehca_mmap_cq() 171 ehca_err(cq->ib_cq.device, in ehca_mmap_cq() 179 ehca_dbg(cq->ib_cq.device, "cq_num=%x queue", cq->cq_number); in ehca_mmap_cq() 182 ehca_err(cq->ib_cq.device, in ehca_mmap_cq() 190 ehca_err(cq->ib_cq.device, "bad resource type=%x cq_num=%x", in ehca_mmap_cq() 269 if (!cq->ib_cq.uobject || cq->ib_cq.uobject->context != context) in ehca_mmap() 274 ehca_err(cq->ib_cq.device, in ehca_mmap()
|
D | ehca_iverbs.h | 129 struct ib_cq *ehca_create_cq(struct ib_device *device, int cqe, int comp_vector, 133 int ehca_destroy_cq(struct ib_cq *cq); 135 int ehca_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata); 137 int ehca_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc); 139 int ehca_peek_cq(struct ib_cq *cq, int wc_cnt); 141 int ehca_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags notify_flags);
|
D | ehca_reqs.c | 625 static inline int ehca_poll_cq_one(struct ib_cq *cq, struct ib_wc *wc) in ehca_poll_cq_one() 628 struct ehca_cq *my_cq = container_of(cq, struct ehca_cq, ib_cq); in ehca_poll_cq_one() 798 static int generate_flush_cqes(struct ehca_qp *my_qp, struct ib_cq *cq, in generate_flush_cqes() 872 int ehca_poll_cq(struct ib_cq *cq, int num_entries, struct ib_wc *wc) in ehca_poll_cq() 874 struct ehca_cq *my_cq = container_of(cq, struct ehca_cq, ib_cq); in ehca_poll_cq() 929 int ehca_req_notify_cq(struct ib_cq *cq, enum ib_cq_notify_flags notify_flags) in ehca_req_notify_cq() 931 struct ehca_cq *my_cq = container_of(cq, struct ehca_cq, ib_cq); in ehca_req_notify_cq()
|
D | ehca_classes.h | 97 struct ib_cq *ibcq_aqp1; 238 struct ib_cq ib_cq; member
|
D | ehca_irq.c | 79 if (!cq->ib_cq.comp_handler) in comp_event_callback() 83 cq->ib_cq.comp_handler(&cq->ib_cq, cq->ib_cq.cq_context); in comp_event_callback()
|
/drivers/infiniband/hw/mlx4/ |
D | mlx4_ib.h | 87 struct ib_cq *cq; 102 struct ib_cq ibcq; 378 struct ib_cq *cq; 526 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) in to_mcq() 604 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period); 605 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata); 606 struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector, 609 int mlx4_ib_destroy_cq(struct ib_cq *cq); 610 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 611 int mlx4_ib_arm_cq(struct ib_cq *cq, enum ib_cq_notify_flags flags);
|
D | cq.c | 44 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; in mlx4_ib_cq_comp() 51 struct ib_cq *ibcq; in mlx4_ib_cq_event() 92 int mlx4_ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in mlx4_ib_modify_cq() 169 struct ib_cq *mlx4_ib_create_cq(struct ib_device *ibdev, int entries, int vector, in mlx4_ib_create_cq() 358 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) in mlx4_ib_resize_cq() 455 int mlx4_ib_destroy_cq(struct ib_cq *cq) in mlx4_ib_destroy_cq() 801 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in mlx4_ib_poll_cq() 827 int mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in mlx4_ib_arm_cq()
|
/drivers/infiniband/hw/qib/ |
D | qib_cq.c | 128 int qib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) in qib_poll_cq() 207 struct ib_cq *qib_create_cq(struct ib_device *ibdev, int entries, in qib_create_cq() 214 struct ib_cq *ret; in qib_create_cq() 321 int qib_destroy_cq(struct ib_cq *ibcq) in qib_destroy_cq() 349 int qib_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) in qib_req_notify_cq() 378 int qib_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) in qib_resize_cq()
|
D | qib_verbs.h | 269 struct ib_cq ibcq; 804 static inline struct qib_cq *to_icq(struct ib_cq *ibcq) in to_icq() 977 int qib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 979 struct ib_cq *qib_create_cq(struct ib_device *ibdev, int entries, 983 int qib_destroy_cq(struct ib_cq *ibcq); 985 int qib_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 987 int qib_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
/drivers/infiniband/hw/ipath/ |
D | ipath_cq.c | 129 int ipath_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) in ipath_poll_cq() 200 struct ib_cq *ipath_create_cq(struct ib_device *ibdev, int entries, int comp_vector, in ipath_create_cq() 207 struct ib_cq *ret; in ipath_create_cq() 314 int ipath_destroy_cq(struct ib_cq *ibcq) in ipath_destroy_cq() 342 int ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) in ipath_req_notify_cq() 371 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) in ipath_resize_cq()
|
D | ipath_verbs.h | 215 struct ib_cq ibcq; 670 static inline struct ipath_cq *to_icq(struct ib_cq *ibcq) in to_icq() 808 int ipath_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 810 struct ib_cq *ipath_create_cq(struct ib_device *ibdev, int entries, int comp_vector, 814 int ipath_destroy_cq(struct ib_cq *ibcq); 816 int ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 818 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 709 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) in c4iw_poll_cq() 730 int c4iw_destroy_cq(struct ib_cq *ib_cq) in c4iw_destroy_cq() argument 735 PDBG("%s ib_cq %p\n", __func__, ib_cq); in c4iw_destroy_cq() 736 chp = to_c4iw_cq(ib_cq); in c4iw_destroy_cq() 742 ucontext = ib_cq->uobject ? to_c4iw_ucontext(ib_cq->uobject->context) in c4iw_destroy_cq() 750 struct ib_cq *c4iw_create_cq(struct ib_device *ibdev, int entries, in c4iw_create_cq() 879 int c4iw_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata) in c4iw_resize_cq() 884 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) in c4iw_arm_cq()
|
D | iw_cxgb4.h | 381 struct ib_cq ibcq; 390 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) in to_c4iw_cq() 860 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 897 int c4iw_destroy_cq(struct ib_cq *ib_cq); 898 struct ib_cq *c4iw_create_cq(struct ib_device *ibdev, int entries, 902 int c4iw_resize_cq(struct ib_cq *cq, int cqe, struct ib_udata *udata); 903 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
|
/drivers/infiniband/hw/amso1100/ |
D | c2_provider.h | 92 struct ib_cq ibcq; 153 static inline struct c2_cq *to_c2cq(struct ib_cq *ibcq) in to_c2cq()
|
D | c2_provider.c | 289 static struct ib_cq *c2_create_cq(struct ib_device *ibdev, int entries, int vector, in c2_create_cq() 312 static int c2_destroy_cq(struct ib_cq *ib_cq) in c2_destroy_cq() argument 314 struct c2_cq *cq = to_c2cq(ib_cq); in c2_destroy_cq() 318 c2_free_cq(to_c2dev(ib_cq->device), cq); in c2_destroy_cq()
|
/drivers/infiniband/ulp/isert/ |
D | ib_isert.h | 126 struct ib_cq *dev_rx_cq[ISERT_MAX_CQ]; 127 struct ib_cq *dev_tx_cq[ISERT_MAX_CQ];
|
/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 133 struct ib_cq *send_cq ____cacheline_aligned_in_smp; 134 struct ib_cq *recv_cq;
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 102 struct ib_cq ibcq; 112 static inline struct iwch_cq *to_iwch_cq(struct ib_cq *ibcq) in to_iwch_cq() 334 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
/drivers/infiniband/hw/mthca/ |
D | mthca_provider.h | 202 struct ib_cq ibcq; 324 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) in to_mcq()
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib.h | 328 struct ib_cq *recv_cq; 329 struct ib_cq *send_cq; 445 void ipoib_ib_completion(struct ib_cq *cq, void *dev_ptr); 446 void ipoib_send_comp_handler(struct ib_cq *cq, void *dev_ptr);
|
/drivers/infiniband/core/ |
D | verbs.c | 318 struct ib_cq *uninitialized_var(cq); in ib_destroy_srq() 875 struct ib_cq *scq, *rcq; in ib_destroy_qp() 908 struct ib_cq *ib_create_cq(struct ib_device *device, in ib_create_cq() 913 struct ib_cq *cq; in ib_create_cq() 930 int ib_modify_cq(struct ib_cq *cq, u16 cq_count, u16 cq_period) in ib_modify_cq() 937 int ib_destroy_cq(struct ib_cq *cq) in ib_destroy_cq() 946 int ib_resize_cq(struct ib_cq *cq, int cqe) in ib_resize_cq()
|
/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.h | 252 struct ib_cq *rx_cq[ISER_MAX_CQ]; 253 struct ib_cq *tx_cq[ISER_MAX_CQ];
|