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_ib_ah_attr(struct mthca_dev *dev, struct ib_ah_attr *ib_ah_attr, in to_ib_ah_attr()
427 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_query_qp()
515 static int mthca_path_set(struct mthca_dev *dev, const struct ib_ah_attr *ah, in mthca_path_set()
547 struct mthca_dev *dev = to_mdev(ibqp->device); in __mthca_modify_qp()
845 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_modify_qp()
911 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
945 static void mthca_adjust_qp_caps(struct mthca_dev *dev, in mthca_adjust_qp_caps()
970 static int mthca_alloc_wqe_buf(struct mthca_dev *dev, in mthca_alloc_wqe_buf()
1062 static void mthca_free_wqe_buf(struct mthca_dev *dev, in mthca_free_wqe_buf()
1071 static int mthca_map_memfree(struct mthca_dev *dev, in mthca_map_memfree()
1103 static void mthca_unmap_memfree(struct mthca_dev *dev, in mthca_unmap_memfree()
1112 static int mthca_alloc_memfree(struct mthca_dev *dev, in mthca_alloc_memfree()
1132 static void mthca_free_memfree(struct mthca_dev *dev, in mthca_free_memfree()
1141 static int mthca_alloc_qp_common(struct mthca_dev *dev, in mthca_alloc_qp_common()
1230 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, in mthca_set_qp_size()
1269 int mthca_alloc_qp(struct mthca_dev *dev, in mthca_alloc_qp()
1343 int mthca_alloc_sqp(struct mthca_dev *dev, in mthca_alloc_sqp()
1410 static inline int get_qp_refcount(struct mthca_dev *dev, struct mthca_qp *qp) in get_qp_refcount()
1421 void mthca_free_qp(struct mthca_dev *dev, in mthca_free_qp()
1478 static int build_mlx_header(struct mthca_dev *dev, struct mthca_sqp *sqp, in build_mlx_header()
1605 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_send()
1808 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_receive()
1919 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_send()
2159 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_receive()
2227 void mthca_free_err_wqe(struct mthca_dev *dev, struct mthca_qp *qp, int is_send, in mthca_free_err_wqe()
2254 int mthca_init_qp_table(struct mthca_dev *dev) in mthca_init_qp_table()
2302 void mthca_cleanup_qp_table(struct mthca_dev *dev) in mthca_cleanup_qp_table()