Searched refs:clamp_value (Results 1 – 6 of 6) sorted by relevance
52 uint32_t clamp_value) in convert_and_clamp() argument58 if (ret_val > clamp_value) in convert_and_clamp()59 ret_val = clamp_value; in convert_and_clamp()
221 uint32_t clamp_value) in convert_and_clamp() argument227 if (ret_val > clamp_value) in convert_and_clamp()228 ret_val = clamp_value; in convert_and_clamp()
55 uint32_t clamp_value) in convert_and_clamp() argument61 if (ret_val > clamp_value) in convert_and_clamp()62 ret_val = clamp_value; in convert_and_clamp()
136 uint32_t clamp_value) in convert_and_clamp() argument142 if (ret_val > clamp_value) { in convert_and_clamp()145 ret_val = clamp_value; in convert_and_clamp()
155 uint32_t clamp_value) in convert_and_clamp() argument162 if (ret_val > clamp_value) in convert_and_clamp()163 ret_val = clamp_value; in convert_and_clamp()
1396 static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) in uclamp_bucket_id() argument1398 return min_t(unsigned int, clamp_value / UCLAMP_BUCKET_DELTA, UCLAMP_BUCKETS - 1); in uclamp_bucket_id()1418 unsigned int clamp_value) in uclamp_idle_value() argument1427 return clamp_value; in uclamp_idle_value()1434 unsigned int clamp_value) in uclamp_idle_reset() argument1440 uclamp_rq_set(rq, clamp_id, clamp_value); in uclamp_idle_reset()1445 unsigned int clamp_value) in uclamp_rq_max_value() argument1461 return uclamp_idle_value(rq, clamp_id, clamp_value); in uclamp_rq_max_value()