Home
last modified time | relevance | path

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

/linux/drivers/ntb/hw/epf/
H A Dntb_hw_epf.c97 #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 …]
/linux/drivers/ntb/hw/amd/
H A 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()
326 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_is_up()
354 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_enable()
370 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_link_disable()
387 return ntb_ndev(ntb)->mw_count; in amd_ntb_peer_mw_count()
393 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr()
411 return ntb_ndev(ntb)->db_valid_mask; in amd_ntb_db_valid_mask()
416 return ntb_ndev(ntb)->db_count; in amd_ntb_db_vector_count()
[all …]
H A Dntb_hw_amd.h217 #define ntb_ndev(__ntb) container_of(__ntb, struct amd_ntb_dev, ntb) macro
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c153 #define ntb_ndev(__ntb) container_of(__ntb, struct epf_ntb, ntb) macro
1247 struct epf_ntb *ndev = ntb_ndev(ntb); in vntb_epf_mw_count()
1254 return ntb_ndev(ntb)->spad_count; in vntb_epf_spad_count()
1259 return ntb_ndev(ntb)->num_mws; in vntb_epf_peer_mw_count()
1264 return BIT_ULL(ntb_ndev(ntb)->db_count) - 1; in vntb_epf_db_valid_mask()
1275 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_mw_set_trans()
1305 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_mw_get_addr()
1325 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_read()
1336 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_spad_write()
1347 struct epf_ntb *ntb = ntb_ndev(ndev); in vntb_epf_peer_spad_read()
[all …]
/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c802 return ntb_ndev(ntb)->mw_count; in intel_ntb_mw_count()
810 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_mw_get_align()
846 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_mw_set_trans()
947 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_link_is_up()
1024 return ntb_ndev(ntb)->mw_count; in intel_ntb_peer_mw_count()
1030 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_peer_mw_get_addr()
1053 return ndev_ignore_unsafe(ntb_ndev(ntb), NTB_UNSAFE_DB); in intel_ntb_db_is_unsafe()
1058 return ntb_ndev(ntb)->db_valid_mask; in intel_ntb_db_valid_mask()
1072 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_db_vector_mask()
1082 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb_db_read()
[all …]
H A Dntb_hw_gen3.c449 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_mw_set_trans()
542 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_addr()
547 if (unlikely(BIT_ULL(db_bit) & ~ntb_ndev(ntb)->db_valid_mask)) in intel_ntb3_peer_db_addr()
570 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_peer_db_set()
588 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_db_read()
597 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb3_db_clear()
H A Dntb_hw_intel.h191 #define ntb_ndev(__ntb) container_of(__ntb, struct intel_ntb_dev, ntb) macro
H A Dntb_hw_gen4.c350 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_set_trans()
541 struct intel_ntb_dev *ndev = ntb_ndev(ntb); in intel_ntb4_mw_get_align()