Lines Matching defs:dev
192 static inline int go_bit(struct mthca_dev *dev) in go_bit()
198 static void mthca_cmd_post_dbell(struct mthca_dev *dev, in mthca_cmd_post_dbell()
230 static int mthca_cmd_post_hcr(struct mthca_dev *dev, in mthca_cmd_post_hcr()
275 static int mthca_cmd_post(struct mthca_dev *dev, in mthca_cmd_post()
331 static int mthca_cmd_poll(struct mthca_dev *dev, in mthca_cmd_poll()
387 void mthca_cmd_event(struct mthca_dev *dev, in mthca_cmd_event()
406 static int mthca_cmd_wait(struct mthca_dev *dev, in mthca_cmd_wait()
469 static int mthca_cmd_box(struct mthca_dev *dev, in mthca_cmd_box()
488 static int mthca_cmd(struct mthca_dev *dev, in mthca_cmd()
504 static int mthca_cmd_imm(struct mthca_dev *dev, in mthca_cmd_imm()
522 int mthca_cmd_init(struct mthca_dev *dev) in mthca_cmd_init()
546 void mthca_cmd_cleanup(struct mthca_dev *dev) in mthca_cmd_cleanup()
558 int mthca_cmd_use_events(struct mthca_dev *dev) in mthca_cmd_use_events()
595 void mthca_cmd_use_polling(struct mthca_dev *dev) in mthca_cmd_use_polling()
609 struct mthca_mailbox *mthca_alloc_mailbox(struct mthca_dev *dev, in mthca_alloc_mailbox()
627 void mthca_free_mailbox(struct mthca_dev *dev, struct mthca_mailbox *mailbox) in mthca_free_mailbox()
636 int mthca_SYS_EN(struct mthca_dev *dev) in mthca_SYS_EN()
652 int mthca_SYS_DIS(struct mthca_dev *dev) in mthca_SYS_DIS()
657 static int mthca_map_cmd(struct mthca_dev *dev, u16 op, struct mthca_icm *icm, in mthca_map_cmd()
736 int mthca_MAP_FA(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_FA()
741 int mthca_UNMAP_FA(struct mthca_dev *dev) in mthca_UNMAP_FA()
746 int mthca_RUN_FW(struct mthca_dev *dev) in mthca_RUN_FW()
751 static void mthca_setup_cmd_doorbells(struct mthca_dev *dev, u64 base) in mthca_setup_cmd_doorbells()
777 int mthca_QUERY_FW(struct mthca_dev *dev) in mthca_QUERY_FW()
883 int mthca_ENABLE_LAM(struct mthca_dev *dev) in mthca_ENABLE_LAM()
933 int mthca_DISABLE_LAM(struct mthca_dev *dev) in mthca_DISABLE_LAM()
938 int mthca_QUERY_DDR(struct mthca_dev *dev) in mthca_QUERY_DDR()
988 int mthca_QUERY_DEV_LIM(struct mthca_dev *dev, in mthca_QUERY_DEV_LIM()
1268 int mthca_QUERY_ADAPTER(struct mthca_dev *dev, in mthca_QUERY_ADAPTER()
1311 int mthca_INIT_HCA(struct mthca_dev *dev, in mthca_INIT_HCA()
1436 int mthca_INIT_IB(struct mthca_dev *dev, in mthca_INIT_IB()
1488 int mthca_CLOSE_IB(struct mthca_dev *dev, int port) in mthca_CLOSE_IB()
1493 int mthca_CLOSE_HCA(struct mthca_dev *dev, int panic) in mthca_CLOSE_HCA()
1498 int mthca_SET_IB(struct mthca_dev *dev, struct mthca_set_ib_param *param, in mthca_SET_IB()
1534 int mthca_MAP_ICM(struct mthca_dev *dev, struct mthca_icm *icm, u64 virt) in mthca_MAP_ICM()
1539 int mthca_MAP_ICM_page(struct mthca_dev *dev, u64 dma_addr, u64 virt) in mthca_MAP_ICM_page()
1565 int mthca_UNMAP_ICM(struct mthca_dev *dev, u64 virt, u32 page_count) in mthca_UNMAP_ICM()
1574 int mthca_MAP_ICM_AUX(struct mthca_dev *dev, struct mthca_icm *icm) in mthca_MAP_ICM_AUX()
1579 int mthca_UNMAP_ICM_AUX(struct mthca_dev *dev) in mthca_UNMAP_ICM_AUX()
1584 int mthca_SET_ICM_SIZE(struct mthca_dev *dev, u64 icm_size, u64 *aux_pages) in mthca_SET_ICM_SIZE()
1602 int mthca_SW2HW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_SW2HW_MPT()
1609 int mthca_HW2SW_MPT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_HW2SW_MPT()
1617 int mthca_WRITE_MTT(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_WRITE_MTT()
1624 int mthca_SYNC_TPT(struct mthca_dev *dev) in mthca_SYNC_TPT()
1629 int mthca_MAP_EQ(struct mthca_dev *dev, u64 event_mask, int unmap, in mthca_MAP_EQ()
1639 int mthca_SW2HW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_SW2HW_EQ()
1646 int mthca_HW2SW_EQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_HW2SW_EQ()
1654 int mthca_SW2HW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_SW2HW_CQ()
1661 int mthca_HW2SW_CQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_HW2SW_CQ()
1669 int mthca_RESIZE_CQ(struct mthca_dev *dev, int cq_num, u32 lkey, u8 log_size) in mthca_RESIZE_CQ()
1699 int mthca_SW2HW_SRQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_SW2HW_SRQ()
1706 int mthca_HW2SW_SRQ(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_HW2SW_SRQ()
1714 int mthca_QUERY_SRQ(struct mthca_dev *dev, u32 num, in mthca_QUERY_SRQ()
1721 int mthca_ARM_SRQ(struct mthca_dev *dev, int srq_num, int limit) in mthca_ARM_SRQ()
1727 int mthca_MODIFY_QP(struct mthca_dev *dev, enum ib_qp_state cur, in mthca_MODIFY_QP()
1830 int mthca_QUERY_QP(struct mthca_dev *dev, u32 num, int is_ee, in mthca_QUERY_QP()
1837 int mthca_CONF_SPECIAL_QP(struct mthca_dev *dev, int type, u32 qpn) in mthca_CONF_SPECIAL_QP()
1862 int mthca_MAD_IFC(struct mthca_dev *dev, int ignore_mkey, int ignore_bkey, in mthca_MAD_IFC()
1941 int mthca_READ_MGM(struct mthca_dev *dev, int index, in mthca_READ_MGM()
1948 int mthca_WRITE_MGM(struct mthca_dev *dev, int index, in mthca_WRITE_MGM()
1955 int mthca_MGID_HASH(struct mthca_dev *dev, struct mthca_mailbox *mailbox, in mthca_MGID_HASH()
1968 int mthca_NOP(struct mthca_dev *dev) in mthca_NOP()