Lines Matching refs:uc_se
1394 static inline void uclamp_se_set(struct uclamp_se *uc_se, in uclamp_se_set() argument
1397 uc_se->value = value; in uclamp_se_set()
1398 uc_se->bucket_id = uclamp_bucket_id(value); in uclamp_se_set()
1399 uc_se->user_defined = user_defined; in uclamp_se_set()
1453 struct uclamp_se *uc_se; in __uclamp_update_util_min_rt_default() local
1457 uc_se = &p->uclamp_req[UCLAMP_MIN]; in __uclamp_update_util_min_rt_default()
1460 if (uc_se->user_defined) in __uclamp_update_util_min_rt_default()
1464 uclamp_se_set(uc_se, default_util_min, false); in __uclamp_update_util_min_rt_default()
1563 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_inc_id() local
1571 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_inc_id()
1573 uc_se->active = true; in uclamp_rq_inc_id()
1575 uclamp_idle_reset(rq, clamp_id, uc_se->value); in uclamp_rq_inc_id()
1581 if (bucket->tasks == 1 || uc_se->value > bucket->value) in uclamp_rq_inc_id()
1582 bucket->value = uc_se->value; in uclamp_rq_inc_id()
1584 if (uc_se->value > uclamp_rq_get(rq, clamp_id)) in uclamp_rq_inc_id()
1585 uclamp_rq_set(rq, clamp_id, uc_se->value); in uclamp_rq_inc_id()
1601 struct uclamp_se *uc_se = &p->uclamp[clamp_id]; in uclamp_rq_dec_id() local
1631 if (unlikely(!uc_se->active)) in uclamp_rq_dec_id()
1634 bucket = &uc_rq->bucket[uc_se->bucket_id]; in uclamp_rq_dec_id()
1640 uc_se->active = false; in uclamp_rq_dec_id()
1658 bkt_clamp = uclamp_rq_max_value(rq, clamp_id, uc_se->value); in uclamp_rq_dec_id()
1934 struct uclamp_se *uc_se) in uclamp_reset() argument
1938 !uc_se->user_defined) in uclamp_reset()
1963 struct uclamp_se *uc_se = &p->uclamp_req[clamp_id]; in __setscheduler_uclamp() local
1966 if (!uclamp_reset(attr, clamp_id, uc_se)) in __setscheduler_uclamp()
1978 uclamp_se_set(uc_se, value, false); in __setscheduler_uclamp()
10596 struct uclamp_se *uc_se = NULL; in cpu_util_update_eff() local
10622 uc_se = css_tg(css)->uclamp; in cpu_util_update_eff()
10624 if (eff[clamp_id] == uc_se[clamp_id].value) in cpu_util_update_eff()
10626 uc_se[clamp_id].value = eff[clamp_id]; in cpu_util_update_eff()
10627 uc_se[clamp_id].bucket_id = uclamp_bucket_id(eff[clamp_id]); in cpu_util_update_eff()