Lines Matching defs:coef
950 int coef;
955 coef = rt->ratem;
966 while ((coef & 0x1) != 0x1) {
967 coef >>= 1;
971 if (coef <= 3)
974 coef++;
978 * we rely on the coef value (1 or 3) to set a bit
982 if (coef == 1) {
985 coef = 0;
989 coef = 1;
992 return coef;
1018 int exp = 0, coef = 0;
1024 /* calculate coef dynamically */
1025 coef = qcom_slim_calc_coef(rt, &exp);
1026 if (coef < 0) {
1028 "%s: error calculating coef %d\n", __func__,
1029 coef);
1033 if (coef)