Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn30/
H A Ddcn30_hubbub.c52 uint32_t clamp_value) in convert_and_clamp() argument
58 if (ret_val > clamp_value) in convert_and_clamp()
59 ret_val = clamp_value; in convert_and_clamp()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn35/
H A Ddcn35_hubbub.c98 uint32_t clamp_value) in convert_and_clamp() argument
106 if (ret_val > clamp_value) in convert_and_clamp()
107 ret_val = clamp_value; in convert_and_clamp()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn21/
H A Ddcn21_hubbub.c55 uint32_t clamp_value) in convert_and_clamp() argument
61 if (ret_val > clamp_value) in convert_and_clamp()
62 ret_val = clamp_value; in convert_and_clamp()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn10/
H A Ddcn10_hubbub.c221 uint32_t clamp_value) in convert_and_clamp() argument
227 if (ret_val > clamp_value) in convert_and_clamp()
228 ret_val = clamp_value; in convert_and_clamp()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn32/
H A Ddcn32_hubbub.c155 uint32_t clamp_value) in convert_and_clamp() argument
162 if (ret_val > clamp_value) in convert_and_clamp()
163 ret_val = clamp_value; in convert_and_clamp()
/linux/drivers/gpu/drm/amd/display/dc/hubbub/dcn31/
H A Ddcn31_hubbub.c158 uint32_t clamp_value) in convert_and_clamp() argument
164 if (ret_val > clamp_value) { in convert_and_clamp()
167 ret_val = clamp_value; in convert_and_clamp()
/linux/kernel/sched/
H A Dcore.c1452 unsigned int clamp_value) in uclamp_idle_value() argument
1461 return clamp_value; in uclamp_idle_value()
1468 unsigned int clamp_value) in uclamp_idle_reset() argument
1474 uclamp_rq_set(rq, clamp_id, clamp_value); in uclamp_idle_reset()
1479 unsigned int clamp_value) in uclamp_rq_max_value() argument
1495 return uclamp_idle_value(rq, clamp_id, clamp_value); in uclamp_rq_max_value()
H A Dsched.h3396 static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) in uclamp_bucket_id() argument
3398 return min_t(unsigned int, clamp_value / UCLAMP_BUCKET_DELTA, UCLAMP_BUCKETS - 1); in uclamp_bucket_id()