Home
last modified time | relevance | path

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

/drivers/infiniband/hw/amso1100/
Dc2.h286 struct c2_dev { struct
358 struct c2_dev *c2dev; argument
429 static inline struct c2_dev *to_c2dev(struct ib_device *ibdev) in to_c2dev()
431 return container_of(ibdev, struct c2_dev, ibdev); in to_c2dev()
479 extern int c2_register_device(struct c2_dev *c2dev);
480 extern void c2_unregister_device(struct c2_dev *c2dev);
481 extern int c2_rnic_init(struct c2_dev *c2dev);
482 extern void c2_rnic_term(struct c2_dev *c2dev);
483 extern void c2_rnic_interrupt(struct c2_dev *c2dev);
484 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_pd.c43 int c2_pd_alloc(struct c2_dev *c2dev, int privileged, struct c2_pd *pd) in c2_pd_alloc()
66 void c2_pd_free(struct c2_dev *c2dev, struct c2_pd *pd) in c2_pd_free()
73 int c2_init_pd_table(struct c2_dev *c2dev) in c2_init_pd_table()
87 void c2_cleanup_pd_table(struct c2_dev *c2dev) in c2_cleanup_pd_table()
Dc2_cq.c46 static struct c2_cq *c2_cq_get(struct c2_dev *c2dev, int cqn) in c2_cq_get()
68 void c2_cq_event(struct c2_dev *c2dev, u32 mq_index) in c2_cq_event()
82 void c2_cq_clean(struct c2_dev *c2dev, struct c2_qp *qp, u32 mq_index) in c2_cq_clean()
131 static inline int c2_poll_one(struct c2_dev *c2dev, in c2_poll_one()
203 struct c2_dev *c2dev = to_c2dev(ibcq->device); in c2_poll_cq()
257 static void c2_free_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq) in c2_free_cq_buf()
263 static int c2_alloc_cq_buf(struct c2_dev *c2dev, struct c2_mq *mq, int q_size, in c2_alloc_cq_buf()
286 int c2_init_cq(struct c2_dev *c2dev, int entries, in c2_init_cq()
386 void c2_free_cq(struct c2_dev *c2dev, struct c2_cq *cq) in c2_free_cq()
Dc2_alloc.c39 static int c2_alloc_mqsp_chunk(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_alloc_mqsp_chunk()
71 int c2_init_mqsp_pool(struct c2_dev *c2dev, gfp_t gfp_mask, in c2_init_mqsp_pool()
77 void c2_free_mqsp_pool(struct c2_dev *c2dev, struct sp_chunk *root) in c2_free_mqsp_pool()
89 __be16 *c2_alloc_mqsp(struct c2_dev *c2dev, struct sp_chunk *head, in c2_alloc_mqsp()
Dc2_qp.c134 int c2_qp_modify(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_modify()
253 int c2_qp_set_read_limits(struct c2_dev *c2dev, struct c2_qp *qp, in c2_qp_set_read_limits()
302 static int destroy_qp(struct c2_dev *c2dev, struct c2_qp *qp) in destroy_qp()
381 static int c2_alloc_qpn(struct c2_dev *c2dev, struct c2_qp *qp) in c2_alloc_qpn()
397 static void c2_free_qpn(struct c2_dev *c2dev, int qpn) in c2_free_qpn()
404 struct c2_qp *c2_find_qpn(struct c2_dev *c2dev, int qpn) in c2_find_qpn()
415 int c2_alloc_qp(struct c2_dev *c2dev, in c2_alloc_qp()
600 void c2_free_qp(struct c2_dev *c2dev, struct c2_qp *qp) in c2_free_qp()
726 static inline void c2_activity(struct c2_dev *c2dev, u32 mq_index, u16 shared) in c2_activity()
793 struct c2_dev *c2dev = to_c2dev(ibqp->device); in c2_post_send()
[all …]
Dc2_provider.c69 struct c2_dev *c2dev = to_c2dev(ibdev); in c2_query_device()
113 struct c2_dev *c2dev = to_c2dev(ibdev); in c2_query_gid()
221 struct c2_dev* c2dev = to_c2dev(device); in c2_get_qp()
521 struct c2_dev *c2dev = container_of(dev, struct c2_dev, ibdev.dev); in show_rev()
529 struct c2_dev *c2dev = container_of(dev, struct c2_dev, ibdev.dev); in show_fw_ver()
649 struct c2_dev *c2dev = netdev->ml_priv; in c2_pseudo_up()
674 struct c2_dev *c2dev = netdev->ml_priv; in c2_pseudo_down()
734 static struct net_device *c2_pseudo_netdev_init(struct c2_dev *c2dev) in c2_pseudo_netdev_init()
765 int c2_register_device(struct c2_dev *dev) in c2_register_device()
881 void c2_unregister_device(struct c2_dev *dev) in c2_unregister_device()
Dc2_rnic.c81 static int c2_adapter_init(struct c2_dev *c2dev) in c2_adapter_init()
105 static void c2_adapter_term(struct c2_dev *c2dev) in c2_adapter_term()
123 static int c2_rnic_query(struct c2_dev *c2dev, struct ib_device_attr *props) in c2_rnic_query()
212 int c2_add_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask) in c2_add_addr()
274 int c2_del_addr(struct c2_dev *c2dev, __be32 inaddr, __be32 inmask) in c2_del_addr()
337 static int c2_rnic_open(struct c2_dev *c2dev) in c2_rnic_open()
391 static int c2_rnic_close(struct c2_dev *c2dev) in c2_rnic_close()
445 int c2_rnic_init(struct c2_dev *c2dev) in c2_rnic_init()
614 void c2_rnic_term(struct c2_dev *c2dev) in c2_rnic_term()
Dc2.c211 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_alloc()
279 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_clean()
306 static inline int c2_tx_free(struct c2_dev *c2dev, struct c2_element *elem) in c2_tx_free()
382 struct c2_dev *c2dev = c2_port->c2dev; in c2_tx_interrupt()
464 struct c2_dev *c2dev = c2_port->c2dev; in c2_rx_interrupt()
551 struct c2_dev *c2dev = (struct c2_dev *) dev_id; in c2_interrupt()
588 struct c2_dev *c2dev = c2_port->c2dev; in c2_up()
694 struct c2_dev *c2dev = c2_port->c2dev; in c2_down()
734 struct c2_dev *c2dev = c2_port->c2dev; in c2_reset()
761 struct c2_dev *c2dev = c2_port->c2dev; in c2_xmit_frame()
[all …]
Dc2_cm.c43 struct c2_dev *c2dev = to_c2dev(cm_id->device); in c2_llp_connect()
133 struct c2_dev *c2dev; in c2_llp_service_create()
219 struct c2_dev *c2dev; in c2_llp_service_destroy()
285 struct c2_dev *c2dev = to_c2dev(cm_id->device); in c2_llp_accept()
391 struct c2_dev *c2dev; in c2_llp_reject()
Dc2_mm.c50 send_pbl_messages(struct c2_dev *c2dev, __be32 stag_index, in send_pbl_messages()
174 c2_nsmr_register_phys_kern(struct c2_dev *c2dev, u64 *addr_list, in c2_nsmr_register_phys_kern()
316 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()