/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ipath/ |
H A D | ipath_cq.c | 63 if (head >= (unsigned) cq->ibcq.cqe) { 64 head = cq->ibcq.cqe; 70 if (cq->ibcq.event_handler) { 73 ev.device = cq->ibcq.device; 74 ev.element.cq = &cq->ibcq; 76 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); 115 to_idev(cq->ibcq.device)->n_wqe_errs++; 120 * @ibcq: the completion queue to poll 129 int ipath_poll_cq(struct ib_cq *ibcq, in argument 314 ipath_destroy_cq(struct ib_cq *ibcq) argument 342 ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 371 ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument [all...] |
H A D | ipath_verbs.h | 205 /* these are actually size ibcq.cqe + 1 */ 215 struct ib_cq ibcq; member in struct:ipath_cq 665 static inline struct ipath_cq *to_icq(struct ib_cq *ibcq) argument 667 return container_of(ibcq, struct ipath_cq, ibcq); 803 int ipath_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 809 int ipath_destroy_cq(struct ib_cq *ibcq); 811 int ipath_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 813 int ipath_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/qib/ |
H A D | qib_cq.c | 63 if (head >= (unsigned) cq->ibcq.cqe) { 64 head = cq->ibcq.cqe; 70 if (cq->ibcq.event_handler) { 73 ev.device = cq->ibcq.device; 74 ev.element.cq = &cq->ibcq; 76 cq->ibcq.event_handler(&ev, cq->ibcq.cq_context); 118 * @ibcq: the completion queue to poll 127 int qib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 129 struct qib_cq *cq = to_icq(ibcq); 320 qib_destroy_cq(struct ib_cq *ibcq) argument 348 qib_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 377 qib_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata) argument [all...] |
H A D | qib_verbs.h | 257 /* these are actually size ibcq.cqe + 1 */ 267 struct ib_cq ibcq; member in struct:qib_cq 771 static inline struct qib_cq *to_icq(struct ib_cq *ibcq) argument 773 return container_of(ibcq, struct qib_cq, ibcq); 952 int qib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 958 int qib_destroy_cq(struct ib_cq *ibcq); 960 int qib_req_notify_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags); 962 int qib_resize_cq(struct ib_cq *ibcq, int cqe, struct ib_udata *udata);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/cxgb4/ |
H A D | ev.c | 67 event.device = chp->ibcq.device; 69 event.element.cq = &chp->ibcq; 75 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context); 189 (*chp->ibcq.comp_handler)(&chp->ibcq, chp->ibcq.cq_context);
|
H A D | iw_cxgb4.h | 277 struct ib_cq ibcq; member in struct:c4iw_cq 285 static inline struct c4iw_cq *to_c4iw_cq(struct ib_cq *ibcq) argument 287 return container_of(ibcq, struct c4iw_cq, ibcq); 669 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc); 712 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
|
H A D | cq.c | 717 int c4iw_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 724 chp = to_c4iw_cq(ibcq); 823 chp->ibcq.cqe = entries - 2; 867 return &chp->ibcq; 887 int c4iw_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument 893 chp = to_c4iw_cq(ibcq);
|
H A D | qp.c | 927 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 938 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mlx4/ |
H A D | cq.c | 43 struct ib_cq *ibcq = &to_mibcq(cq)->ibcq; local 44 ibcq->comp_handler(ibcq, ibcq->cq_context); 50 struct ib_cq *ibcq; local 58 ibcq = &to_mibcq(cq)->ibcq; 59 if (ibcq->event_handler) { 60 event.device = ibcq 345 mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument 723 mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 750 mlx4_ib_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument [all...] |
H A D | mlx4_ib.h | 70 struct ib_cq ibcq; member in struct:mlx4_ib_cq 196 static inline struct mlx4_ib_cq *to_mcq(struct ib_cq *ibcq) argument 198 return container_of(ibcq, struct mlx4_ib_cq, ibcq); 263 int mlx4_ib_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata); 268 int mlx4_ib_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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 | 78 (*cq->ibcq.comp_handler) (&cq->ibcq, cq->ibcq.cq_context); 201 int c2_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 203 struct c2_dev *c2dev = to_c2dev(ibcq->device); 204 struct c2_cq *cq = to_c2cq(ibcq); 222 int c2_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags notify_flags) argument 229 cq = to_c2cq(ibcq); 297 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 | 518 extern int c2_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry); 519 extern int c2_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/mthca/ |
H A D | mthca_cq.c | 181 return cqe_sw(get_cqe(cq, cq->cons_index & cq->ibcq.cqe)); 235 cq->ibcq.comp_handler(&cq->ibcq, cq->ibcq.cq_context); 259 event.element.cq = &cq->ibcq; 260 if (cq->ibcq.event_handler) 261 cq->ibcq.event_handler(&event, cq->ibcq.cq_context); 295 cqe_sw(get_cqe(cq, prod_index & cq->ibcq.cqe)); 297 if (prod_index == cq->cons_index + cq->ibcq 661 mthca_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *entry) argument 743 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 | 734 return &cq->ibcq; 797 static int mthca_resize_cq(struct ib_cq *ibcq, int entries, struct ib_udata *udata) argument 799 struct mthca_dev *dev = to_mdev(ibcq->device); 800 struct mthca_cq *cq = to_mcq(ibcq); 812 if (entries == ibcq->cqe + 1) { 854 tcqe = cq->ibcq.cqe; 856 cq->ibcq.cqe = cq->resize_buf->cqe; 868 ibcq->cqe = entries - 1;
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/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); 182 (*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); 333 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc);
|
H A D | iwch_cq.c | 195 int iwch_poll_cq(struct ib_cq *ibcq, int num_entries, struct ib_wc *wc) argument 203 chp = to_iwch_cq(ibcq);
|
H A D | iwch_qp.c | 828 (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); 839 (*schp->ibcq.comp_handler)(&schp->ibcq, schp->ibcq.cq_context);
|
H A D | iwch_provider.c | 196 chp->ibcq.cqe = 1 << chp->cq.size_log2; 211 iwch_destroy_cq(&chp->ibcq); 222 iwch_destroy_cq(&chp->ibcq); 234 return &chp->ibcq; 285 chp->ibcq.cqe = (1<<chp->cq.size_log2) - 1; 305 static int iwch_arm_cq(struct ib_cq *ibcq, enum ib_cq_notify_flags flags) argument 314 chp = to_iwch_cq(ibcq);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/ |
H A D | nes_verbs.h | 112 struct ib_cq ibcq; member in struct:nes_cq
|
H A D | nes.h | 478 static inline struct nes_cq *to_nescq(struct ib_cq *ibcq) argument 480 return container_of(ibcq, struct nes_cq, ibcq);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/ehca/ |
H A D | ehca_main.c | 533 struct ib_cq *ibcq; local 543 ibcq = ib_create_cq(&shca->ib_device, NULL, NULL, (void *)(-1), 10, 0); 544 if (IS_ERR(ibcq)) { 546 return PTR_ERR(ibcq); 548 sport->ibcq_aqp1 = ibcq; 557 qp_init_attr.send_cq = ibcq; 558 qp_init_attr.recv_cq = ibcq;
|