Lines Matching defs:dev

63 static void mthca_free_icm_pages(struct mthca_dev *dev, struct mthca_icm_chunk *chunk)  in mthca_free_icm_pages()
76 static void mthca_free_icm_coherent(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) in mthca_free_icm_coherent()
87 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent) in mthca_free_icm()
122 static int mthca_alloc_icm_coherent(struct device *dev, struct scatterlist *mem, in mthca_alloc_icm_coherent()
136 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages, in mthca_alloc_icm()
221 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_get()
256 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj) in mthca_table_put()
320 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_get_range()
343 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table, in mthca_table_put_range()
355 struct mthca_icm_table *mthca_alloc_icm_table(struct mthca_dev *dev, in mthca_alloc_icm_table()
423 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table) in mthca_free_icm_table()
438 static u64 mthca_uarc_virt(struct mthca_dev *dev, struct mthca_uar *uar, int page) in mthca_uarc_virt()
445 int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_map_user_db()
503 void mthca_unmap_user_db(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_unmap_user_db()
521 struct mthca_user_db_table *mthca_init_user_db_tab(struct mthca_dev *dev) in mthca_init_user_db_tab()
545 void mthca_cleanup_user_db_tab(struct mthca_dev *dev, struct mthca_uar *uar, in mthca_cleanup_user_db_tab()
564 int mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type, in mthca_alloc_db()
662 void mthca_free_db(struct mthca_dev *dev, int type, int db_index) in mthca_free_db()
698 int mthca_init_db_tab(struct mthca_dev *dev) in mthca_init_db_tab()
729 void mthca_cleanup_db_tab(struct mthca_dev *dev) in mthca_cleanup_db_tab()