/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/ |
H A D | ipath_cq.c | 62 if (head >= (unsigned) cq->ibcq.cqe) { 63 head = cq->ibcq.cqe; 69 if (cq->ibcq.event_handler) { 72 ev.device = cq->ibcq.device; 73 ev.element.cq = &cq->ibcq; 75 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); 109 to_idev(cq->ibcq.device)->n_wqe_errs++; 114 * @ibcq: the completion queue to poll 123 int ipath_poll_cq(struct ib_cq *ibcq, in argument 316 ipath_destroy_cq(struct ib_cq *ibcq) argument 344 ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 373 ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument [all...] |
H A D | ipath_verbs.h | 192 struct ib_uverbs_wc queue[1]; /* this is actually size ibcq.cqe + 1 */ 199 struct ib_cq ibcq; member in struct:ipath_cq 605 static inline struct ipath_cq *to_icq(struct ib_cq *ibcq) argument 607 return container_of(ibcq, struct ipath_cq, ibcq); 732 int ipath_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 738 int ipath_destroy_cq(struct ib_cq *ibcq); 740 int ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 742 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 41 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local 42 ibcq->comp_handler(ibcq, ibcq->cq_context); 48 struct ib_cq *ibcq; local 56 ibcq = &to_mibcq(cq)->ibcq; 57 if (ibcq->event_handler) { 58 event.device = ibcq 439 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 466 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument [all...] |
H A D | mlx4_ib.h | 81 struct ib_cq ibcq; member in struct:mlx4_ib_cq 186 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) argument 188 return container_of(ibcq, struct mlx4_ib_cq, ibcq); 244 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/ |
H A D | c2_provider.h | 92 struct ib_cq ibcq; member in struct:c2_cq 153 static inline struct c2_cq *to_c2cq(struct ib_cq *ibcq) argument 155 return container_of(ibcq, struct c2_cq, ibcq);
|
H A D | c2_cq.c | 76 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); 199 int c2_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 201 struct c2_dev *c2dev = to_c2dev(ibcq->device); 202 struct c2_cq *cq = to_c2cq(ibcq); 220 int c2_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 227 cq = to_c2cq(ibcq); 295 cq->ibcq.cqe = entries - 1;
|
H A D | c2_ae.c | 303 ib_event.element.cq = &cq->ibcq; 306 if (cq->ibcq.event_handler) 307 cq->ibcq.event_handler(&ib_event, 308 cq->ibcq.cq_context);
|
H A D | c2.h | 521 extern int c2_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 522 extern int c2_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
|
H A D | c2_provider.c | 314 return &cq->ibcq;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); 240 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); 264 event.element.cq = &cq->ibcq; 265 if (cq->ibcq.event_handler) 266 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); 300 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); 302 if (prod_index == cq->cons_index + cq->ibcq 663 mthca_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 750 mthca_arbel_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument [all...] |
H A D | mthca_provider.h | 202 struct ib_cq ibcq; member in struct:mthca_cq 324 static inline struct mthca_cq *to_mcq(struct ib_cq *ibcq) argument 326 return container_of(ibcq, struct mthca_cq, ibcq);
|
H A D | mthca_provider.c | 725 return &cq->ibcq; 788 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument 790 struct mthca_dev *dev = to_mdev(ibcq->device); 791 struct mthca_cq *cq = to_mcq(ibcq); 803 if (entries == ibcq->cqe + 1) { 845 tcqe = cq->ibcq.cqe; 847 cq->ibcq.cqe = cq->resize_buf->cqe; 859 ibcq->cqe = entries - 1;
|
H A D | mthca_dev.h | 496 int mthca_poll_cq(struct ib_cq *ibcq, int num_entries,
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/cxgb3/ |
H A D | iwch_ev.c | 80 event.device = chp->ibcq.device; 82 event.element.cq = &chp->ibcq; 171 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 187 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
|
H A D | iwch_provider.h | 102 struct ib_cq ibcq; member in struct:iwch_cq 111 static inline struct iwch_cq *to_iwch_cq(struct ib_cq *ibcq) argument 113 return container_of(ibcq, struct iwch_cq, ibcq); 332 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
H A D | iwch_cq.c | 186 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 194 chp = to_iwch_cq(ibcq);
|
H A D | iwch_provider.c | 191 chp->ibcq.cqe = (1 << chp->cq.size_log2) - 1; 202 iwch_destroy_cq(&chp->ibcq); 213 iwch_destroy_cq(&chp->ibcq); 225 return &chp->ibcq; 276 chp->ibcq.cqe = (1<<chp->cq.size_log2) - 1; 296 static int iwch_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument 305 chp = to_iwch_cq(ibcq);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/ |
H A D | ehca_main.c | 370 struct ib_cq *ibcq; local 380 ibcq = ib_create_cq(&shca->ib_device, NULL, NULL, (void*)(-1), 10, 0); 381 if (IS_ERR(ibcq)) { 383 return PTR_ERR(ibcq); 385 sport->ibcq_aqp1 = ibcq; 394 qp_init_attr.send_cq = ibcq; 395 qp_init_attr.recv_cq = ibcq;
|