Lines Matching refs:num

73 		int num;  in mthca_make_profile()  member
102 profile[MTHCA_RES_QP].num = request->num_qp; in mthca_make_profile()
103 profile[MTHCA_RES_SRQ].num = request->num_srq; in mthca_make_profile()
104 profile[MTHCA_RES_EQP].num = request->num_qp; in mthca_make_profile()
105 profile[MTHCA_RES_RDB].num = request->num_qp * request->rdb_per_qp; in mthca_make_profile()
106 profile[MTHCA_RES_CQ].num = request->num_cq; in mthca_make_profile()
107 profile[MTHCA_RES_EQ].num = MTHCA_NUM_EQS; in mthca_make_profile()
108 profile[MTHCA_RES_MCG].num = request->num_mcg; in mthca_make_profile()
109 profile[MTHCA_RES_MPT].num = request->num_mpt; in mthca_make_profile()
110 profile[MTHCA_RES_MTT].num = request->num_mtt; in mthca_make_profile()
111 profile[MTHCA_RES_UAR].num = request->num_uar; in mthca_make_profile()
112 profile[MTHCA_RES_UARC].num = request->num_uar; in mthca_make_profile()
113 profile[MTHCA_RES_UDAV].num = request->num_udav; in mthca_make_profile()
117 profile[i].log_num = max(ffs(profile[i].num) - 1, 0); in mthca_make_profile()
118 profile[i].size *= profile[i].num; in mthca_make_profile()
179 dev->limits.num_qps = profile[i].num; in mthca_make_profile()
184 dev->limits.num_eecs = profile[i].num; in mthca_make_profile()
189 dev->limits.num_srqs = profile[i].num; in mthca_make_profile()
194 dev->limits.num_cqs = profile[i].num; in mthca_make_profile()
205 dev->limits.num_eqs = profile[i].num; in mthca_make_profile()
211 request->num_qp << dev->qp_table.rdb_shift < profile[i].num; in mthca_make_profile()
218 dev->limits.num_mgms = profile[i].num >> 1; in mthca_make_profile()
219 dev->limits.num_amgms = profile[i].num >> 1; in mthca_make_profile()
226 dev->limits.num_mpts = profile[i].num; in mthca_make_profile()
232 dev->limits.num_mtt_segs = profile[i].num; in mthca_make_profile()
238 dev->limits.num_uars = profile[i].num; in mthca_make_profile()
243 dev->av_table.num_ddr_avs = profile[i].num; in mthca_make_profile()