Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/opp/
Dof.c271 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() local
274 if (!required_opps) in _of_opp_free_required_opps()
278 if (!required_opps[i]) in _of_opp_free_required_opps()
282 dev_pm_opp_put(required_opps[i]); in _of_opp_free_required_opps()
285 kfree(required_opps); in _of_opp_free_required_opps()
286 opp->required_opps = NULL; in _of_opp_free_required_opps()
293 struct dev_pm_opp **required_opps; in _of_opp_alloc_required_opps() local
301 required_opps = kcalloc(count, sizeof(*required_opps), GFP_KERNEL); in _of_opp_alloc_required_opps()
302 if (!required_opps) in _of_opp_alloc_required_opps()
305 opp->required_opps = required_opps; in _of_opp_alloc_required_opps()
[all …]
Dopp.h87 struct dev_pm_opp **required_opps; member
Dcore.c759 pstate = likely(opp) ? opp->required_opps[0]->pstate : 0; in _set_required_opps()
777 pstate = likely(opp) ? opp->required_opps[i]->pstate : 0; in _set_required_opps()
1984 dest_pstate = opp->required_opps[i]->pstate; in dev_pm_opp_xlate_performance_state()