Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/cpufreq/
Dintel_pstate.c44 #define fp_toint(X) ((X) >> FRAC_BITS) macro
60 ret = fp_toint(x); in ceiling_fp()
249 return (signed int)fp_toint(result); in pid_calc()
388 turbo_pct = 100 - fp_toint(mul_fp(turbo_fp, int_tofp(100))); in show_turbo_pct()
822 max_perf_adj = fp_toint(mul_fp(int_tofp(max_perf), limits->max_perf)); in intel_pstate_get_min_max()
826 min_perf = fp_toint(mul_fp(int_tofp(max_perf), limits->min_perf)); in intel_pstate_get_min_max()
872 sample->freq = fp_toint( in intel_pstate_calc_busy()
990 trace_pstate_sample(fp_toint(sample->core_pct_busy), in intel_pstate_adjust_busy_pstate()
991 fp_toint(busy_scaled), in intel_pstate_adjust_busy_pstate()