Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubbub.c223 uint32_t clamp_value) in convert_and_clamp() argument
229 if (ret_val > clamp_value) in convert_and_clamp()
230 ret_val = clamp_value; in convert_and_clamp()
/linux-5.19.10/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-5.19.10/drivers/gpu/drm/amd/display/dc/dcn31/
Ddcn31_hubbub.c135 uint32_t clamp_value) in convert_and_clamp() argument
141 if (ret_val > clamp_value) { in convert_and_clamp()
144 ret_val = clamp_value; in convert_and_clamp()
/linux-5.19.10/kernel/sched/
Dcore.c1363 static inline unsigned int uclamp_bucket_id(unsigned int clamp_value) in uclamp_bucket_id() argument
1365 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() argument
1394 return clamp_value; in uclamp_idle_value()
1401 unsigned int clamp_value) in uclamp_idle_reset() argument
1407 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()
1412 unsigned int clamp_value) in uclamp_rq_max_value() argument
1428 return uclamp_idle_value(rq, clamp_id, clamp_value); in uclamp_rq_max_value()