Lines Matching refs:hca_profile
89 static struct mthca_profile hca_profile = { variable
101 module_param_named(num_qp, hca_profile.num_qp, int, 0444);
104 module_param_named(rdb_per_qp, hca_profile.rdb_per_qp, int, 0444);
107 module_param_named(num_cq, hca_profile.num_cq, int, 0444);
110 module_param_named(num_mcg, hca_profile.num_mcg, int, 0444);
113 module_param_named(num_mpt, hca_profile.num_mpt, int, 0444);
117 module_param_named(num_mtt, hca_profile.num_mtt, int, 0444);
121 module_param_named(num_udav, hca_profile.num_udav, int, 0444);
124 module_param_named(fmr_reserved_mtts, hca_profile.fmr_reserved_mtts, int, 0444);
319 profile = hca_profile; in mthca_init_tavor()
609 profile = hca_profile; in mthca_init_arbel()
1201 __mthca_check_profile_val(#name, &hca_profile.name, default)
1214 if (hca_profile.fmr_reserved_mtts >= hca_profile.num_mtt) { in mthca_validate_profile()
1216 hca_profile.fmr_reserved_mtts); in mthca_validate_profile()
1218 hca_profile.num_mtt); in mthca_validate_profile()
1219 hca_profile.fmr_reserved_mtts = hca_profile.num_mtt / 2; in mthca_validate_profile()
1221 hca_profile.fmr_reserved_mtts); in mthca_validate_profile()