Searched refs:new_opp (Results 1 - 9 of 9) sorted by relevance

/linux-master/drivers/opp/
H A Dof.c785 static int _read_rate(struct dev_pm_opp *new_opp, struct opp_table *opp_table, argument
817 new_opp->rates[i] = (unsigned long)rates[i];
820 WARN_ON(new_opp->rates[i] != rates[i]);
829 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *opp_table, argument
860 new_opp->bandwidth[i].peak = kBps_to_icc(bw[i]);
862 new_opp->bandwidth[i].avg = kBps_to_icc(bw[i]);
870 static int _read_opp_key(struct dev_pm_opp *new_opp, argument
876 ret = _read_rate(new_opp, opp_table, np);
887 ret = _read_bw(new_opp, opp_table, np, true);
890 ret = _read_bw(new_opp, opp_tabl
933 struct dev_pm_opp *new_opp; local
[all...]
H A Dcore.c1007 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,
1019 ret = _set_opp_voltage(dev, reg, new_opp->supplies);
1027 if (unlikely(!new_opp->opp_table->enabled)) {
1928 static int _opp_is_duplicate(struct device *dev, struct dev_pm_opp *new_opp, argument
1944 opp_cmp = _opp_compare_key(opp_table, new_opp, opp);
1956 opp->available, new_opp->rates[0],
1957 new_opp->supplies[0].u_volt, new_opp->available);
1961 new_opp->supplies[0].u_volt == opp->supplies[0].u_volt ? -EBUSY : -EEXIST;
1992 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, argument
1006 _opp_config_regulator_single(struct device *dev, struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, struct regulator **regulators, unsigned int count) argument
2054 struct dev_pm_opp *new_opp; local
[all...]
H A Dti-opp-supply.c276 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,
293 ret = dev_pm_opp_get_supplies(new_opp, opp_data.new_supplies);
297 freq = dev_pm_opp_get_freq(new_opp);
275 ti_opp_config_regulators(struct device *dev, struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, struct regulator **regulators, unsigned int count) argument
H A Dopp.h261 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table);
/linux-master/drivers/devfreq/
H A Dimx-bus.c25 struct dev_pm_opp *new_opp; local
28 new_opp = devfreq_recommended_opp(dev, freq, flags);
29 if (IS_ERR(new_opp)) {
30 ret = PTR_ERR(new_opp);
34 dev_pm_opp_put(new_opp);
H A Dimx8m-ddrc.c234 struct dev_pm_opp *new_opp; local
238 new_opp = devfreq_recommended_opp(dev, freq, flags);
239 if (IS_ERR(new_opp)) {
240 ret = PTR_ERR(new_opp);
244 dev_pm_opp_put(new_opp);
H A Dexynos-bus.c96 struct dev_pm_opp *new_opp; local
100 new_opp = devfreq_recommended_opp(dev, freq, flags);
101 if (IS_ERR(new_opp)) {
103 return PTR_ERR(new_opp);
106 dev_pm_opp_put(new_opp);
/linux-master/drivers/cpufreq/
H A Dmediatek-cpufreq.c320 struct dev_pm_opp *new_opp; local
346 new_opp = dev_pm_opp_find_freq_ceil(info->cpu_dev,
348 if (IS_ERR(new_opp)) {
351 ret = PTR_ERR(new_opp);
355 dev_pm_opp_put(new_opp);
/linux-master/include/linux/
H A Dpm_opp.h50 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,

Completed in 132 milliseconds