Lines Matching refs:required_opps
271 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()
316 required_opps[i] = _find_opp_of_np(required_table, np); in _of_opp_alloc_required_opps()
319 if (!required_opps[i]) { in _of_opp_alloc_required_opps()