Searched refs:ntb_ndev (Results 1 – 7 of 7) sorted by relevance
86 #define ntb_ndev(__ntb) container_of(__ntb, struct ntb_epf_dev, ntb) macro150 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_count()166 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_get_align()195 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_is_up()205 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_read()223 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_write()241 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_read()262 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_write()286 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_enable()301 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_disable()[all …]
89 return ntb_ndev(ntb)->mw_count; in amd_ntb_mw_count()97 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_get_align()122 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_mw_set_trans()317 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_is_up()345 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_enable()361 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_disable()378 return ntb_ndev(ntb)->mw_count; in amd_ntb_peer_mw_count()384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr()402 return ntb_ndev(ntb)->db_valid_mask; in amd_ntb_db_valid_mask()407 return ntb_ndev(ntb)->db_count; in amd_ntb_db_vector_count()[all …]
216 #define ntb_ndev(__ntb) container_of(__ntb, struct amd_ntb_dev, ntb) macro
801 return ntb_ndev(ntb)->mw_count; in intel_ntb_mw_count()809 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_mw_get_align()845 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_mw_set_trans()946 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_link_is_up()1023 return ntb_ndev(ntb)->mw_count; in intel_ntb_peer_mw_count()1029 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_peer_mw_get_addr()1052 return ndev_ignore_unsafe(ntb_ndev(ntb), NTB_UNSAFE_DB); in intel_ntb_db_is_unsafe()1057 return ntb_ndev(ntb)->db_valid_mask; in intel_ntb_db_valid_mask()1071 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_db_vector_mask()1081 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_db_read()[all …]
446 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans()539 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_addr()544 if (unlikely(BIT_ULL(db_bit) & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb3_peer_db_addr()567 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_set()585 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_db_read()594 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_db_clear()
189 #define ntb_ndev(__ntb) container_of(__ntb, struct intel_ntb_dev, ntb) macro
340 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_set_trans()529 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_get_align()