Home
last modified time | relevance | path

Searched refs:opp (Results 1 – 13 of 13) sorted by relevance

/linux-4.19.296/include/linux/
Dpm_opp.h84 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp);
86 unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp);
88 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp);
105 void dev_pm_opp_put(struct dev_pm_opp *opp);
141 static inline unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage() argument
146 static inline unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp) in dev_pm_opp_get_freq() argument
151 static inline bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo() argument
199 static inline void dev_pm_opp_put(struct dev_pm_opp *opp) {} in dev_pm_opp_put() argument
303 struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp);
342 static inline struct device_node *dev_pm_opp_get_of_node(struct dev_pm_opp *opp) in dev_pm_opp_get_of_node() argument
Dpm_domain.h73 struct dev_pm_opp *opp);
/linux-4.19.296/drivers/cpufreq/
Dimx6q-cpufreq.c66 struct dev_pm_opp *opp; in imx6q_set_target() local
76 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in imx6q_set_target()
77 if (IS_ERR(opp)) { in imx6q_set_target()
79 return PTR_ERR(opp); in imx6q_set_target()
82 volt = dev_pm_opp_get_voltage(opp); in imx6q_set_target()
83 dev_pm_opp_put(opp); in imx6q_set_target()
363 struct dev_pm_opp *opp; in imx6q_cpufreq_probe() local
507 opp = dev_pm_opp_find_freq_exact(cpu_dev, in imx6q_cpufreq_probe()
509 min_volt = dev_pm_opp_get_voltage(opp); in imx6q_cpufreq_probe()
510 dev_pm_opp_put(opp); in imx6q_cpufreq_probe()
[all …]
Dmediatek-cpufreq.c220 struct dev_pm_opp *opp; in mtk_cpufreq_set_target() local
235 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz); in mtk_cpufreq_set_target()
236 if (IS_ERR(opp)) { in mtk_cpufreq_set_target()
239 return PTR_ERR(opp); in mtk_cpufreq_set_target()
241 vproc = dev_pm_opp_get_voltage(opp); in mtk_cpufreq_set_target()
242 dev_pm_opp_put(opp); in mtk_cpufreq_set_target()
324 struct dev_pm_opp *opp; in mtk_cpu_dvfs_info_init() local
390 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &rate); in mtk_cpu_dvfs_info_init()
391 if (IS_ERR(opp)) { in mtk_cpu_dvfs_info_init()
393 ret = PTR_ERR(opp); in mtk_cpu_dvfs_info_init()
[all …]
Domap-cpufreq.c48 struct dev_pm_opp *opp; in omap_target() local
66 opp = dev_pm_opp_find_freq_ceil(mpu_dev, &freq); in omap_target()
67 if (IS_ERR(opp)) { in omap_target()
72 volt = dev_pm_opp_get_voltage(opp); in omap_target()
73 dev_pm_opp_put(opp); in omap_target()
DKconfig.arm290 provide dt based operating-points-v2 tables with opp-supported-hw
/linux-4.19.296/drivers/clk/
Dclk-scpi.c78 const struct scpi_opp *opp = clk->info->opps; in __scpi_dvfs_round_rate() local
80 for (idx = 0; idx < clk->info->count; idx++, opp++) { in __scpi_dvfs_round_rate()
81 ftmp = opp->freq; in __scpi_dvfs_round_rate()
98 const struct scpi_opp *opp; in scpi_dvfs_recalc_rate() local
103 opp = clk->info->opps + idx; in scpi_dvfs_recalc_rate()
104 return opp->freq; in scpi_dvfs_recalc_rate()
118 const struct scpi_opp *opp = clk->info->opps; in __scpi_find_dvfs_index() local
120 for (idx = 0; idx < max_opp; idx++, opp++) in __scpi_find_dvfs_index()
121 if (opp->freq == rate) in __scpi_find_dvfs_index()
/linux-4.19.296/include/linux/mfd/
Ddbx500-prcmu.h277 static inline int prcmu_set_arm_opp(u8 opp) in prcmu_set_arm_opp() argument
279 return db8500_prcmu_set_arm_opp(opp); in prcmu_set_arm_opp()
287 static inline int prcmu_set_ape_opp(u8 opp) in prcmu_set_ape_opp() argument
289 return db8500_prcmu_set_ape_opp(opp); in prcmu_set_ape_opp()
463 static inline int prcmu_set_ape_opp(u8 opp) in prcmu_set_ape_opp() argument
478 static inline int prcmu_set_arm_opp(u8 opp) in prcmu_set_arm_opp() argument
Ddb8500-prcmu.h536 int db8500_prcmu_set_arm_opp(u8 opp);
538 int db8500_prcmu_set_ape_opp(u8 opp);
576 static inline int db8500_prcmu_set_ape_opp(u8 opp) in db8500_prcmu_set_ape_opp() argument
744 static inline int db8500_prcmu_set_arm_opp(u8 opp) in db8500_prcmu_set_arm_opp() argument
/linux-4.19.296/drivers/clk/tegra/
Dclk-dfll.c633 struct dev_pm_opp *opp; in find_lut_index_for_rate() local
636 opp = dev_pm_opp_find_freq_ceil(td->soc->dev, &rate); in find_lut_index_for_rate()
637 if (IS_ERR(opp)) in find_lut_index_for_rate()
638 return PTR_ERR(opp); in find_lut_index_for_rate()
640 uv = dev_pm_opp_get_voltage(opp); in find_lut_index_for_rate()
641 dev_pm_opp_put(opp); in find_lut_index_for_rate()
1418 struct dev_pm_opp *opp; in dfll_build_i2c_lut() local
1422 opp = dev_pm_opp_find_freq_floor(td->soc->dev, &rate); in dfll_build_i2c_lut()
1423 if (IS_ERR(opp)) { in dfll_build_i2c_lut()
1427 v_max = dev_pm_opp_get_voltage(opp); in dfll_build_i2c_lut()
[all …]
/linux-4.19.296/drivers/
DMakefile128 obj-$(CONFIG_PM_OPP) += opp/
/linux-4.19.296/drivers/base/power/
Ddomain.c2539 struct dev_pm_opp *opp; in of_genpd_opp_to_performance_state() local
2551 opp = of_dev_pm_opp_find_required_opp(&genpd->dev, np); in of_genpd_opp_to_performance_state()
2552 if (IS_ERR(opp)) { in of_genpd_opp_to_performance_state()
2554 PTR_ERR(opp)); in of_genpd_opp_to_performance_state()
2558 state = genpd->opp_to_performance_state(genpd, opp); in of_genpd_opp_to_performance_state()
2559 dev_pm_opp_put(opp); in of_genpd_opp_to_performance_state()
/linux-4.19.296/
DMAINTAINERS10858 F: drivers/opp/
10860 F: Documentation/power/opp.txt
10861 F: Documentation/devicetree/bindings/opp/
12083 F: Documentation/devicetree/bindings/opp/kryo-cpufreq.txt