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()
246 static int amd_link_is_up(struct amd_ntb_dev *ndev) in amd_link_is_up()
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()
384 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_peer_mw_get_addr()
412 struct amd_ntb_dev *ndev = ntb_ndev(ntb); in amd_ntb_db_vector_mask()
[all …]
H A Dntb_hw_amd.h173 struct amd_ntb_dev;
176 struct amd_ntb_dev *ndev;
180 struct amd_ntb_dev { struct
216 #define ntb_ndev(__ntb) container_of(__ntb, struct amd_ntb_dev, ntb) argument
217 #define hb_ndev(__work) container_of(__work, struct amd_ntb_dev, hb_timer.work)
219 static void amd_set_side_info_reg(struct amd_ntb_dev *ndev, bool peer);
220 static void amd_clear_side_info_reg(struct amd_ntb_dev *ndev, bool peer);
221 static int amd_poll_link(struct amd_ntb_dev *ndev);