Home
last modified time | relevance | path

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

/drivers/infiniband/hw/amso1100/
Dc2.h287 struct c2_dev { struct
359 struct c2_dev *c2dev; argument
432 static inline struct c2_dev *to_c2dev(struct ib_device *ibdev) in to_c2dev()
434 return container_of(ibdev, struct c2_dev, ibdev); in to_c2dev()
482 extern int c2_register_device(struct c2_dev *c2dev);
483 extern void c2_unregister_device(struct c2_dev *c2dev);
484 extern int c2_rnic_init(struct c2_dev *c2dev);
485 extern void c2_rnic_term(struct c2_dev *c2dev);
486 extern void c2_rnic_interrupt(struct c2_dev *c2dev);
487 extern int c2_del_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask);
[all …]
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 *c2dev, struct c2_vq_req *req);
Dc2_vq.c82 int vq_init(struct c2_dev *c2dev) in vq_init()
95 void vq_term(struct c2_dev *c2dev) in vq_term()
103 struct c2_vq_req *vq_req_alloc(struct c2_dev *c2dev) in vq_req_alloc()
124 void vq_req_free(struct c2_dev *c2dev, struct c2_vq_req *r) in vq_req_free()
135 void vq_req_get(struct c2_dev *c2dev, struct c2_vq_req *r) in vq_req_get()
151 void vq_req_put(struct c2_dev *c2dev, struct c2_vq_req *r) in vq_req_put()
165 void *vq_repbuf_alloc(struct c2_dev *c2dev) in vq_repbuf_alloc()
178 int vq_send_wr(struct c2_dev *c2dev, union c2wr *wr) in vq_send_wr()
244 int vq_wait_for_reply(struct c2_dev *c2dev, struct c2_vq_req *req) in vq_wait_for_reply()
257 void vq_repbuf_free(struct c2_dev *c2dev, void *reply) in vq_repbuf_free()
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) in c2_rnic_interrupt()
62 static void handle_mq(struct c2_dev *c2dev, u32 mq_index) in handle_mq()
115 static void handle_vq(struct c2_dev *c2dev, u32 mq_index) in handle_vq()
Dc2_cq.c44 static struct c2_cq *c2_cq_get(struct c2_dev *c2dev, int cqn) in c2_cq_get()
66 void c2_cq_event(struct c2_dev *c2dev, u32 mq_index) in c2_cq_event()
80 void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index) in c2_cq_clean()
129 static inline int c2_poll_one(struct c2_dev *c2dev, in c2_poll_one()
201 struct c2_dev *c2dev = to_c2dev(ibcq->device); in c2_poll_cq()
255 static void c2_free_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq) in c2_free_cq_buf()
261 static int c2_alloc_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq, int q_size, in c2_alloc_cq_buf()
284 int c2_init_cq(struct c2_dev *c2dev, int entries, in c2_init_cq()
384 void c2_free_cq(struct c2_dev *c2dev, struct c2_cq *cq) in c2_free_cq()
Dc2_pd.c42 int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd) in c2_pd_alloc()
65 void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd) in c2_pd_free()
72 int __devinit c2_init_pd_table(struct c2_dev *c2dev) in c2_init_pd_table()
86 void __devexit c2_cleanup_pd_table(struct c2_dev *c2dev) in c2_cleanup_pd_table()
Dc2_alloc.c40 static int c2_alloc_mqsp_chunk(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_alloc_mqsp_chunk()
72 int c2_init_mqsp_pool(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_init_mqsp_pool()
78 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) in c2_free_mqsp_pool()
90 __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head, in c2_alloc_mqsp()
Dc2_qp.c133 int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_modify()
252 int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_set_read_limits()
301 static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp) in destroy_qp()
380 static int c2_alloc_qpn(struct c2_dev *c2dev, struct c2_qp *qp) in c2_alloc_qpn()
394 static void c2_free_qpn(struct c2_dev *c2dev, int qpn) in c2_free_qpn()
401 struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn) in c2_find_qpn()
412 int c2_alloc_qp(struct c2_dev *c2dev, in c2_alloc_qp()
597 void c2_free_qp(struct c2_dev *c2dev, struct c2_qp *qp) in c2_free_qp()
723 static inline void c2_activity(struct c2_dev *c2dev, u32 mq_index, u16 shared) in c2_activity()
790 struct c2_dev *c2dev = to_c2dev(ibqp->device); in c2_post_send()
[all …]
Dc2_provider.c68 struct c2_dev *c2dev = to_c2dev(ibdev); in c2_query_device()
120 struct c2_dev *c2dev = to_c2dev(ibdev); in c2_query_gid()
228 struct c2_dev* c2dev = to_c2dev(device); in c2_get_qp()
528 struct c2_dev *c2dev = container_of(dev, struct c2_dev, ibdev.dev); in show_rev()
536 struct c2_dev *c2dev = container_of(dev, struct c2_dev, ibdev.dev); in show_fw_ver()
656 struct c2_dev *c2dev = netdev->ml_priv; in c2_pseudo_up()
681 struct c2_dev *c2dev = netdev->ml_priv; in c2_pseudo_down()
741 static struct net_device *c2_pseudo_netdev_init(struct c2_dev *c2dev) in c2_pseudo_netdev_init()
775 int c2_register_device(struct c2_dev *dev) in c2_register_device()
886 void c2_unregister_device(struct c2_dev *dev) in c2_unregister_device()
Dc2_rnic.c80 static int c2_adapter_init(struct c2_dev *c2dev) in c2_adapter_init()
104 static void c2_adapter_term(struct c2_dev *c2dev) in c2_adapter_term()
122 static int c2_rnic_query(struct c2_dev *c2dev, struct ib_device_attr *props) in c2_rnic_query()
211 int c2_add_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask) in c2_add_addr()
273 int c2_del_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask) in c2_del_addr()
336 static int c2_rnic_open(struct c2_dev *c2dev) in c2_rnic_open()
390 static int c2_rnic_close(struct c2_dev *c2dev) in c2_rnic_close()
444 int __devinit c2_rnic_init(struct c2_dev *c2dev) in c2_rnic_init()
614 void __devexit c2_rnic_term(struct c2_dev *c2dev) in c2_rnic_term()
Dc2.c213 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_alloc()
281 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_clean()
308 static inline int c2_tx_free(struct c2_dev *c2dev, struct c2_element *elem) in c2_tx_free()
384 struct c2_dev *c2dev = c2_port->c2dev; in c2_tx_interrupt()
466 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_interrupt()
554 struct c2_dev *c2dev = (struct c2_dev *) dev_id; in c2_interrupt()
591 struct c2_dev *c2dev = c2_port->c2dev; in c2_up()
697 struct c2_dev *c2dev = c2_port->c2dev; in c2_down()
737 struct c2_dev *c2dev = c2_port->c2dev; in c2_reset()
764 struct c2_dev *c2dev = c2_port->c2dev; in c2_xmit_frame()
[all …]
Dc2_cm.c41 struct c2_dev *c2dev = to_c2dev(cm_id->device); in c2_llp_connect()
131 struct c2_dev *c2dev; in c2_llp_service_create()
217 struct c2_dev *c2dev; in c2_llp_service_destroy()
283 struct c2_dev *c2dev = to_c2dev(cm_id->device); in c2_llp_accept()
389 struct c2_dev *c2dev; in c2_llp_reject()
Dc2_mm.c48 send_pbl_messages(struct c2_dev *c2dev, __be32 stag_index, in send_pbl_messages()
172 c2_nsmr_register_phys_kern(struct c2_dev *c2dev, u64 *addr_list, in c2_nsmr_register_phys_kern()
314 int c2_stag_dealloc(struct c2_dev *c2dev, u32 stag_index) in c2_stag_dealloc()
Dc2_ae.c147 void c2_ae_event(struct c2_dev *c2dev, u32 mq_index) in c2_ae_event()