Lines Matching refs:num

71 		int num;  in mthca_make_profile()  member
99 profile[MTHCA_RES_QP].num = request->num_qp; in mthca_make_profile()
100 profile[MTHCA_RES_SRQ].num = request->num_srq; in mthca_make_profile()
101 profile[MTHCA_RES_EQP].num = request->num_qp; in mthca_make_profile()
102 profile[MTHCA_RES_RDB].num = request->num_qp * request->rdb_per_qp; in mthca_make_profile()
103 profile[MTHCA_RES_CQ].num = request->num_cq; in mthca_make_profile()
104 profile[MTHCA_RES_EQ].num = MTHCA_NUM_EQS; in mthca_make_profile()
105 profile[MTHCA_RES_MCG].num = request->num_mcg; in mthca_make_profile()
106 profile[MTHCA_RES_MPT].num = request->num_mpt; in mthca_make_profile()
107 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
108 profile[MTHCA_RES_UAR].num = request->num_uar; in mthca_make_profile()
109 profile[MTHCA_RES_UARC].num = request->num_uar; in mthca_make_profile()
110 profile[MTHCA_RES_UDAV].num = request->num_udav; in mthca_make_profile()
114 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
115 profile[i].size *= profile[i].num; in mthca_make_profile()
173 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
178 dev->limits.num_eecs = profile[i].num; in mthca_make_profile()
183 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
188 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
199 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
205 request->num_qp << dev->qp_table.rdb_shift < profile[i].num; in mthca_make_profile()
212 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
213 dev->limits.num_amgms = profile[i].num >> 1; in mthca_make_profile()
220 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
226 dev->limits.num_mtt_segs = profile[i].num; in mthca_make_profile()
232 dev->limits.num_uars = profile[i].num; in mthca_make_profile()
237 dev->av_table.num_ddr_avs = profile[i].num; in mthca_make_profile()