new_opp 96 drivers/devfreq/exynos-bus.c struct dev_pm_opp *new_opp; new_opp 100 drivers/devfreq/exynos-bus.c new_opp = devfreq_recommended_opp(dev, freq, flags); new_opp 101 drivers/devfreq/exynos-bus.c if (IS_ERR(new_opp)) { new_opp 103 drivers/devfreq/exynos-bus.c return PTR_ERR(new_opp); new_opp 106 drivers/devfreq/exynos-bus.c dev_pm_opp_put(new_opp); new_opp 738 drivers/opp/core.c data->new_opp.rate = freq; new_opp 739 drivers/opp/core.c memcpy(data->new_opp.supplies, new_supply, size); new_opp 1285 drivers/opp/core.c static int _opp_is_duplicate(struct device *dev, struct dev_pm_opp *new_opp, new_opp 1300 drivers/opp/core.c if (new_opp->rate > opp->rate) { new_opp 1305 drivers/opp/core.c if (new_opp->rate < opp->rate) new_opp 1311 drivers/opp/core.c opp->available, new_opp->rate, new_opp 1312 drivers/opp/core.c new_opp->supplies[0].u_volt, new_opp->available); new_opp 1316 drivers/opp/core.c new_opp->supplies[0].u_volt == opp->supplies[0].u_volt ? -EBUSY : -EEXIST; new_opp 1332 drivers/opp/core.c int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, new_opp 1342 drivers/opp/core.c ret = _opp_is_duplicate(dev, new_opp, opp_table, &head); new_opp 1349 drivers/opp/core.c list_add(&new_opp->node, head); new_opp 1352 drivers/opp/core.c new_opp->opp_table = opp_table; new_opp 1353 drivers/opp/core.c kref_init(&new_opp->kref); new_opp 1355 drivers/opp/core.c opp_debug_create_one(new_opp, opp_table); new_opp 1357 drivers/opp/core.c if (!_opp_supported_by_regulators(new_opp, opp_table)) { new_opp 1358 drivers/opp/core.c new_opp->available = false; new_opp 1360 drivers/opp/core.c __func__, new_opp->rate); new_opp 1391 drivers/opp/core.c struct dev_pm_opp *new_opp; new_opp 1395 drivers/opp/core.c new_opp = _opp_allocate(opp_table); new_opp 1396 drivers/opp/core.c if (!new_opp) new_opp 1400 drivers/opp/core.c new_opp->rate = freq; new_opp 1402 drivers/opp/core.c new_opp->supplies[0].u_volt = u_volt; new_opp 1403 drivers/opp/core.c new_opp->supplies[0].u_volt_min = u_volt - tol; new_opp 1404 drivers/opp/core.c new_opp->supplies[0].u_volt_max = u_volt + tol; new_opp 1405 drivers/opp/core.c new_opp->available = true; new_opp 1406 drivers/opp/core.c new_opp->dynamic = dynamic; new_opp 1408 drivers/opp/core.c ret = _opp_add(dev, new_opp, opp_table, false); new_opp 1420 drivers/opp/core.c blocking_notifier_call_chain(&opp_table->head, OPP_EVENT_ADD, new_opp); new_opp 1424 drivers/opp/core.c _opp_free(new_opp); new_opp 1564 drivers/opp/core.c data->new_opp.supplies = data->old_opp.supplies + count; new_opp 551 drivers/opp/of.c struct dev_pm_opp *new_opp; new_opp 557 drivers/opp/of.c new_opp = _opp_allocate(opp_table); new_opp 558 drivers/opp/of.c if (!new_opp) new_opp 576 drivers/opp/of.c new_opp->rate = (unsigned long)rate; new_opp 579 drivers/opp/of.c of_property_read_u32(np, "opp-level", &new_opp->level); new_opp 587 drivers/opp/of.c new_opp->turbo = of_property_read_bool(np, "turbo-mode"); new_opp 589 drivers/opp/of.c new_opp->np = np; new_opp 590 drivers/opp/of.c new_opp->dynamic = false; new_opp 591 drivers/opp/of.c new_opp->available = true; new_opp 593 drivers/opp/of.c ret = _of_opp_alloc_required_opps(opp_table, new_opp); new_opp 598 drivers/opp/of.c new_opp->clock_latency_ns = val; new_opp 600 drivers/opp/of.c ret = opp_parse_supplies(new_opp, dev, opp_table); new_opp 605 drivers/opp/of.c new_opp->pstate = pm_genpd_opp_to_performance_state(dev, new_opp); new_opp 607 drivers/opp/of.c ret = _opp_add(dev, new_opp, opp_table, rate_not_available); new_opp 619 drivers/opp/of.c if (new_opp->rate > opp_table->suspend_opp->rate) { new_opp 621 drivers/opp/of.c new_opp->suspend = true; new_opp 622 drivers/opp/of.c opp_table->suspend_opp = new_opp; new_opp 625 drivers/opp/of.c new_opp->suspend = true; new_opp 626 drivers/opp/of.c opp_table->suspend_opp = new_opp; new_opp 630 drivers/opp/of.c if (new_opp->clock_latency_ns > opp_table->clock_latency_ns_max) new_opp 631 drivers/opp/of.c opp_table->clock_latency_ns_max = new_opp->clock_latency_ns; new_opp 634 drivers/opp/of.c __func__, new_opp->turbo, new_opp->rate, new_opp 635 drivers/opp/of.c new_opp->supplies[0].u_volt, new_opp->supplies[0].u_volt_min, new_opp 636 drivers/opp/of.c new_opp->supplies[0].u_volt_max, new_opp->clock_latency_ns); new_opp 642 drivers/opp/of.c blocking_notifier_call_chain(&opp_table->head, OPP_EVENT_ADD, new_opp); new_opp 643 drivers/opp/of.c return new_opp; new_opp 646 drivers/opp/of.c _of_opp_free_required_opps(opp_table, new_opp); new_opp 648 drivers/opp/of.c _opp_free(new_opp); new_opp 216 drivers/opp/opp.h int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table, bool rate_not_available); new_opp 280 drivers/opp/ti-opp-supply.c struct dev_pm_opp_supply *new_supply_vdd = &data->new_opp.supplies[0]; new_opp 281 drivers/opp/ti-opp-supply.c struct dev_pm_opp_supply *new_supply_vbb = &data->new_opp.supplies[1]; new_opp 283 drivers/opp/ti-opp-supply.c unsigned long old_freq = data->old_opp.rate, freq = data->new_opp.rate; new_opp 68 include/linux/pm_opp.h struct dev_pm_opp_info new_opp;