Lines Matching refs:qp_count

216 	unsigned int qp_count;  member
604 unsigned int mw_num, mw_count, qp_count; in ntb_transport_setup_qp_mw() local
609 qp_count = nt->qp_count; in ntb_transport_setup_qp_mw()
617 if (mw_num < qp_count % mw_count) in ntb_transport_setup_qp_mw()
618 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_setup_qp_mw()
620 num_qps_mw = qp_count / mw_count; in ntb_transport_setup_qp_mw()
821 for (i = 0; i < nt->qp_count; i++) in ntb_transport_link_cleanup()
885 ntb_peer_spad_write(ndev, PIDX, NUM_QPS, nt->qp_count); in ntb_transport_link_work()
897 if (val != nt->qp_count) in ntb_transport_link_work()
923 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_link_work()
989 unsigned int mw_num, mw_count, qp_count; in ntb_transport_init_queue() local
993 qp_count = nt->qp_count; in ntb_transport_init_queue()
1005 if (mw_num < qp_count % mw_count) in ntb_transport_init_queue()
1006 num_qps_mw = qp_count / mw_count + 1; in ntb_transport_init_queue()
1008 num_qps_mw = qp_count / mw_count; in ntb_transport_init_queue()
1070 unsigned int mw_count, qp_count, spad_count, max_mw_count_for_spads; in ntb_transport_probe() local
1141 qp_count = ilog2(qp_bitmap); in ntb_transport_probe()
1142 if (max_num_clients && max_num_clients < qp_count) in ntb_transport_probe()
1143 qp_count = max_num_clients; in ntb_transport_probe()
1144 else if (nt->mw_count < qp_count) in ntb_transport_probe()
1145 qp_count = nt->mw_count; in ntb_transport_probe()
1147 qp_bitmap &= BIT_ULL(qp_count) - 1; in ntb_transport_probe()
1149 nt->qp_count = qp_count; in ntb_transport_probe()
1153 nt->qp_vec = kcalloc_node(qp_count, sizeof(*nt->qp_vec), in ntb_transport_probe()
1166 for (i = 0; i < qp_count; i++) { in ntb_transport_probe()
1219 for (i = 0; i < nt->qp_count; i++) { in ntb_transport_free()