Lines Matching refs:clamp_id
3333 unsigned long uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id);
3336 enum uclamp_id clamp_id) in uclamp_rq_get() argument
3338 return READ_ONCE(rq->uclamp[clamp_id].value); in uclamp_rq_get()
3341 static inline void uclamp_rq_set(struct rq *rq, enum uclamp_id clamp_id, in uclamp_rq_set() argument
3344 WRITE_ONCE(rq->uclamp[clamp_id].value, value); in uclamp_rq_set()
3380 #define for_each_clamp_id(clamp_id) \ argument
3381 for ((clamp_id) = 0; (clamp_id) < UCLAMP_CNT; (clamp_id)++)
3386 static inline unsigned int uclamp_none(enum uclamp_id clamp_id) in uclamp_none() argument
3388 if (clamp_id == UCLAMP_MIN) in uclamp_none()
3412 uclamp_eff_value(struct task_struct *p, enum uclamp_id clamp_id) in uclamp_eff_value() argument
3414 if (clamp_id == UCLAMP_MIN) in uclamp_eff_value()
3428 uclamp_rq_get(struct rq *rq, enum uclamp_id clamp_id) in uclamp_rq_get() argument
3430 if (clamp_id == UCLAMP_MIN) in uclamp_rq_get()
3437 uclamp_rq_set(struct rq *rq, enum uclamp_id clamp_id, unsigned int value) in uclamp_rq_set() argument