Home
last modified time | relevance | path

Searched refs:mw_idx (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/ntb/hw/amd/
H A Dntb_hw_amd.h170 const unsigned int mw_idx; member
H A Dntb_hw_amd.c81 return ndev->dev_data->mw_idx << idx; in ndev_mw_to_bar()
1321 .mw_idx = 1,
1325 .mw_idx = 2,
/kernel/linux/linux-6.6/drivers/ntb/hw/amd/
H A Dntb_hw_amd.h170 const unsigned int mw_idx; member
H A Dntb_hw_amd.c81 return ndev->dev_data->mw_idx << idx; in ndev_mw_to_bar()
1308 .mw_idx = 1,
1312 .mw_idx = 2,
/kernel/linux/linux-5.10/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c181 static int lut_index(struct switchtec_ntb *sndev, int mw_idx) in lut_index() argument
183 return mw_idx - sndev->nr_direct_mw + sndev->nr_rsvd_luts; in lut_index()
186 static int peer_lut_index(struct switchtec_ntb *sndev, int mw_idx) in peer_lut_index() argument
188 return mw_idx - sndev->peer_nr_direct_mw + sndev->nr_rsvd_luts; in peer_lut_index()
/kernel/linux/linux-6.6/drivers/ntb/hw/mscc/
H A Dntb_hw_switchtec.c181 static int lut_index(struct switchtec_ntb *sndev, int mw_idx) in lut_index() argument
183 return mw_idx - sndev->nr_direct_mw + sndev->nr_rsvd_luts; in lut_index()
186 static int peer_lut_index(struct switchtec_ntb *sndev, int mw_idx) in peer_lut_index() argument
188 return mw_idx - sndev->peer_nr_direct_mw + sndev->nr_rsvd_luts; in peer_lut_index()

Completed in 10 milliseconds