Home
last modified time | relevance | path

Searched refs:clamp_id (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/kernel/sched/
Dcore.c800 #define for_each_clamp_id(clamp_id) \ argument
801 for ((clamp_id) = 0; (clamp_id) < UCLAMP_CNT; (clamp_id)++)
813 static inline enum uclamp_id uclamp_none(enum uclamp_id clamp_id) in uclamp_none() argument
815 if (clamp_id == UCLAMP_MIN) in uclamp_none()
829 uclamp_idle_value(struct rq *rq, enum uclamp_id clamp_id, in uclamp_idle_value() argument
837 if (clamp_id == UCLAMP_MAX) { in uclamp_idle_value()
845 static inline void uclamp_idle_reset(struct rq *rq, enum uclamp_id clamp_id, in uclamp_idle_reset() argument
852 WRITE_ONCE(rq->uclamp[clamp_id].value, clamp_value); in uclamp_idle_reset()
856 enum uclamp_id uclamp_rq_max_value(struct rq *rq, enum uclamp_id clamp_id, in uclamp_rq_max_value() argument
859 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value()
[all …]
Dsched.h2312 enum uclamp_id uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id);