Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dintel_pstate.c50 #define int_tofp(X) ((int64_t)(X) << FRAC_BITS) macro
1253 turbo_pct = 100 - fp_toint(mul_fp(turbo_fp, int_tofp(100))); in show_turbo_pct()
1801 int_tofp(pstate - cpudata->pstate.min_pstate), in atom_get_val()
1849 cpudata->vid.min = int_tofp((value >> 8) & 0x7f); in atom_get_vid()
1850 cpudata->vid.max = int_tofp((value >> 16) & 0x7f); in atom_get_vid()
1853 int_tofp(cpudata->pstate.max_pstate - in atom_get_vid()
2348 if (cpu->iowait_boost > int_tofp(1)) in intel_pstate_update_util()
2349 cpu->iowait_boost = int_tofp(1); in intel_pstate_update_util()