Lines Matching defs:ntb

46 	struct ntb_dev ntb;  member
93 static struct switchtec_ntb *ntb_sndev(struct ntb_dev *ntb) in ntb_sndev()
166 static int switchtec_ntb_mw_count(struct ntb_dev *ntb, int pidx) in switchtec_ntb_mw_count()
191 static int switchtec_ntb_mw_get_align(struct ntb_dev *ntb, int pidx, in switchtec_ntb_mw_get_align()
270 static int switchtec_ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in switchtec_ntb_mw_set_trans()
341 static int switchtec_ntb_peer_mw_count(struct ntb_dev *ntb) in switchtec_ntb_peer_mw_count()
402 static int switchtec_ntb_peer_mw_get_addr(struct ntb_dev *ntb, int idx, in switchtec_ntb_peer_mw_get_addr()
557 static u64 switchtec_ntb_link_is_up(struct ntb_dev *ntb, in switchtec_ntb_link_is_up()
571 static int switchtec_ntb_link_enable(struct ntb_dev *ntb, in switchtec_ntb_link_enable()
587 static int switchtec_ntb_link_disable(struct ntb_dev *ntb) in switchtec_ntb_link_disable()
601 static u64 switchtec_ntb_db_valid_mask(struct ntb_dev *ntb) in switchtec_ntb_db_valid_mask()
608 static int switchtec_ntb_db_vector_count(struct ntb_dev *ntb) in switchtec_ntb_db_vector_count()
613 static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in switchtec_ntb_db_vector_mask()
623 static u64 switchtec_ntb_db_read(struct ntb_dev *ntb) in switchtec_ntb_db_read()
633 static int switchtec_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_clear()
642 static int switchtec_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_set_mask()
660 static int switchtec_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_clear_mask()
678 static u64 switchtec_ntb_db_read_mask(struct ntb_dev *ntb) in switchtec_ntb_db_read_mask()
685 static int switchtec_ntb_peer_db_addr(struct ntb_dev *ntb, in switchtec_ntb_peer_db_addr()
712 static int switchtec_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_peer_db_set()
722 static int switchtec_ntb_spad_count(struct ntb_dev *ntb) in switchtec_ntb_spad_count()
729 static u32 switchtec_ntb_spad_read(struct ntb_dev *ntb, int idx) in switchtec_ntb_spad_read()
742 static int switchtec_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val) in switchtec_ntb_spad_write()
757 static u32 switchtec_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_read()
774 static int switchtec_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_write()
793 static int switchtec_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_addr()