Lines Matching refs:required_opps
274 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()
363 if (!opp->required_opps) in _of_opp_alloc_required_opps()