Searched refs:div_fp (Results 1 – 1 of 1) sorted by relevance
/linux-4.1.27/drivers/cpufreq/ |
D | intel_pstate.c | 51 static inline int32_t div_fp(s64 x, s64 y) in div_fp() function 179 pid->p_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_p_gain_set() 184 pid->i_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_i_gain_set() 189 pid->d_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_d_gain_set() 357 turbo_fp = div_fp(int_tofp(no_turbo), int_tofp(total)); in show_turbo_pct() 423 limits.max_perf = div_fp(int_tofp(limits.max_perf_pct), int_tofp(100)); in store_max_perf_pct() 442 limits.min_perf = div_fp(int_tofp(limits.min_perf_pct), int_tofp(100)); in store_min_perf_pct() 564 cpudata->vid.ratio = div_fp( in byt_get_vid() 820 core_busy = mul_fp(core_busy, div_fp(max_pstate, current_pstate)); in intel_pstate_get_scaled_busy() 833 sample_ratio = div_fp(int_tofp(sample_time), in intel_pstate_get_scaled_busy() [all …]
|