Lines Matching refs:mthca_dev
80 struct mthca_dev;
82 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages,
84 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
86 struct mthca_icm_table *mthca_alloc_icm_table(struct mthca_dev *dev,
90 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table);
91 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
92 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
94 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table,
96 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table,
165 int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
167 void mthca_unmap_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
169 struct mthca_user_db_table *mthca_init_user_db_tab(struct mthca_dev *dev);
170 void mthca_cleanup_user_db_tab(struct mthca_dev *dev, struct mthca_uar *uar,
173 int mthca_init_db_tab(struct mthca_dev *dev);
174 void mthca_cleanup_db_tab(struct mthca_dev *dev);
175 int mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type,
177 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);