Lines Matching refs:old_opp
757 struct dev_pm_opp *old_opp = opp_table->current_opp; in _generic_set_opp_regulator() local
798 if (_generic_set_opp_clk_only(dev, opp_table->clk, old_opp->rate)) in _generic_set_opp_regulator()
800 __func__, old_opp->rate); in _generic_set_opp_regulator()
803 _set_opp_voltage(dev, reg, old_opp->supplies); in _generic_set_opp_regulator()
841 struct dev_pm_opp *old_opp = opp_table->current_opp; in _set_opp_custom() local
849 size = sizeof(*old_opp->supplies) * opp_table->regulator_count; in _set_opp_custom()
850 memcpy(data->old_opp.supplies, old_opp->supplies, size); in _set_opp_custom()
860 data->old_opp.rate = old_opp->rate; in _set_opp_custom()
998 struct dev_pm_opp *old_opp; in _set_opp() local
1008 old_opp = opp_table->current_opp; in _set_opp()
1011 if (old_opp == opp && opp_table->current_rate == freq && in _set_opp()
1018 __func__, opp_table->current_rate, freq, old_opp->level, in _set_opp()
1019 opp->level, old_opp->bandwidth ? old_opp->bandwidth[0].peak : 0, in _set_opp()
1022 scaling_down = _opp_compare_key(old_opp, opp); in _set_opp()
1070 dev_pm_opp_put(old_opp); in _set_opp()
2018 opp_table->set_opp_data->old_opp.supplies = supplies; in dev_pm_opp_set_regulators()
2063 opp_table->set_opp_data->old_opp.supplies = NULL; in dev_pm_opp_put_regulators()
2246 data->old_opp.supplies = opp_table->sod_supplies; in dev_pm_opp_register_set_opp_helper()