Home
last modified time | relevance | path

Searched refs:c4iw_dev (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/ofed/libcxgb4/
H A Dlibcxgb4.h53 struct c4iw_dev { struct
63 TAILQ_ENTRY(c4iw_dev) list; argument
67 static inline int dev_is_t6(struct c4iw_dev *dev) in dev_is_t6() argument
72 static inline int dev_is_t5(struct c4iw_dev *dev) in dev_is_t5()
77 static inline int dev_is_t4(struct c4iw_dev *dev) in dev_is_t4()
105 struct c4iw_dev *rhp;
116 struct c4iw_dev *rhp;
126 static inline struct c4iw_dev *to_c4iw_dev(struct ibv_device *ibdev) in to_c4iw_dev()
156 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qid) in get_qhp()
161 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 qid) in get_chp()
[all …]
H A Dverbs.c117 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in __c4iw_reg_mr()
153 struct c4iw_dev *dev = to_c4iw_dev(mr->pd->context->device); in c4iw_dereg_mr()
174 struct c4iw_dev *dev = to_c4iw_dev(context->device); in c4iw_create_cq()
265 struct c4iw_dev *dev = to_c4iw_dev(ibcq->context->device); in c4iw_destroy_cq()
315 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp_v0()
422 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in create_qp()
574 struct c4iw_dev *dev = to_c4iw_dev(pd->context->device); in c4iw_create_qp()
616 struct c4iw_dev *dev = to_c4iw_dev(ibqp->context->device); in c4iw_destroy_qp()
H A Ddev.c79 static TAILQ_HEAD(,c4iw_dev) devices = TAILQ_HEAD_INITIALIZER(devices);
112 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); in c4iw_alloc_context()
374 struct c4iw_dev *dev; in dump_state()
415 struct c4iw_dev *dev; in cxgb4_driver_init()
H A Dqp.c539 void c4iw_flush_qps(struct c4iw_dev *dev) in c4iw_flush_qps()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Diw_cxgbe.h266 struct c4iw_dev { struct
279 static inline struct c4iw_dev *to_c4iw_dev(struct ib_device *ibdev) in to_c4iw_dev() argument
281 return container_of(ibdev, struct c4iw_dev, ibdev); in to_c4iw_dev()
284 static inline struct c4iw_dev *rdev_to_c4iw_dev(struct c4iw_rdev *rdev) in rdev_to_c4iw_dev()
286 return container_of(rdev, struct c4iw_dev, rdev); in rdev_to_c4iw_dev()
289 static inline struct c4iw_cq *get_chp(struct c4iw_dev *rhp, u32 cqid) in get_chp()
294 static inline struct c4iw_qp *get_qhp(struct c4iw_dev *rhp, u32 qpid) in get_qhp()
299 static inline struct c4iw_mr *get_mhp(struct c4iw_dev *rhp, u32 mmid) in get_mhp()
304 static inline int _insert_handle(struct c4iw_dev *rhp, struct idr *idr, in _insert_handle()
324 static inline int insert_handle(struct c4iw_dev *rhp, struct idr *idr, in insert_handle()
[all …]
H A Ddevice.c195 c4iw_dealloc(struct c4iw_dev *iwsc) in c4iw_dealloc()
205 static struct c4iw_dev *
208 struct c4iw_dev *iwsc; in c4iw_alloc()
211 iwsc = (struct c4iw_dev *)ib_alloc_device(sizeof(*iwsc)); in c4iw_alloc()
275 struct c4iw_dev *iwsc; in c4iw_activate()
319 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_deactivate()
333 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_stop()
351 struct c4iw_dev *iwsc = sc->iwarp_softc; in c4iw_restart()
H A Dprovider.c96 struct c4iw_dev *rhp; in c4iw_dealloc_ucontext()
114 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); in c4iw_alloc_ucontext()
213 struct c4iw_dev *rhp = php->rhp; in c4iw_deallocate_pd()
229 struct c4iw_dev *rhp; in c4iw_allocate_pd()
233 rhp = (struct c4iw_dev *) ibdev; in c4iw_allocate_pd()
274 struct c4iw_dev *dev; in c4iw_query_gid()
295 struct c4iw_dev *dev = to_c4iw_dev(ibdev); in c4iw_query_device()
337 struct c4iw_dev *dev; in c4iw_query_port()
402 c4iw_register_device(struct c4iw_dev *dev) in c4iw_register_device()
513 c4iw_unregister_device(struct c4iw_dev *dev) in c4iw_unregister_device()
H A Dmem.c51 mr_exceeds_hw_limits(struct c4iw_dev *dev, u64 length) in mr_exceeds_hw_limits()
182 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in _c4iw_write_mem_dma()
372 static int register_mem(struct c4iw_dev *rhp, struct c4iw_pd *php, in register_mem()
408 struct c4iw_dev *rhp; in c4iw_get_dma_mr()
458 struct c4iw_dev *rhp; in c4iw_reg_user_mr()
556 struct c4iw_dev *rhp; in c4iw_alloc_mw()
594 struct c4iw_dev *rhp; in c4iw_dealloc_mw()
613 struct c4iw_dev *rhp; in c4iw_alloc_mr()
706 struct c4iw_dev *rhp; in c4iw_dereg_mr()
730 void c4iw_invalidate_mr(struct c4iw_dev *rhp, u32 rkey) in c4iw_invalidate_mr()
H A Dev.c95 static void dump_err_cqe(struct c4iw_dev *dev, struct t4_cqe *err_cqe) in dump_err_cqe()
118 static void post_qp_event(struct c4iw_dev *dev, struct c4iw_cq *chp, in post_qp_event()
157 void c4iw_ev_dispatch(struct c4iw_dev *dev, struct t4_cqe *err_cqe) in c4iw_ev_dispatch()
264 struct c4iw_dev *dev = iq->adapter->iwarp_softc; in c4iw_ev_handler()
H A Dqp.c70 static int alloc_ird(struct c4iw_dev *dev, u32 ird) in alloc_ird()
88 static void free_ird(struct c4iw_dev *dev, int ird) in free_ird()
106 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_qp()
130 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_qp()
576 struct c4iw_dev *rhp; in free_qp_work()
1248 rdma_fini(struct c4iw_dev *rhp, struct c4iw_qp *qhp, struct c4iw_ep *ep) in rdma_fini()
1343 static int rdma_init(struct c4iw_dev *rhp, struct c4iw_qp *qhp) in rdma_init()
1434 int c4iw_modify_qp(struct c4iw_dev *rhp, struct c4iw_qp *qhp, in c4iw_modify_qp()
1686 struct c4iw_dev *rhp; in c4iw_destroy_qp()
1715 struct c4iw_dev *rhp; in c4iw_create_qp()
[all …]
H A Dcq.c56 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in destroy_cq()
99 struct c4iw_dev *rhp = rdev_to_c4iw_dev(rdev); in create_cq()
910 struct c4iw_dev *rhp; in c4iw_create_cq()
H A Dcm.c435 struct c4iw_dev *rhp;
2405 struct c4iw_dev *h = to_c4iw_dev(cm_id->device); in c4iw_accept_cr()
2594 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_connect()
2705 struct c4iw_dev *dev = to_c4iw_dev(cm_id->device); in c4iw_create_listen()