Searched refs:perf_val (Results 1 – 1 of 1) sorted by relevance
148 u32 perf_val = DIV_ROUND_UP_ULL((u64)freq_val * perf.nominal_perf, nominal_freq); in freq_to_perf() local 150 return (u8)clamp(perf_val, perf.lowest_perf, perf.highest_perf); in freq_to_perf() 153 static inline u32 perf_to_freq(union perf_cached perf, u32 nominal_freq, u8 perf_val) in perf_to_freq() argument 155 return DIV_ROUND_UP_ULL((u64)nominal_freq * perf_val, in perf_to_freq()