Home
last modified time | relevance | path

Searched refs:amd_ntb_dev (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c76 static int ndev_mw_to_bar(struct amd_ntb_dev *ndev, int idx) in ndev_mw_to_bar()
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()
198 static int amd_ntb_get_link_status(struct amd_ntb_dev *ndev) in amd_ntb_get_link_status()
255 static int amd_link_is_up(struct amd_ntb_dev *ndev) in amd_link_is_up()
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()
393 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr()
421 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_vector_mask()
[all …]
H A Dntb_hw_amd.h174 struct amd_ntb_dev;
177 struct amd_ntb_dev *ndev;
181 struct amd_ntb_dev { struct
217 #define ntb_ndev(__ntb) container_of(__ntb, struct amd_ntb_dev, ntb) argument
218 #define hb_ndev(__work) container_of(__work, struct amd_ntb_dev, hb_timer.work)
220 static void amd_set_side_info_reg(struct amd_ntb_dev *ndev, bool peer);
221 static void amd_clear_side_info_reg(struct amd_ntb_dev *ndev, bool peer);
222 static int amd_poll_link(struct amd_ntb_dev *ndev);