Searched refs:new_opp (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/opp/ |
| H A D | of.c | 721 static int _read_rate(struct dev_pm_opp *new_opp, struct opp_table *opp_table, in _read_rate() argument 753 new_opp->rates[i] = (unsigned long)rates[i]; in _read_rate() 756 WARN_ON(new_opp->rates[i] != rates[i]); in _read_rate() 765 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *opp_table, in _read_bw() argument 796 new_opp->bandwidth[i].peak = kBps_to_icc(bw[i]); in _read_bw() 798 new_opp->bandwidth[i].avg = kBps_to_icc(bw[i]); in _read_bw() 806 static int _read_opp_key(struct dev_pm_opp *new_opp, in _read_opp_key() argument 812 ret = _read_rate(new_opp, opp_table, np); in _read_opp_key() 823 ret = _read_bw(new_opp, opp_table, np, true); in _read_opp_key() 826 ret = _read_bw(new_opp, opp_table, np, false); in _read_opp_key() [all …]
|
| H A D | ti-opp-supply.c | 275 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, in ti_opp_config_regulators() argument 292 ret = dev_pm_opp_get_supplies(new_opp, opp_data.new_supplies); in ti_opp_config_regulators() 296 freq = dev_pm_opp_get_freq(new_opp); in ti_opp_config_regulators()
|
| H A D | opp.h | 260 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table);
|
| /linux/drivers/devfreq/ |
| H A 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()
|
| H A 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()
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 543 new_opp: *mut bindings::dev_pm_opp, in config_regulators() 555 unsafe { OPP::from_raw_opp(new_opp)? }, in config_regulators()
|