Searched refs:ratio_max (Results 1 – 2 of 2) sorted by relevance
248 int ratio_min, ratio_max, ratio_turbo, ratio_step; in generate_p_state_entries() local255 ratio_max = cpu_get_max_ratio(); in generate_p_state_entries()256 clock_max = (ratio_max * cpu_get_bus_clock_khz()) / 1000; in generate_p_state_entries()276 num_entries = ((ratio_max - ratio_min) / ratio_step) + 1; in generate_p_state_entries()277 if (((ratio_max - ratio_min) % ratio_step) > 0) in generate_p_state_entries()307 ratio_max << 8, /* control */ in generate_p_state_entries()308 ratio_max << 8); /* status */ in generate_p_state_entries()315 power = calculate_power(power_max, ratio_max, ratio); in generate_p_state_entries()
251 u32 ratio_max; in cpu_get_max_ratio() local257 ratio_max = msr.lo & 0xff; in cpu_get_max_ratio()261 ratio_max = (msr.lo >> 8) & 0xff; in cpu_get_max_ratio()264 return ratio_max; in cpu_get_max_ratio()
Completed in 4 milliseconds