Searched refs:BestRemainder (Results 1 – 4 of 4) sorted by relevance
594 int horz_stretch_loop = -1, BestRemainder; in ATIModeCalculate() local599 BestRemainder = (Numerator * 16) / Denominator; in ATIModeCalculate()606 if (Remainder < BestRemainder) in ATIModeCalculate()609 if (!(BestRemainder = Remainder)) in ATIModeCalculate()618 if (Remainder < BestRemainder) in ATIModeCalculate()621 BestRemainder = Remainder; in ATIModeCalculate()627 (!BestRemainder || !pATI->OptionBlend)) in ATIModeCalculate()
1091 int horz_stretch_loop = -1, BestRemainder; in aty_var_to_crtc() local1096 BestRemainder = (Numerator * 16) / Denominator; in aty_var_to_crtc()1100 if (Remainder < BestRemainder) { in aty_var_to_crtc()1102 if (!(BestRemainder = Remainder)) in aty_var_to_crtc()1107 if ((horz_stretch_loop >= 0) && !BestRemainder) { in aty_var_to_crtc()