Searched refs:new_opp (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/opp/ |
D | of.c | 634 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *table, in _read_bw() argument 665 new_opp->bandwidth[i].peak = kBps_to_icc(bw[i]); in _read_bw() 667 new_opp->bandwidth[i].avg = kBps_to_icc(bw[i]); in _read_bw() 675 static int _read_opp_key(struct dev_pm_opp *new_opp, struct opp_table *table, in _read_opp_key() argument 689 new_opp->rate = (unsigned long)rate; in _read_opp_key() 699 ret = _read_bw(new_opp, table, np, true); in _read_opp_key() 702 ret = _read_bw(new_opp, table, np, false); in _read_opp_key() 709 if (!of_property_read_u32(np, "opp-level", &new_opp->level)) in _read_opp_key() 745 struct dev_pm_opp *new_opp; in _opp_add_static_v2() local 750 new_opp = _opp_allocate(opp_table); in _opp_add_static_v2() [all …]
|
D | core.c | 776 data->new_opp.rate = freq; in _set_opp_custom() 777 memcpy(data->new_opp.supplies, new_supply, size); in _set_opp_custom() 1448 static int _opp_is_duplicate(struct device *dev, struct dev_pm_opp *new_opp, in _opp_is_duplicate() argument 1464 opp_cmp = _opp_compare_key(new_opp, opp); in _opp_is_duplicate() 1476 opp->available, new_opp->rate, in _opp_is_duplicate() 1477 new_opp->supplies[0].u_volt, new_opp->available); in _opp_is_duplicate() 1481 new_opp->supplies[0].u_volt == opp->supplies[0].u_volt ? -EBUSY : -EEXIST; in _opp_is_duplicate() 1497 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, in _opp_add() argument 1507 ret = _opp_is_duplicate(dev, new_opp, opp_table, &head); in _opp_add() 1514 list_add(&new_opp->node, head); in _opp_add() [all …]
|
D | ti-opp-supply.c | 280 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()
|
D | opp.h | 223 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table, bool rate…
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
D | imx-bus.c | 25 struct dev_pm_opp *new_opp; in imx_bus_target() local 28 new_opp = devfreq_recommended_opp(dev, freq, flags); in imx_bus_target() 29 if (IS_ERR(new_opp)) { in imx_bus_target() 30 ret = PTR_ERR(new_opp); in imx_bus_target() 34 dev_pm_opp_put(new_opp); in imx_bus_target()
|
D | imx8m-ddrc.c | 234 struct dev_pm_opp *new_opp; in imx8m_ddrc_target() local 238 new_opp = devfreq_recommended_opp(dev, freq, flags); in imx8m_ddrc_target() 239 if (IS_ERR(new_opp)) { in imx8m_ddrc_target() 240 ret = PTR_ERR(new_opp); in imx8m_ddrc_target() 244 dev_pm_opp_put(new_opp); in imx8m_ddrc_target()
|
D | exynos-bus.c | 95 struct dev_pm_opp *new_opp; in exynos_bus_target() local 99 new_opp = devfreq_recommended_opp(dev, freq, flags); in exynos_bus_target() 100 if (IS_ERR(new_opp)) { in exynos_bus_target() 102 return PTR_ERR(new_opp); in exynos_bus_target() 105 dev_pm_opp_put(new_opp); in exynos_bus_target()
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_opp.h | 82 struct dev_pm_opp_info new_opp; member
|