Home
last modified time | relevance | path

Searched refs:required_opps (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/opp/
Dof.c275 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() local
278 if (!required_opps) in _of_opp_free_required_opps()
282 if (!required_opps[i]) in _of_opp_free_required_opps()
286 dev_pm_opp_put(required_opps[i]); in _of_opp_free_required_opps()
289 opp->required_opps = NULL; in _of_opp_free_required_opps()
290 kfree(required_opps); in _of_opp_free_required_opps()
303 struct dev_pm_opp **required_opps; in _of_opp_alloc_required_opps() local
311 required_opps = kcalloc(count, sizeof(*required_opps), GFP_KERNEL); in _of_opp_alloc_required_opps()
312 if (!required_opps) in _of_opp_alloc_required_opps()
315 opp->required_opps = required_opps; in _of_opp_alloc_required_opps()
[all …]
Dopp.h111 struct dev_pm_opp **required_opps; member
Dcore.c245 return opp->required_opps[index]->level; in dev_pm_opp_get_required_pstate()
1027 unsigned int pstate = likely(opp) ? opp->required_opps[i]->level: 0; in _set_performance_state()
1943 if (opp->required_opps[i]->available) in _required_opps_available()
1948 __func__, opp->required_opps[i]->np, opp->rates[0]); in _required_opps_available()
2737 dest_opp = opp->required_opps[i]; in dev_pm_opp_xlate_required_opp()
2813 dest_pstate = opp->required_opps[i]->level; in dev_pm_opp_xlate_performance_state()