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()
559 static u64 switchtec_ntb_link_is_up(struct ntb_dev *ntb, in switchtec_ntb_link_is_up()
573 static int switchtec_ntb_link_enable(struct ntb_dev *ntb, in switchtec_ntb_link_enable()
589 static int switchtec_ntb_link_disable(struct ntb_dev *ntb) in switchtec_ntb_link_disable()
603 static u64 switchtec_ntb_db_valid_mask(struct ntb_dev *ntb) in switchtec_ntb_db_valid_mask()
610 static int switchtec_ntb_db_vector_count(struct ntb_dev *ntb) in switchtec_ntb_db_vector_count()
615 static u64 switchtec_ntb_db_vector_mask(struct ntb_dev *ntb, int db_vector) in switchtec_ntb_db_vector_mask()
625 static u64 switchtec_ntb_db_read(struct ntb_dev *ntb) in switchtec_ntb_db_read()
635 static int switchtec_ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_clear()
644 static int switchtec_ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_set_mask()
662 static int switchtec_ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_db_clear_mask()
680 static u64 switchtec_ntb_db_read_mask(struct ntb_dev *ntb) in switchtec_ntb_db_read_mask()
687 static int switchtec_ntb_peer_db_addr(struct ntb_dev *ntb, in switchtec_ntb_peer_db_addr()
714 static int switchtec_ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) in switchtec_ntb_peer_db_set()
724 static int switchtec_ntb_spad_count(struct ntb_dev *ntb) in switchtec_ntb_spad_count()
731 static u32 switchtec_ntb_spad_read(struct ntb_dev *ntb, int idx) in switchtec_ntb_spad_read()
744 static int switchtec_ntb_spad_write(struct ntb_dev *ntb, int idx, u32 val) in switchtec_ntb_spad_write()
759 static u32 switchtec_ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_read()
776 static int switchtec_ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_write()
795 static int switchtec_ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, in switchtec_ntb_peer_spad_addr()