Lines Matching refs:mthca_dev
196 static int is_sqp(struct mthca_dev *dev, struct mthca_qp *qp) in is_sqp()
202 static int is_qp0(struct mthca_dev *dev, struct mthca_qp *qp) in is_qp0()
238 void mthca_qp_event(struct mthca_dev *dev, u32 qpn, in mthca_qp_event()
310 static void init_port(struct mthca_dev *dev, int port) in init_port()
397 static void to_rdma_ah_attr(struct mthca_dev *dev, in to_rdma_ah_attr()
433 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_query_qp()
522 static int mthca_path_set(struct mthca_dev *dev, const struct rdma_ah_attr *ah, in mthca_path_set()
562 struct mthca_dev *dev = to_mdev(ibqp->device); in __mthca_modify_qp()
861 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_modify_qp()
931 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
965 static void mthca_adjust_qp_caps(struct mthca_dev *dev, in mthca_adjust_qp_caps()
990 static int mthca_alloc_wqe_buf(struct mthca_dev *dev, in mthca_alloc_wqe_buf()
1083 static void mthca_free_wqe_buf(struct mthca_dev *dev, in mthca_free_wqe_buf()
1092 static int mthca_map_memfree(struct mthca_dev *dev, in mthca_map_memfree()
1124 static void mthca_unmap_memfree(struct mthca_dev *dev, in mthca_unmap_memfree()
1133 static int mthca_alloc_memfree(struct mthca_dev *dev, in mthca_alloc_memfree()
1153 static void mthca_free_memfree(struct mthca_dev *dev, in mthca_free_memfree()
1162 static int mthca_alloc_qp_common(struct mthca_dev *dev, in mthca_alloc_qp_common()
1252 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, in mthca_set_qp_size()
1291 int mthca_alloc_qp(struct mthca_dev *dev, in mthca_alloc_qp()
1366 int mthca_alloc_sqp(struct mthca_dev *dev, in mthca_alloc_sqp()
1434 static inline int get_qp_refcount(struct mthca_dev *dev, struct mthca_qp *qp) in get_qp_refcount()
1445 void mthca_free_qp(struct mthca_dev *dev, in mthca_free_qp()
1500 static int build_mlx_header(struct mthca_dev *dev, struct mthca_qp *qp, int ind, in build_mlx_header()
1628 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_send()
1826 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()
2165 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_receive()
2233 void mthca_free_err_wqe(struct mthca_dev *dev, struct mthca_qp *qp, int is_send, in mthca_free_err_wqe()
2260 int mthca_init_qp_table(struct mthca_dev *dev) in mthca_init_qp_table()
2308 void mthca_cleanup_qp_table(struct mthca_dev *dev) in mthca_cleanup_qp_table()