Lines Matching refs:init_hca
69 struct mthca_init_hca_param *init_hca)
182 init_hca->qpc_base = profile[i].start;
183 init_hca->log_num_qps = profile[i].log_num;
187 init_hca->eec_base = profile[i].start;
188 init_hca->log_num_eecs = profile[i].log_num;
192 init_hca->srqc_base = profile[i].start;
193 init_hca->log_num_srqs = profile[i].log_num;
197 init_hca->cqc_base = profile[i].start;
198 init_hca->log_num_cqs = profile[i].log_num;
201 init_hca->eqpc_base = profile[i].start;
204 init_hca->eeec_base = profile[i].start;
208 init_hca->eqc_base = profile[i].start;
209 init_hca->log_num_eqs = profile[i].log_num;
217 init_hca->rdb_base = profile[i].start;
222 init_hca->mc_base = profile[i].start;
223 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1;
224 init_hca->log_mc_table_sz = profile[i].log_num;
225 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1);
230 init_hca->mpt_base = profile[i].start;
231 init_hca->log_mpt_sz = profile[i].log_num;
236 init_hca->mtt_base = profile[i].start;
237 init_hca->mtt_seg_sz = ffs(MTHCA_MTT_SEG_SIZE) - 7;
241 init_hca->uar_scratch_base = profile[i].start;
250 init_hca->uarc_base = profile[i].start;
251 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13;
252 init_hca->log_uar_sz = ffs(request->num_uar) - 1;
266 init_hca->log_mpt_sz > 23) {
268 init_hca->log_mpt_sz);