Lines Matching refs:mthca_dev
78 struct mthca_dev;
80 struct mthca_icm *mthca_alloc_icm(struct mthca_dev *dev, int npages,
82 void mthca_free_icm(struct mthca_dev *dev, struct mthca_icm *icm, int coherent);
84 struct mthca_icm_table *mthca_alloc_icm_table(struct mthca_dev *dev,
88 void mthca_free_icm_table(struct mthca_dev *dev, struct mthca_icm_table *table);
89 int mthca_table_get(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
90 void mthca_table_put(struct mthca_dev *dev, struct mthca_icm_table *table, int obj);
92 int mthca_table_get_range(struct mthca_dev *dev, struct mthca_icm_table *table,
94 void mthca_table_put_range(struct mthca_dev *dev, struct mthca_icm_table *table,
163 int mthca_map_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
165 void mthca_unmap_user_db(struct mthca_dev *dev, struct mthca_uar *uar,
167 struct mthca_user_db_table *mthca_init_user_db_tab(struct mthca_dev *dev);
168 void mthca_cleanup_user_db_tab(struct mthca_dev *dev, struct mthca_uar *uar,
171 int mthca_init_db_tab(struct mthca_dev *dev);
172 void mthca_cleanup_db_tab(struct mthca_dev *dev);
173 int mthca_alloc_db(struct mthca_dev *dev, enum mthca_db_type type,
175 void mthca_free_db(struct mthca_dev *dev, int type, int db_index);