Lines Matching refs:mthca_dev
244 int mthca_cmd_init(struct mthca_dev *dev);
245 void mthca_cmd_cleanup(struct mthca_dev *dev);
246 int mthca_cmd_use_events(struct mthca_dev *dev);
247 void mthca_cmd_use_polling(struct mthca_dev *dev);
248 void mthca_cmd_event(struct mthca_dev *dev, u16 token,
251 struct mthca_mailbox *mthca_alloc_mailbox(struct mthca_dev *dev,
253 void mthca_free_mailbox(struct mthca_dev *dev, struct mthca_mailbox *mailbox);
255 int mthca_SYS_EN(struct mthca_dev *dev);
256 int mthca_SYS_DIS(struct mthca_dev *dev);
257 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm);
258 int mthca_UNMAP_FA(struct mthca_dev *dev);
259 int mthca_RUN_FW(struct mthca_dev *dev);
260 int mthca_QUERY_FW(struct mthca_dev *dev);
261 int mthca_ENABLE_LAM(struct mthca_dev *dev);
262 int mthca_DISABLE_LAM(struct mthca_dev *dev);
263 int mthca_QUERY_DDR(struct mthca_dev *dev);
264 int mthca_QUERY_DEV_LIM(struct mthca_dev *dev,
266 int mthca_QUERY_ADAPTER(struct mthca_dev *dev,
268 int mthca_INIT_HCA(struct mthca_dev *dev,
270 int mthca_INIT_IB(struct mthca_dev *dev,
273 int mthca_CLOSE_IB(struct mthca_dev *dev, int port);
274 int mthca_CLOSE_HCA(struct mthca_dev *dev, int panic);
275 int mthca_SET_IB(struct mthca_dev *dev, struct mthca_set_ib_param *param,
277 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt);
278 int mthca_MAP_ICM_page(struct mthca_dev *dev, u64 dma_addr, u64 virt);
279 int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count);
280 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm);
281 int mthca_UNMAP_ICM_AUX(struct mthca_dev *dev);
282 int mthca_SET_ICM_SIZE(struct mthca_dev *dev, u64 icm_size, u64 *aux_pages);
283 int mthca_SW2HW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
285 int mthca_HW2SW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
287 int mthca_WRITE_MTT(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
289 int mthca_SYNC_TPT(struct mthca_dev *dev);
290 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap,
292 int mthca_SW2HW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
294 int mthca_HW2SW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
296 int mthca_SW2HW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
298 int mthca_HW2SW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
300 int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size);
301 int mthca_SW2HW_SRQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
303 int mthca_HW2SW_SRQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
305 int mthca_QUERY_SRQ(struct mthca_dev *dev, u32 num,
307 int mthca_ARM_SRQ(struct mthca_dev *dev, int srq_num, int limit);
308 int mthca_MODIFY_QP(struct mthca_dev *dev, enum ib_qp_state cur,
311 int mthca_QUERY_QP(struct mthca_dev *dev, u32 num, int is_ee,
313 int mthca_CONF_SPECIAL_QP(struct mthca_dev *dev, int type, u32 qpn);
314 int mthca_MAD_IFC(struct mthca_dev *dev, int ignore_mkey, int ignore_bkey,
317 int mthca_READ_MGM(struct mthca_dev *dev, int index,
319 int mthca_WRITE_MGM(struct mthca_dev *dev, int index,
321 int mthca_MGID_HASH(struct mthca_dev *dev, struct mthca_mailbox *mailbox,
323 int mthca_NOP(struct mthca_dev *dev);