Searched refs:clamp_value (Results 1 – 5 of 5) 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()
223 uint32_t clamp_value) in convert_and_clamp() argument229 if (ret_val > clamp_value) in convert_and_clamp()230 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()
135 uint32_t clamp_value) in convert_and_clamp() argument141 if (ret_val > clamp_value) { in convert_and_clamp()144 ret_val = clamp_value; in convert_and_clamp()
1363 static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) in uclamp_bucket_id() argument1365 return min_t(unsigned int, clamp_value / UCLAMP_BUCKET_DELTA, UCLAMP_BUCKETS - 1); in uclamp_bucket_id()1385 unsigned int clamp_value) in uclamp_idle_value() argument1394 return clamp_value; in uclamp_idle_value()1401 unsigned int clamp_value) in uclamp_idle_reset() argument1407 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()1412 unsigned int clamp_value) in uclamp_rq_max_value() argument1428 return uclamp_idle_value(rq, clamp_id, clamp_value); in uclamp_rq_max_value()