Home
last modified time | relevance | path

Searched refs:ntb_ndev (Results 1 – 8 of 8) sorted by relevance

/drivers/ntb/hw/epf/
Dntb_hw_epf.c86 #define ntb_ndev(__ntb) container_of(__ntb, struct ntb_epf_dev, ntb) macro
152 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 …]
/drivers/ntb/hw/amd/
Dntb_hw_amd.c89 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 …]
Dntb_hw_amd.h216 #define ntb_ndev(__ntb) container_of(__ntb, struct amd_ntb_dev, ntb) macro
/drivers/pci/endpoint/functions/
Dpci-epf-vntb.c148 #define ntb_ndev(__ntb) container_of(__ntb, struct epf_ntb, ntb) macro
1047 struct epf_ntb *ndev = ntb_ndev(ntb); in vntb_epf_mw_count()
1054 return ntb_ndev(ntb)->spad_count; in vntb_epf_spad_count()
1059 return ntb_ndev(ntb)->num_mws; in vntb_epf_peer_mw_count()
1064 return BIT_ULL(ntb_ndev(ntb)->db_count) - 1; in vntb_epf_db_valid_mask()
1075 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_mw_set_trans()
1105 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_mw_get_addr()
1125 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_read()
1136 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_write()
1147 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_spad_read()
[all …]
/drivers/ntb/hw/intel/
Dntb_hw_gen1.c801 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 …]
Dntb_hw_gen3.c446 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()
Dntb_hw_intel.h190 #define ntb_ndev(__ntb) container_of(__ntb, struct intel_ntb_dev, ntb) macro
Dntb_hw_gen4.c340 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()