Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/
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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/
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-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c136 uint32_t clamp_value) in convert_and_clamp() argument
142 if (ret_val > clamp_value) { in convert_and_clamp()
145 ret_val = clamp_value; in convert_and_clamp()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/
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-6.6.21/kernel/sched/
Dcore.c1396 static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) in uclamp_bucket_id() argument
1398 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() argument
1427 return clamp_value; in uclamp_idle_value()
1434 unsigned int clamp_value) in uclamp_idle_reset() argument
1440 uclamp_rq_set(rq, clamp_id, clamp_value); in uclamp_idle_reset()
1445 unsigned int clamp_value) in uclamp_rq_max_value() argument
1461 return uclamp_idle_value(rq, clamp_id, clamp_value); in uclamp_rq_max_value()