Home
last modified time | relevance | path

Searched refs:mlx4_context (Results 1 – 8 of 8) sorted by relevance

/src/contrib/ofed/libmlx4/
H A Ddoorbell.h41 struct mlx4_context;
53 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset) in mlx4_write64()
60 static inline void mlx4_write64(uint32_t val[2], struct mlx4_context *ctx, int offset) in mlx4_write64()
H A Dmlx4.h123 struct mlx4_context { struct
314 static inline struct mlx4_context *to_mctx(struct ibv_context *ibctx) in to_mctx()
354 uint32_t *mlx4_alloc_db(struct mlx4_context *context, enum mlx4_db_type type);
355 void mlx4_free_db(struct mlx4_context *context, enum mlx4_db_type type, uint32_t *db);
450 struct mlx4_qp *mlx4_find_qp(struct mlx4_context *ctx, uint32_t qpn);
451 int mlx4_store_qp(struct mlx4_context *ctx, uint32_t qpn, struct mlx4_qp *qp);
452 void mlx4_clear_qp(struct mlx4_context *ctx, uint32_t qpn);
H A Ddbrec.c54 static struct mlx4_db_page *__add_page(struct mlx4_context *context, in __add_page()
87 uint32_t *mlx4_alloc_db(struct mlx4_context *context, enum mlx4_db_type type) in mlx4_alloc_db()
119 void mlx4_free_db(struct mlx4_context *context, enum mlx4_db_type type, uint32_t *db) in mlx4_free_db()
H A Dmlx4.c124 struct mlx4_context *context = to_mctx(ibv_ctx); in mlx4_map_internal_clock()
146 struct mlx4_context *context; in mlx4_init_context()
279 struct mlx4_context *context = to_mctx(ibv_ctx); in mlx4_uninit_context()
348 sizeof(struct mlx4_context) - sizeof(struct ibv_context); in mlx4_driver_init()
H A Dverbs.c72 struct mlx4_context *mctx = to_mctx(context); in mlx4_query_device_ex()
109 struct mlx4_context *ctx = to_mctx(context); in mlx4_read_clock()
158 struct mlx4_context *mctx = to_mctx(context); in mlx4_query_port()
175 struct mlx4_context *mctx = to_mctx(context); in query_port_cache()
457 struct mlx4_context *mctx = to_mctx(context); in create_cq()
795 struct mlx4_context *ctx = to_mctx(context); in mlx4_create_qp_ex()
H A Dqp.c216 struct mlx4_context *ctx; in mlx4_post_send()
742 struct mlx4_qp *mlx4_find_qp(struct mlx4_context *ctx, uint32_t qpn) in mlx4_find_qp()
752 int mlx4_store_qp(struct mlx4_context *ctx, uint32_t qpn, struct mlx4_qp *qp) in mlx4_store_qp()
768 void mlx4_clear_qp(struct mlx4_context *ctx, uint32_t qpn) in mlx4_clear_qp()
H A Dsrq.c308 struct mlx4_context *mctx = to_mctx(srq->context); in mlx4_destroy_xrc_srq()
H A Dcq.c247 struct mlx4_context *mctx; in mlx4_parse_cqe()