Home
last modified time | relevance | path

Searched refs:int_tofp (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c43 #define int_tofp(X) ((int64_t)(X) << FRAC_BITS) macro
164 .max_perf = int_tofp(1),
166 .min_perf = int_tofp(1),
177 .max_perf = int_tofp(1),
196 pid->integral = int_tofp(integral); in pid_reset()
197 pid->last_err = int_tofp(setpoint) - int_tofp(busy); in pid_reset()
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()
221 fp_error = int_tofp(pid->setpoint) - busy; in pid_calc()
[all …]