Lines Matching refs:cur_divisor
2828 uint64_t cur_mask, cur_divisor = 0;
2844 cur_divisor = index;
2849 if (cur_divisor == 0)
2857 if (cur_divisor == new_divisor)
2860 if (cur_divisor == HB_FULL_DIV && new_divisor == HB_HALF_DIV) {
2861 CHANGE_REFRESH_COUNT(HB_SLOW_DOWN, cur_divisor, new_divisor);
2865 } else if (cur_divisor == HB_HALF_DIV && new_divisor == HB_FULL_DIV) {
2869 CHANGE_REFRESH_COUNT(HB_SPEED_UP, cur_divisor, new_divisor);
2871 } else if (cur_divisor == HB_FULL_DIV && new_divisor > HB_HALF_DIV) {
2876 CHANGE_REFRESH_COUNT(HB_SLOW_DOWN, cur_divisor, HB_HALF_DIV);
2883 } else if (cur_divisor > HB_HALF_DIV && new_divisor == HB_FULL_DIV) {
2890 CHANGE_REFRESH_COUNT(HB_SPEED_UP, cur_divisor, HB_HALF_DIV);
2897 } else if (cur_divisor < new_divisor) {
2898 CHANGE_REFRESH_COUNT(HB_SLOW_DOWN, cur_divisor, new_divisor);
2901 } else if (cur_divisor > new_divisor) {
2904 CHANGE_REFRESH_COUNT(HB_SPEED_UP, cur_divisor, new_divisor);