Searched refs:coef2 (Results 1 – 1 of 1) sorted by relevance
631 RK_S32 coef2 = 512; in smt_calc_coef() local700 coef2 = 1024; in smt_calc_coef()702 coef2 = 512 + (coef - 307) * (1024 - 512) / (717 - 307); in smt_calc_coef()704 coef2 = 0 + coef * (512 - 0) / (307 - 0); in smt_calc_coef()705 if (coef2 >= 1024) in smt_calc_coef()706 coef2 = 1024; in smt_calc_coef()708 return coef2; in smt_calc_coef()