Searched refs:ntb_ndev (Results 1 – 8 of 8) sorted by relevance
86 #define ntb_ndev(__ntb) container_of(__ntb, struct ntb_epf_dev, ntb) macro152 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_count()168 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_mw_get_align()197 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_is_up()207 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_read()225 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_spad_write()243 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_read()264 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_peer_spad_write()288 struct ntb_epf_dev *ndev = ntb_ndev(ntb); in ntb_epf_link_enable()303 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
148 #define ntb_ndev(__ntb) container_of(__ntb, struct epf_ntb, ntb) macro1044 struct epf_ntb *ndev = ntb_ndev(ntb); in vntb_epf_mw_count()1051 return ntb_ndev(ntb)->spad_count; in vntb_epf_spad_count()1056 return ntb_ndev(ntb)->num_mws; in vntb_epf_peer_mw_count()1061 return BIT_ULL(ntb_ndev(ntb)->db_count) - 1; in vntb_epf_db_valid_mask()1072 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_mw_set_trans()1102 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_mw_get_addr()1122 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_read()1133 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_write()1144 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_spad_read()[all …]
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()
190 #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()