Lines Matching defs:profile
2941 const struct mlxsw_config_profile *profile;
2944 profile = &mlxsw_sp1_config_profile;
2961 linear_size = profile->kvd_linear_size;
2975 double_size *= profile->kvd_hash_double_parts;
2976 double_size /= profile->kvd_hash_double_parts +
2977 profile->kvd_hash_single_parts;
3095 const struct mlxsw_config_profile *profile,
3109 * double size by the parts ratio from the profile.
3111 * granularity from the profile. In case the user
3118 *p_linear_size = profile->kvd_linear_size;
3126 double_size *= profile->kvd_hash_double_parts;
3127 double_size /= profile->kvd_hash_double_parts +
3128 profile->kvd_hash_single_parts;
3248 .profile = &mlxsw_sp1_config_profile,
3289 .profile = &mlxsw_sp2_config_profile,
3330 .profile = &mlxsw_sp2_config_profile,