Lines Matching refs:mthca_dev

195 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp)  in is_sqp()
201 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0()
237 void mthca_qp_event(struct mthca_dev *dev, u32 qpn, in mthca_qp_event()
309 static void init_port(struct mthca_dev *dev, int port) in init_port()
396 static void to_rdma_ah_attr(struct mthca_dev *dev, in to_rdma_ah_attr()
432 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_query_qp()
521 static int mthca_path_set(struct mthca_dev *dev, const struct rdma_ah_attr *ah, in mthca_path_set()
559 struct mthca_dev *dev = to_mdev(ibqp->device); in __mthca_modify_qp()
857 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_modify_qp()
923 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
957 static void mthca_adjust_qp_caps(struct mthca_dev *dev, in mthca_adjust_qp_caps()
982 static int mthca_alloc_wqe_buf(struct mthca_dev *dev, in mthca_alloc_wqe_buf()
1074 static void mthca_free_wqe_buf(struct mthca_dev *dev, in mthca_free_wqe_buf()
1083 static int mthca_map_memfree(struct mthca_dev *dev, in mthca_map_memfree()
1115 static void mthca_unmap_memfree(struct mthca_dev *dev, in mthca_unmap_memfree()
1124 static int mthca_alloc_memfree(struct mthca_dev *dev, in mthca_alloc_memfree()
1144 static void mthca_free_memfree(struct mthca_dev *dev, in mthca_free_memfree()
1153 static int mthca_alloc_qp_common(struct mthca_dev *dev, in mthca_alloc_qp_common()
1242 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, in mthca_set_qp_size()
1281 int mthca_alloc_qp(struct mthca_dev *dev, in mthca_alloc_qp()
1355 int mthca_alloc_sqp(struct mthca_dev *dev, in mthca_alloc_sqp()
1422 static inline int get_qp_refcount(struct mthca_dev *dev, struct mthca_qp *qp) in get_qp_refcount()
1433 void mthca_free_qp(struct mthca_dev *dev, in mthca_free_qp()
1490 static int build_mlx_header(struct mthca_dev *dev, struct mthca_sqp *sqp, in build_mlx_header()
1617 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_send()
1820 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_receive()
1931 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_send()
2171 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_receive()
2239 void mthca_free_err_wqe(struct mthca_dev *dev, struct mthca_qp *qp, int is_send, in mthca_free_err_wqe()
2266 int mthca_init_qp_table(struct mthca_dev *dev) in mthca_init_qp_table()
2314 void mthca_cleanup_qp_table(struct mthca_dev *dev) in mthca_cleanup_qp_table()