Lines Matching defs:ntb

618 static inline int ntb_port_number(struct ntb_dev *ntb)  in ntb_port_number()
635 static inline int ntb_peer_port_count(struct ntb_dev *ntb) in ntb_peer_port_count()
653 static inline int ntb_peer_port_number(struct ntb_dev *ntb, int pidx) in ntb_peer_port_number()
675 static inline int ntb_logical_port_number(struct ntb_dev *ntb) in ntb_logical_port_number()
705 static inline int ntb_peer_logical_port_number(struct ntb_dev *ntb, int pidx) in ntb_peer_logical_port_number()
723 static inline int ntb_peer_port_idx(struct ntb_dev *ntb, int port) in ntb_peer_port_idx()
744 static inline u64 ntb_link_is_up(struct ntb_dev *ntb, in ntb_link_is_up()
764 static inline int ntb_link_enable(struct ntb_dev *ntb, in ntb_link_enable()
783 static inline int ntb_link_disable(struct ntb_dev *ntb) in ntb_link_disable()
802 static inline int ntb_mw_count(struct ntb_dev *ntb, int pidx) in ntb_mw_count()
823 static inline int ntb_mw_get_align(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_get_align()
854 static inline int ntb_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in ntb_mw_set_trans()
875 static inline int ntb_mw_clear_trans(struct ntb_dev *ntb, int pidx, int widx) in ntb_mw_clear_trans()
894 static inline int ntb_peer_mw_count(struct ntb_dev *ntb) in ntb_peer_mw_count()
912 static inline int ntb_peer_mw_get_addr(struct ntb_dev *ntb, int widx, in ntb_peer_mw_get_addr()
936 static inline int ntb_peer_mw_set_trans(struct ntb_dev *ntb, int pidx, int widx, in ntb_peer_mw_set_trans()
960 static inline int ntb_peer_mw_clear_trans(struct ntb_dev *ntb, int pidx, in ntb_peer_mw_clear_trans()
979 static inline int ntb_db_is_unsafe(struct ntb_dev *ntb) in ntb_db_is_unsafe()
995 static inline u64 ntb_db_valid_mask(struct ntb_dev *ntb) in ntb_db_valid_mask()
1008 static inline int ntb_db_vector_count(struct ntb_dev *ntb) in ntb_db_vector_count()
1025 static inline u64 ntb_db_vector_mask(struct ntb_dev *ntb, int vector) in ntb_db_vector_mask()
1041 static inline u64 ntb_db_read(struct ntb_dev *ntb) in ntb_db_read()
1058 static inline int ntb_db_set(struct ntb_dev *ntb, u64 db_bits) in ntb_db_set()
1076 static inline int ntb_db_clear(struct ntb_dev *ntb, u64 db_bits) in ntb_db_clear()
1091 static inline u64 ntb_db_read_mask(struct ntb_dev *ntb) in ntb_db_read_mask()
1110 static inline int ntb_db_set_mask(struct ntb_dev *ntb, u64 db_bits) in ntb_db_set_mask()
1129 static inline int ntb_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) in ntb_db_clear_mask()
1152 static inline int ntb_peer_db_addr(struct ntb_dev *ntb, in ntb_peer_db_addr()
1173 static inline u64 ntb_peer_db_read(struct ntb_dev *ntb) in ntb_peer_db_read()
1191 static inline int ntb_peer_db_set(struct ntb_dev *ntb, u64 db_bits) in ntb_peer_db_set()
1208 static inline int ntb_peer_db_clear(struct ntb_dev *ntb, u64 db_bits) in ntb_peer_db_clear()
1226 static inline u64 ntb_peer_db_read_mask(struct ntb_dev *ntb) in ntb_peer_db_read_mask()
1247 static inline int ntb_peer_db_set_mask(struct ntb_dev *ntb, u64 db_bits) in ntb_peer_db_set_mask()
1269 static inline int ntb_peer_db_clear_mask(struct ntb_dev *ntb, u64 db_bits) in ntb_peer_db_clear_mask()
1287 static inline int ntb_spad_is_unsafe(struct ntb_dev *ntb) in ntb_spad_is_unsafe()
1304 static inline int ntb_spad_count(struct ntb_dev *ntb) in ntb_spad_count()
1321 static inline u32 ntb_spad_read(struct ntb_dev *ntb, int sidx) in ntb_spad_read()
1339 static inline int ntb_spad_write(struct ntb_dev *ntb, int sidx, u32 val) in ntb_spad_write()
1359 static inline int ntb_peer_spad_addr(struct ntb_dev *ntb, int pidx, int sidx, in ntb_peer_spad_addr()
1378 static inline u32 ntb_peer_spad_read(struct ntb_dev *ntb, int pidx, int sidx) in ntb_peer_spad_read()
1397 static inline int ntb_peer_spad_write(struct ntb_dev *ntb, int pidx, int sidx, in ntb_peer_spad_write()
1414 static inline int ntb_msg_count(struct ntb_dev *ntb) in ntb_msg_count()
1431 static inline u64 ntb_msg_inbits(struct ntb_dev *ntb) in ntb_msg_inbits()
1448 static inline u64 ntb_msg_outbits(struct ntb_dev *ntb) in ntb_msg_outbits()
1466 static inline u64 ntb_msg_read_sts(struct ntb_dev *ntb) in ntb_msg_read_sts()
1483 static inline int ntb_msg_clear_sts(struct ntb_dev *ntb, u64 sts_bits) in ntb_msg_clear_sts()
1500 static inline int ntb_msg_set_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_set_mask()
1517 static inline int ntb_msg_clear_mask(struct ntb_dev *ntb, u64 mask_bits) in ntb_msg_clear_mask()
1536 static inline u32 ntb_msg_read(struct ntb_dev *ntb, int *pidx, int midx) in ntb_msg_read()
1557 static inline int ntb_peer_msg_write(struct ntb_dev *ntb, int pidx, int midx, in ntb_peer_msg_write()
1597 static inline int ntb_peer_resource_idx(struct ntb_dev *ntb, int pidx) in ntb_peer_resource_idx()
1625 static inline int ntb_peer_highest_mw_idx(struct ntb_dev *ntb, int pidx) in ntb_peer_highest_mw_idx()
1659 static inline int ntb_msi_init(struct ntb_dev *ntb, in ntb_msi_init()
1664 static inline int ntb_msi_setup_mws(struct ntb_dev *ntb) in ntb_msi_setup_mws()
1668 static inline void ntb_msi_clear_mws(struct ntb_dev *ntb) {} in ntb_msi_clear_mws()
1669 static inline int ntbm_msi_request_threaded_irq(struct ntb_dev *ntb, in ntbm_msi_request_threaded_irq()
1677 static inline void ntbm_msi_free_irq(struct ntb_dev *ntb, unsigned int irq, in ntbm_msi_free_irq()
1679 static inline int ntb_msi_peer_trigger(struct ntb_dev *ntb, int peer, in ntb_msi_peer_trigger()
1684 static inline int ntb_msi_peer_addr(struct ntb_dev *ntb, int peer, in ntb_msi_peer_addr()
1694 static inline int ntbm_msi_request_irq(struct ntb_dev *ntb, in ntbm_msi_request_irq()