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()
928 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
962 static void mthca_adjust_qp_caps(struct mthca_dev *dev, in mthca_adjust_qp_caps()
987 static int mthca_alloc_wqe_buf(struct mthca_dev *dev, in mthca_alloc_wqe_buf()
1080 static void mthca_free_wqe_buf(struct mthca_dev *dev, in mthca_free_wqe_buf()
1089 static int mthca_map_memfree(struct mthca_dev *dev, in mthca_map_memfree()
1121 static void mthca_unmap_memfree(struct mthca_dev *dev, in mthca_unmap_memfree()
1130 static int mthca_alloc_memfree(struct mthca_dev *dev, in mthca_alloc_memfree()
1150 static void mthca_free_memfree(struct mthca_dev *dev, in mthca_free_memfree()
1159 static int mthca_alloc_qp_common(struct mthca_dev *dev, in mthca_alloc_qp_common()
1249 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, in mthca_set_qp_size()
1288 int mthca_alloc_qp(struct mthca_dev *dev, in mthca_alloc_qp()
1363 int mthca_alloc_sqp(struct mthca_dev *dev, in mthca_alloc_sqp()
1431 static inline int get_qp_refcount(struct mthca_dev *dev, struct mthca_qp *qp) in get_qp_refcount()
1442 void mthca_free_qp(struct mthca_dev *dev, in mthca_free_qp()
1499 static int build_mlx_header(struct mthca_dev *dev, struct mthca_sqp *sqp, in build_mlx_header()
1626 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_send()
1824 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_receive()
1929 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_send()
2163 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_arbel_post_receive()
2231 void mthca_free_err_wqe(struct mthca_dev *dev, struct mthca_qp *qp, int is_send, in mthca_free_err_wqe()
2258 int mthca_init_qp_table(struct mthca_dev *dev) in mthca_init_qp_table()
2306 void mthca_cleanup_qp_table(struct mthca_dev *dev) in mthca_cleanup_qp_table()