Lines Matching defs:dev

64 static void mthca_free_icm_pages(struct mthca_dev *dev, struct mthca_icm_chunk *chunk)  in mthca_free_icm_pages()
77 static void mthca_free_icm_coherent(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) in mthca_free_icm_coherent()
88 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm()
123 static int mthca_alloc_icm_coherent(struct device *dev, struct scatterlist *mem, in mthca_alloc_icm_coherent()
137 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages, in mthca_alloc_icm()
222 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get()
257 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_put()
321 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_get_range()
344 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_put_range()
356 struct mthca_icm_table *mthca_alloc_icm_table(struct mthca_dev *dev, in mthca_alloc_icm_table()
424 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table) in mthca_free_icm_table()
439 static u64 mthca_uarc_virt(struct mthca_dev *dev, struct mthca_uar *uar, int page) in mthca_uarc_virt()
446 int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_map_user_db()
507 void mthca_unmap_user_db(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_unmap_user_db()
525 struct mthca_user_db_table *mthca_init_user_db_tab(struct mthca_dev *dev) in mthca_init_user_db_tab()
549 void mthca_cleanup_user_db_tab(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_cleanup_user_db_tab()
569 int mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type, in mthca_alloc_db()
667 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) in mthca_free_db()
703 int mthca_init_db_tab(struct mthca_dev *dev) in mthca_init_db_tab()
734 void mthca_cleanup_db_tab(struct mthca_dev *dev) in mthca_cleanup_db_tab()