Lines Matching refs:min

300 	cp->cp_log_num_mtt	= min(hermon_log_num_mtt, devlim->log_max_mtt);  in hermon_cfg_profile_init_phase2()
301 cp->cp_log_num_dmpt = min(hermon_log_num_dmpt, devlim->log_max_dmpt); in hermon_cfg_profile_init_phase2()
304 cp->cp_log_max_mrw_sz = min(hermon_log_max_mrw_sz, in hermon_cfg_profile_init_phase2()
306 cp->cp_log_num_pd = min(hermon_log_num_pd, devlim->log_max_pd); in hermon_cfg_profile_init_phase2()
307 cp->cp_log_num_qp = min(hermon_log_num_qp, devlim->log_max_qp); in hermon_cfg_profile_init_phase2()
308 cp->cp_log_num_cq = min(hermon_log_num_cq, devlim->log_max_cq); in hermon_cfg_profile_init_phase2()
309 cp->cp_log_num_srq = min(hermon_log_num_srq, devlim->log_max_srq); in hermon_cfg_profile_init_phase2()
310 cp->cp_log_num_eq = min(hermon_log_num_eq, devlim->log_max_eq); in hermon_cfg_profile_init_phase2()
311 cp->cp_log_eq_sz = min(hermon_log_eq_sz, devlim->log_max_eq_sz); in hermon_cfg_profile_init_phase2()
313 min(hermon_log_num_rdb_per_qp, devlim->log_max_ra_req_qp); in hermon_cfg_profile_init_phase2()
315 1 << min(hermon_log_num_rdb_per_qp, devlim->log_max_ra_req_qp); in hermon_cfg_profile_init_phase2()
318 cp->cp_num_qp_per_mcg = min(cp->cp_num_qp_per_mcg, in hermon_cfg_profile_init_phase2()
321 cp->cp_log_num_mcg = min(hermon_log_num_mcg, devlim->log_max_mcg); in hermon_cfg_profile_init_phase2()
338 cp->cp_log_num_uar = min(hermon_log_num_uar, num); in hermon_cfg_profile_init_phase2()
392 min(hermon_log_num_rdb_per_qp, devlim->log_max_ra_req_qp); in hermon_cfg_profile_init_phase2()
394 1 << min(hermon_log_num_rdb_per_qp, devlim->log_max_ra_req_qp); in hermon_cfg_profile_init_phase2()
446 max_size = min(max_size, state->hs_devlim.max_desc_sz_sq); in hermon_cfg_wqe_sizes()