Lines Matching refs:mthca_dev
37 #include "mthca_dev.h"
188 static u32 mthca_alloc_mtt_range(struct mthca_dev *dev, int order,
206 static struct mthca_mtt *__mthca_alloc_mtt(struct mthca_dev *dev, int size,
233 struct mthca_mtt *mthca_alloc_mtt(struct mthca_dev *dev, int size)
238 void mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt)
252 static int __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt,
297 int mthca_write_mtt_size(struct mthca_dev *dev)
313 static void mthca_tavor_write_mtt_seg(struct mthca_dev *dev,
327 static void mthca_arbel_write_mtt_seg(struct mthca_dev *dev,
356 int mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt,
403 static inline u32 hw_index_to_key(struct mthca_dev *dev, u32 ind)
411 static inline u32 key_to_hw_index(struct mthca_dev *dev, u32 key)
419 static inline u32 adjust_key(struct mthca_dev *dev, u32 key)
427 int mthca_mr_alloc(struct mthca_dev *dev, u32 pd, int buffer_size_shift,
509 int mthca_mr_alloc_notrans(struct mthca_dev *dev, u32 pd,
516 int mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd,
542 static void mthca_free_region(struct mthca_dev *dev, u32 lkey)
550 void mthca_free_mr(struct mthca_dev *dev, struct mthca_mr *mr)
564 int mthca_init_mr_table(struct mthca_dev *dev)
688 void mthca_cleanup_mr_table(struct mthca_dev *dev)