Lines Matching refs:qp_count

231 	unsigned int qp_count;  member
623 unsigned int mw_num, mw_count, qp_count; in ntb_transport_setup_qp_mw() local
628 qp_count = nt->qp_count; in ntb_transport_setup_qp_mw()
636 if (mw_num < qp_count % mw_count) in ntb_transport_setup_qp_mw()
637 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_setup_qp_mw()
639 num_qps_mw = qp_count / mw_count; in ntb_transport_setup_qp_mw()
776 for (i = 0; i < nt->qp_count; i++) in ntb_transport_msi_peer_desc_changed()
787 for (i = 0; i < nt->qp_count; i++) in ntb_transport_msi_desc_changed()
979 for (i = 0; i < nt->qp_count; i++) in ntb_transport_link_cleanup()
1042 for (i = 0; i < nt->qp_count; i++) in ntb_transport_link_work()
1060 ntb_peer_spad_write(ndev, PIDX, NUM_QPS, nt->qp_count); in ntb_transport_link_work()
1072 if (val != nt->qp_count) in ntb_transport_link_work()
1098 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_link_work()
1165 unsigned int mw_num, mw_count, qp_count; in ntb_transport_init_queue() local
1169 qp_count = nt->qp_count; in ntb_transport_init_queue()
1181 if (mw_num < qp_count % mw_count) in ntb_transport_init_queue()
1182 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_init_queue()
1184 num_qps_mw = qp_count / mw_count; in ntb_transport_init_queue()
1247 unsigned int mw_count, qp_count, spad_count, max_mw_count_for_spads; in ntb_transport_probe() local
1333 qp_count = ilog2(qp_bitmap); in ntb_transport_probe()
1335 qp_count -= 1; in ntb_transport_probe()
1336 nt->msi_db_mask = 1 << qp_count; in ntb_transport_probe()
1340 if (max_num_clients && max_num_clients < qp_count) in ntb_transport_probe()
1341 qp_count = max_num_clients; in ntb_transport_probe()
1342 else if (nt->mw_count < qp_count) in ntb_transport_probe()
1343 qp_count = nt->mw_count; in ntb_transport_probe()
1345 qp_bitmap &= BIT_ULL(qp_count) - 1; in ntb_transport_probe()
1347 nt->qp_count = qp_count; in ntb_transport_probe()
1351 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
1364 for (i = 0; i < qp_count; i++) { in ntb_transport_probe()
1417 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_free()