Lines Matching defs:dev

190 static u32 mthca_alloc_mtt_range(struct mthca_dev *dev, int order,  in mthca_alloc_mtt_range()
208 static struct mthca_mtt *__mthca_alloc_mtt(struct mthca_dev *dev, int size, in __mthca_alloc_mtt()
235 struct mthca_mtt *mthca_alloc_mtt(struct mthca_dev *dev, int size) in mthca_alloc_mtt()
240 void mthca_free_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt) in mthca_free_mtt()
254 static int __mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, in __mthca_write_mtt()
299 int mthca_write_mtt_size(struct mthca_dev *dev) in mthca_write_mtt_size()
315 static void mthca_tavor_write_mtt_seg(struct mthca_dev *dev, in mthca_tavor_write_mtt_seg()
329 static void mthca_arbel_write_mtt_seg(struct mthca_dev *dev, in mthca_arbel_write_mtt_seg()
358 int mthca_write_mtt(struct mthca_dev *dev, struct mthca_mtt *mtt, in mthca_write_mtt()
405 static inline u32 hw_index_to_key(struct mthca_dev *dev, u32 ind) in hw_index_to_key()
413 static inline u32 key_to_hw_index(struct mthca_dev *dev, u32 key) in key_to_hw_index()
421 static inline u32 adjust_key(struct mthca_dev *dev, u32 key) in adjust_key()
429 int mthca_mr_alloc(struct mthca_dev *dev, u32 pd, int buffer_size_shift, in mthca_mr_alloc()
512 int mthca_mr_alloc_notrans(struct mthca_dev *dev, u32 pd, in mthca_mr_alloc_notrans()
519 int mthca_mr_alloc_phys(struct mthca_dev *dev, u32 pd, in mthca_mr_alloc_phys()
545 static void mthca_free_region(struct mthca_dev *dev, u32 lkey) in mthca_free_region()
553 void mthca_free_mr(struct mthca_dev *dev, struct mthca_mr *mr) in mthca_free_mr()
567 int mthca_fmr_alloc(struct mthca_dev *dev, u32 pd, in mthca_fmr_alloc()
678 int mthca_free_fmr(struct mthca_dev *dev, struct mthca_fmr *fmr) in mthca_free_fmr()
720 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_tavor_map_phys_fmr() local
761 struct mthca_dev *dev = to_mdev(ibfmr->device); in mthca_arbel_map_phys_fmr() local
806 void mthca_tavor_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr) in mthca_tavor_fmr_unmap()
816 void mthca_arbel_fmr_unmap(struct mthca_dev *dev, struct mthca_fmr *fmr) in mthca_arbel_fmr_unmap()
826 int mthca_init_mr_table(struct mthca_dev *dev) in mthca_init_mr_table()
949 void mthca_cleanup_mr_table(struct mthca_dev *dev) in mthca_cleanup_mr_table()