Lines Matching refs:mthca_dev
189 static void dump_cqe(struct mthca_dev *dev, void *cqe_ptr) in dump_cqe()
204 static inline void update_cons_index(struct mthca_dev *dev, struct mthca_cq *cq, in update_cons_index()
217 void mthca_cq_completion(struct mthca_dev *dev, u32 cqn) in mthca_cq_completion()
233 void mthca_cq_event(struct mthca_dev *dev, u32 cqn, in mthca_cq_event()
273 void mthca_cq_clean(struct mthca_dev *dev, struct mthca_cq *cq, u32 qpn, in mthca_cq_clean()
348 int mthca_alloc_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int nent) in mthca_alloc_cq_buf()
366 void mthca_free_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int cqe) in mthca_free_cq_buf()
372 static void handle_error_cqe(struct mthca_dev *dev, struct mthca_cq *cq, in handle_error_cqe()
478 static inline int mthca_poll_one(struct mthca_dev *dev, in mthca_poll_one()
657 struct mthca_dev *dev = to_mdev(ibcq->device); in mthca_poll_cq()
768 int mthca_init_cq(struct mthca_dev *dev, int nent, in mthca_init_cq()
889 static inline int get_cq_refcount(struct mthca_dev *dev, struct mthca_cq *cq) in get_cq_refcount()
900 void mthca_free_cq(struct mthca_dev *dev, in mthca_free_cq()
953 int mthca_init_cq_table(struct mthca_dev *dev) in mthca_init_cq_table()
974 void mthca_cleanup_cq_table(struct mthca_dev *dev) in mthca_cleanup_cq_table()