Lines Matching defs:init_hca
67 struct mthca_init_hca_param *init_hca)
180 init_hca->qpc_base = profile[i].start;
181 init_hca->log_num_qps = profile[i].log_num;
185 init_hca->eec_base = profile[i].start;
186 init_hca->log_num_eecs = profile[i].log_num;
190 init_hca->srqc_base = profile[i].start;
191 init_hca->log_num_srqs = profile[i].log_num;
195 init_hca->cqc_base = profile[i].start;
196 init_hca->log_num_cqs = profile[i].log_num;
199 init_hca->eqpc_base = profile[i].start;
202 init_hca->eeec_base = profile[i].start;
206 init_hca->eqc_base = profile[i].start;
207 init_hca->log_num_eqs = profile[i].log_num;
215 init_hca->rdb_base = profile[i].start;
220 init_hca->mc_base = profile[i].start;
221 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1;
222 init_hca->log_mc_table_sz = profile[i].log_num;
223 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1);
228 init_hca->mpt_base = profile[i].start;
229 init_hca->log_mpt_sz = profile[i].log_num;
234 init_hca->mtt_base = profile[i].start;
235 init_hca->mtt_seg_sz = ffs(dev->limits.mtt_seg_size) - 7;
239 init_hca->uar_scratch_base = profile[i].start;
248 init_hca->uarc_base = profile[i].start;
249 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13;
250 init_hca->log_uar_sz = ffs(request->num_uar) - 1;
264 init_hca->log_mpt_sz > 23) {
266 init_hca->log_mpt_sz);