Searched refs:div_fp (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/cpufreq/ |
D | intel_pstate.c | 51 static inline int32_t div_fp(s64 x, s64 y) in div_fp() function 202 pid->p_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_p_gain_set() 207 pid->i_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_i_gain_set() 212 pid->d_gain = div_fp(int_tofp(percent), int_tofp(100)); in pid_d_gain_set() 387 turbo_fp = div_fp(int_tofp(no_turbo), int_tofp(total)); in show_turbo_pct() 458 limits->max_perf = div_fp(int_tofp(limits->max_perf_pct), in store_max_perf_pct() 483 limits->min_perf = div_fp(int_tofp(limits->min_perf_pct), in store_min_perf_pct() 618 cpudata->vid.ratio = div_fp( in atom_get_vid() 950 core_busy = mul_fp(core_busy, div_fp(max_pstate, current_pstate)); in intel_pstate_get_scaled_busy() 963 sample_ratio = div_fp(int_tofp(sample_time), in intel_pstate_get_scaled_busy() [all …]
|