Searched refs:c2_dev (Results 1 - 14 of 14) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/amso1100/
H A Dc2_vq.h50 extern int vq_init(struct c2_dev *c2dev);
51 extern void vq_term(struct c2_dev *c2dev);
53 extern struct c2_vq_req *vq_req_alloc(struct c2_dev *c2dev);
54 extern void vq_req_free(struct c2_dev *c2dev, struct c2_vq_req *req);
55 extern void vq_req_get(struct c2_dev *c2dev, struct c2_vq_req *req);
56 extern void vq_req_put(struct c2_dev *c2dev, struct c2_vq_req *req);
57 extern int vq_send_wr(struct c2_dev *c2dev, union c2wr * wr);
59 extern void *vq_repbuf_alloc(struct c2_dev *c2dev);
60 extern void vq_repbuf_free(struct c2_dev *c2dev, void *reply);
62 extern int vq_wait_for_reply(struct c2_dev *c2de
[all...]
H A Dc2_vq.c82 int vq_init(struct c2_dev *c2dev)
95 void vq_term(struct c2_dev *c2dev)
103 struct c2_vq_req *vq_req_alloc(struct c2_dev *c2dev)
124 void vq_req_free(struct c2_dev *c2dev, struct c2_vq_req *r)
135 void vq_req_get(struct c2_dev *c2dev, struct c2_vq_req *r)
151 void vq_req_put(struct c2_dev *c2dev, struct c2_vq_req *r)
165 void *vq_repbuf_alloc(struct c2_dev *c2dev)
178 int vq_send_wr(struct c2_dev *c2dev, union c2wr *wr)
244 int vq_wait_for_reply(struct c2_dev *c2dev, struct c2_vq_req *req)
257 void vq_repbuf_free(struct c2_dev *c2de
[all...]
H A Dc2.h288 struct c2_dev { struct
360 struct c2_dev *c2dev;
433 static inline struct c2_dev *to_c2dev(struct ib_device *ibdev)
435 return container_of(ibdev, struct c2_dev, ibdev);
483 extern int c2_register_device(struct c2_dev *c2dev);
484 extern void c2_unregister_device(struct c2_dev *c2dev);
485 extern int c2_rnic_init(struct c2_dev *c2dev);
486 extern void c2_rnic_term(struct c2_dev *c2dev);
487 extern void c2_rnic_interrupt(struct c2_dev *c2dev);
488 extern int c2_del_addr(struct c2_dev *c2de
[all...]
H A Dc2_pd.c42 int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd)
65 void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd)
72 int __devinit c2_init_pd_table(struct c2_dev *c2dev)
86 void __devexit c2_cleanup_pd_table(struct c2_dev *c2dev)
H A Dc2_intr.c37 static void handle_mq(struct c2_dev *c2dev, u32 index);
38 static void handle_vq(struct c2_dev *c2dev, u32 mq_index);
43 void c2_rnic_interrupt(struct c2_dev *c2dev)
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index)
115 static void handle_vq(struct c2_dev *c2dev, u32 mq_index)
H A Dc2_alloc.c40 static int c2_alloc_mqsp_chunk(struct c2_dev *c2dev, gfp_t gfp_mask,
72 int c2_init_mqsp_pool(struct c2_dev *c2dev, gfp_t gfp_mask,
78 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root)
90 u16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head,
H A Dc2_cq.c44 static struct c2_cq *c2_cq_get(struct c2_dev *c2dev, int cqn)
66 void c2_cq_event(struct c2_dev *c2dev, u32 mq_index)
80 void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index)
129 static inline int c2_poll_one(struct c2_dev *c2dev,
201 struct c2_dev *c2dev = to_c2dev(ibcq->device);
255 static void c2_free_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq)
261 static int c2_alloc_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq, int q_size,
284 int c2_init_cq(struct c2_dev *c2dev, int entries,
384 void c2_free_cq(struct c2_dev *c2dev, struct c2_cq *cq)
H A Dc2_cm.c41 struct c2_dev *c2dev = to_c2dev(cm_id->device);
131 struct c2_dev *c2dev;
217 struct c2_dev *c2dev;
283 struct c2_dev *c2dev = to_c2dev(cm_id->device);
389 struct c2_dev *c2dev;
H A Dc2_rnic.c80 static int c2_adapter_init(struct c2_dev *c2dev)
104 static void c2_adapter_term(struct c2_dev *c2dev)
122 static int c2_rnic_query(struct c2_dev *c2dev, struct ib_device_attr *props)
211 int c2_add_addr(struct c2_dev *c2dev, u32 inaddr, u32 inmask)
273 int c2_del_addr(struct c2_dev *c2dev, u32 inaddr, u32 inmask)
336 static int c2_rnic_open(struct c2_dev *c2dev)
390 static int c2_rnic_close(struct c2_dev *c2dev)
444 int __devinit c2_rnic_init(struct c2_dev *c2dev)
614 void __devexit c2_rnic_term(struct c2_dev *c2dev)
H A Dc2_qp.c133 int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp,
252 int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp,
301 static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp)
380 static int c2_alloc_qpn(struct c2_dev *c2dev, struct c2_qp *qp)
394 static void c2_free_qpn(struct c2_dev *c2dev, int qpn)
401 struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn)
412 int c2_alloc_qp(struct c2_dev *c2dev,
596 void c2_free_qp(struct c2_dev *c2dev, struct c2_qp *qp)
722 static inline void c2_activity(struct c2_dev *c2dev, u32 mq_index, u16 shared)
789 struct c2_dev *c2de
[all...]
H A Dc2_mm.c48 send_pbl_messages(struct c2_dev *c2dev, u32 stag_index,
172 c2_nsmr_register_phys_kern(struct c2_dev *c2dev, u64 *addr_list,
314 int c2_stag_dealloc(struct c2_dev *c2dev, u32 stag_index)
H A Dc2_provider.c68 struct c2_dev *c2dev = to_c2dev(ibdev);
120 struct c2_dev *c2dev = to_c2dev(ibdev);
228 struct c2_dev* c2dev = to_c2dev(device);
525 struct c2_dev *dev = container_of(cdev, struct c2_dev, ibdev.class_dev);
532 struct c2_dev *dev = container_of(cdev, struct c2_dev, ibdev.class_dev);
650 struct c2_dev *c2dev = netdev->priv;
675 struct c2_dev *c2dev = netdev->priv;
736 static struct net_device *c2_pseudo_netdev_init(struct c2_dev *c2de
[all...]
H A Dc2.c213 struct c2_dev *c2dev = c2_port->c2dev;
280 struct c2_dev *c2dev = c2_port->c2dev;
307 static inline int c2_tx_free(struct c2_dev *c2dev, struct c2_element *elem)
383 struct c2_dev *c2dev = c2_port->c2dev;
463 struct c2_dev *c2dev = c2_port->c2dev;
551 struct c2_dev *c2dev = (struct c2_dev *) dev_id;
588 struct c2_dev *c2dev = c2_port->c2dev;
694 struct c2_dev *c2dev = c2_port->c2dev;
734 struct c2_dev *c2de
[all...]
H A Dc2_ae.c147 void c2_ae_event(struct c2_dev *c2dev, u32 mq_index)
176 pr_debug("event received c2_dev=%p, event_id=%d, "

Completed in 99 milliseconds