Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/opp/
Dof.c274 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() local
277 if (!required_opps) in _of_opp_free_required_opps()
281 if (!required_opps[i]) in _of_opp_free_required_opps()
285 dev_pm_opp_put(required_opps[i]); in _of_opp_free_required_opps()
288 opp->required_opps = NULL; in _of_opp_free_required_opps()
289 kfree(required_opps); in _of_opp_free_required_opps()
307 opp->required_opps[index] = _find_opp_of_np(required_table, np); in _link_required_opps()
310 if (!opp->required_opps[index]) { in _link_required_opps()
345 opp->level = opp->required_opps[0]->level; in _link_required_opps()
362 opp->required_opps = kcalloc(count, sizeof(*opp->required_opps), GFP_KERNEL); in _of_opp_alloc_required_opps()
[all …]
Dopp.h124 struct dev_pm_opp **required_opps; member
Dcore.c245 return opp->required_opps[index]->level; in dev_pm_opp_get_required_pstate()
1113 required_opp = opp ? opp->required_opps[index] : NULL; in _set_required_opps()
1971 if (opp->required_opps[i]->available) in _required_opps_available()
1976 __func__, opp->required_opps[i]->np, opp->rates[0]); in _required_opps_available()
2760 dest_opp = opp->required_opps[i]; in dev_pm_opp_xlate_required_opp()
2836 dest_pstate = opp->required_opps[i]->level; in dev_pm_opp_xlate_performance_state()