Home
last modified time | relevance | path

Searched refs:new_opp (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/opp/
Dof.c551 struct dev_pm_opp *new_opp; in _opp_add_static_v2() local
557 new_opp = _opp_allocate(opp_table); in _opp_add_static_v2()
558 if (!new_opp) in _opp_add_static_v2()
576 new_opp->rate = (unsigned long)rate; in _opp_add_static_v2()
579 of_property_read_u32(np, "opp-level", &new_opp->level); in _opp_add_static_v2()
587 new_opp->turbo = of_property_read_bool(np, "turbo-mode"); in _opp_add_static_v2()
589 new_opp->np = np; in _opp_add_static_v2()
590 new_opp->dynamic = false; in _opp_add_static_v2()
591 new_opp->available = true; in _opp_add_static_v2()
593 ret = _of_opp_alloc_required_opps(opp_table, new_opp); in _opp_add_static_v2()
[all …]
Dcore.c738 data->new_opp.rate = freq; in _set_opp_custom()
739 memcpy(data->new_opp.supplies, new_supply, size); in _set_opp_custom()
1285 static int _opp_is_duplicate(struct device *dev, struct dev_pm_opp *new_opp, in _opp_is_duplicate() argument
1300 if (new_opp->rate > opp->rate) { in _opp_is_duplicate()
1305 if (new_opp->rate < opp->rate) in _opp_is_duplicate()
1311 opp->available, new_opp->rate, in _opp_is_duplicate()
1312 new_opp->supplies[0].u_volt, new_opp->available); in _opp_is_duplicate()
1316 new_opp->supplies[0].u_volt == opp->supplies[0].u_volt ? -EBUSY : -EEXIST; in _opp_is_duplicate()
1332 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, in _opp_add() argument
1342 ret = _opp_is_duplicate(dev, new_opp, opp_table, &head); in _opp_add()
[all …]
Dti-opp-supply.c280 struct dev_pm_opp_supply *new_supply_vdd = &data->new_opp.supplies[0]; in ti_opp_supply_set_opp()
281 struct dev_pm_opp_supply *new_supply_vbb = &data->new_opp.supplies[1]; in ti_opp_supply_set_opp()
283 unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate; in ti_opp_supply_set_opp()
Dopp.h216 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table, bool rate…
/Linux-v5.4/drivers/devfreq/
Dexynos-bus.c96 struct dev_pm_opp *new_opp; in exynos_bus_target() local
100 new_opp = devfreq_recommended_opp(dev, freq, flags); in exynos_bus_target()
101 if (IS_ERR(new_opp)) { in exynos_bus_target()
103 return PTR_ERR(new_opp); in exynos_bus_target()
106 dev_pm_opp_put(new_opp); in exynos_bus_target()
/Linux-v5.4/include/linux/
Dpm_opp.h68 struct dev_pm_opp_info new_opp; member