Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/ntb/
Dntb_transport.c621 unsigned int mw_num, mw_count, qp_count; in ntb_transport_setup_qp_mw() local
628 mw_num = QP_TO_MW(nt, qp_num); in ntb_transport_setup_qp_mw()
629 mw = &nt->mw_vec[mw_num]; in ntb_transport_setup_qp_mw()
634 if (mw_num < qp_count % mw_count) in ntb_transport_setup_qp_mw()
1163 unsigned int mw_num, mw_count, qp_count; in ntb_transport_init_queue() local
1169 mw_num = QP_TO_MW(nt, qp_num); in ntb_transport_init_queue()
1179 if (mw_num < qp_count % mw_count) in ntb_transport_init_queue()
1184 mw_base = nt->mw_vec[mw_num].phys_addr; in ntb_transport_init_queue()
1185 mw_size = nt->mw_vec[mw_num].phys_size; in ntb_transport_init_queue()
1194 qp->tx_mw = nt->mw_vec[mw_num].vbase + qp_offset; in ntb_transport_init_queue()