Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/sched/
Dcore.c1393 #define for_each_clamp_id(clamp_id) \ argument
1394 for ((clamp_id) = 0; (clamp_id) < UCLAMP_CNT; (clamp_id)++)
1401 static inline unsigned int uclamp_none(enum uclamp_id clamp_id) in uclamp_none() argument
1403 if (clamp_id == UCLAMP_MIN) in uclamp_none()
1417 uclamp_idle_value(struct rq *rq, enum uclamp_id clamp_id, in uclamp_idle_value() argument
1425 if (clamp_id == UCLAMP_MAX) { in uclamp_idle_value()
1433 static inline void uclamp_idle_reset(struct rq *rq, enum uclamp_id clamp_id, in uclamp_idle_reset() argument
1440 uclamp_rq_set(rq, clamp_id, clamp_value); in uclamp_idle_reset()
1444 unsigned int uclamp_rq_max_value(struct rq *rq, enum uclamp_id clamp_id, in uclamp_rq_max_value() argument
1447 struct uclamp_bucket *bucket = rq->uclamp[clamp_id].bucket; in uclamp_rq_max_value()
[all …]
Dsched.h3040 unsigned long uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id);
3043 enum uclamp_id clamp_id) in uclamp_rq_get() argument
3045 return READ_ONCE(rq->uclamp[clamp_id].value); in uclamp_rq_get()
3048 static inline void uclamp_rq_set(struct rq *rq, enum uclamp_id clamp_id, in uclamp_rq_set() argument
3051 WRITE_ONCE(rq->uclamp[clamp_id].value, value); in uclamp_rq_set()
3141 enum uclamp_id clamp_id) in uclamp_eff_value() argument
3143 if (clamp_id == UCLAMP_MIN) in uclamp_eff_value()
3164 enum uclamp_id clamp_id) in uclamp_rq_get() argument
3166 if (clamp_id == UCLAMP_MIN) in uclamp_rq_get()
3172 static inline void uclamp_rq_set(struct rq *rq, enum uclamp_id clamp_id, in uclamp_rq_set() argument