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