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_ib_ah_attr(struct mthca_dev *dev, struct ib_ah_attr *ib_ah_attr, in to_ib_ah_attr()
428 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_query_qp()
516 static int mthca_path_set(struct mthca_dev *dev, const struct ib_ah_attr *ah, in mthca_path_set()
550 struct mthca_dev *dev = to_mdev(ibqp->device); in __mthca_modify_qp()
849 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_modify_qp()
915 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size()
949 static void mthca_adjust_qp_caps(struct mthca_dev *dev, in mthca_adjust_qp_caps()
974 static int mthca_alloc_wqe_buf(struct mthca_dev *dev, in mthca_alloc_wqe_buf()
1067 static void mthca_free_wqe_buf(struct mthca_dev *dev, in mthca_free_wqe_buf()
1076 static int mthca_map_memfree(struct mthca_dev *dev, in mthca_map_memfree()
1107 static void mthca_unmap_memfree(struct mthca_dev *dev, in mthca_unmap_memfree()
1116 static int mthca_alloc_memfree(struct mthca_dev *dev, in mthca_alloc_memfree()
1136 static void mthca_free_memfree(struct mthca_dev *dev, in mthca_free_memfree()
1145 static int mthca_alloc_qp_common(struct mthca_dev *dev, in mthca_alloc_qp_common()
1234 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, in mthca_set_qp_size()
1273 int mthca_alloc_qp(struct mthca_dev *dev, in mthca_alloc_qp()
1348 int mthca_alloc_sqp(struct mthca_dev *dev, in mthca_alloc_sqp()
1416 static inline int get_qp_refcount(struct mthca_dev *dev, struct mthca_qp *qp) in get_qp_refcount()
1427 void mthca_free_qp(struct mthca_dev *dev, in mthca_free_qp()
1484 static int build_mlx_header(struct mthca_dev *dev, struct mthca_sqp *sqp, in build_mlx_header()
1611 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_send()
1814 struct mthca_dev *dev = to_mdev(ibqp->device); in mthca_tavor_post_receive()
1925 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()