Lines Matching defs:init_hca
67 struct mthca_init_hca_param *init_hca)
176 init_hca->qpc_base = profile[i].start;
177 init_hca->log_num_qps = profile[i].log_num;
181 init_hca->eec_base = profile[i].start;
182 init_hca->log_num_eecs = profile[i].log_num;
186 init_hca->srqc_base = profile[i].start;
187 init_hca->log_num_srqs = profile[i].log_num;
191 init_hca->cqc_base = profile[i].start;
192 init_hca->log_num_cqs = profile[i].log_num;
195 init_hca->eqpc_base = profile[i].start;
198 init_hca->eeec_base = profile[i].start;
202 init_hca->eqc_base = profile[i].start;
203 init_hca->log_num_eqs = profile[i].log_num;
211 init_hca->rdb_base = profile[i].start;
216 init_hca->mc_base = profile[i].start;
217 init_hca->log_mc_entry_sz = ffs(MTHCA_MGM_ENTRY_SIZE) - 1;
218 init_hca->log_mc_table_sz = profile[i].log_num;
219 init_hca->mc_hash_sz = 1 << (profile[i].log_num - 1);
224 init_hca->mpt_base = profile[i].start;
225 init_hca->log_mpt_sz = profile[i].log_num;
230 init_hca->mtt_base = profile[i].start;
231 init_hca->mtt_seg_sz = ffs(dev->limits.mtt_seg_size) - 7;
235 init_hca->uar_scratch_base = profile[i].start;
244 init_hca->uarc_base = profile[i].start;
245 init_hca->log_uarc_sz = ffs(request->uarc_size) - 13;
246 init_hca->log_uar_sz = ffs(request->num_uar) - 1;
260 init_hca->log_mpt_sz > 23) {
262 init_hca->log_mpt_sz);