Home
last modified time | relevance | path

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

/drivers/ntb/
Dntb_transport.c478 u8 mw_num = QP_TO_MW(qp_num); in ntb_transport_setup_qp_mw() local
481 WARN_ON(nt->mw[mw_num].virt_addr == NULL); in ntb_transport_setup_qp_mw()
483 if (nt->max_qps % NTB_NUM_MW && mw_num < nt->max_qps % NTB_NUM_MW) in ntb_transport_setup_qp_mw()
488 rx_size = (unsigned int) nt->mw[mw_num].size / num_qps_mw; in ntb_transport_setup_qp_mw()
489 qp->remote_rx_info = nt->mw[mw_num].virt_addr + in ntb_transport_setup_qp_mw()
802 u8 mw_num = QP_TO_MW(qp_num); in ntb_transport_init_queue() local
812 if (nt->max_qps % NTB_NUM_MW && mw_num < nt->max_qps % NTB_NUM_MW) in ntb_transport_init_queue()
817 tx_size = (unsigned int) ntb_get_mw_size(qp->ndev, mw_num) / num_qps_mw; in ntb_transport_init_queue()
818 qp->rx_info = ntb_get_mw_vbase(nt->ndev, mw_num) + in ntb_transport_init_queue()