Searched refs:fp_toint (Results 1 – 1 of 1) sorted by relevance
43 #define fp_toint(X) ((X) >> FRAC_BITS) macro60 ret = fp_toint(x); in ceiling_fp()226 return (signed int)fp_toint(result); in pid_calc()358 turbo_pct = 100 - fp_toint(mul_fp(turbo_fp, int_tofp(100))); in show_turbo_pct()700 max_perf_adj = fp_toint(mul_fp(int_tofp(max_perf), limits.max_perf)); in intel_pstate_get_min_max()704 min_perf = fp_toint(mul_fp(int_tofp(max_perf), limits.min_perf)); in intel_pstate_get_min_max()748 sample->freq = fp_toint( in intel_pstate_calc_busy()875 trace_pstate_sample(fp_toint(sample->core_pct_busy), in intel_pstate_timer_func()876 fp_toint(intel_pstate_get_scaled_busy(cpu)), in intel_pstate_timer_func()