Home
last modified time | relevance | path

Searched refs:dev_pm_opp (Results 1 – 25 of 37) sorted by relevance

12

/linux/drivers/opp/
H A Dopp.h108 struct dev_pm_opp { struct
125 struct dev_pm_opp **required_opps; argument
224 struct dev_pm_opp *current_opp;
225 struct dev_pm_opp *suspend_opp;
257 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table);
258 void _opp_free(struct dev_pm_opp *opp);
259 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
260 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table);
264 void _required_opps_available(struct dev_pm_opp *opp, int count);
275 void _of_clear_opp(struct opp_table *opp_table, struct dev_pm_opp *opp);
[all …]
H A Dcore.c126 unsigned long dev_pm_opp_get_bw(struct dev_pm_opp *opp, bool peak, int index) in dev_pm_opp_get_bw()
152 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage()
174 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, in dev_pm_opp_get_supplies()
197 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp) in dev_pm_opp_get_power()
222 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index) in dev_pm_opp_get_freq_indexed()
240 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp) in dev_pm_opp_get_level()
260 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp, in dev_pm_opp_get_required_pstate()
293 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo()
330 struct dev_pm_opp *opp; in dev_pm_opp_get_max_volt_latency()
430 struct dev_pm_opp *opp; in _get_opp_count()
[all …]
H A Dof.c75 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np()
78 struct dev_pm_opp *opp; in _find_opp_of_np()
251 struct dev_pm_opp *opp) in _of_opp_free_required_opps()
253 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps()
271 void _of_clear_opp(struct opp_table *opp_table, struct dev_pm_opp *opp) in _of_clear_opp()
277 static int _link_required_opps(struct dev_pm_opp *opp, in _link_required_opps()
298 struct dev_pm_opp *opp) in _of_opp_alloc_required_opps()
334 struct dev_pm_opp *opp; in lazy_link_required_opps()
350 struct dev_pm_opp *opp; in lazy_link_required_opp_table()
556 static u32 *_parse_named_prop(struct dev_pm_opp *opp, struct device *dev, in _parse_named_prop()
[all …]
H A Dti-opp-supply.c275 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, in ti_opp_config_regulators()
H A Dcpu.c60 struct dev_pm_opp *opp __free(put_opp) = in dev_pm_opp_init_cpufreq_table()
/linux/Documentation/translations/zh_CN/power/
H A Dopp.rst96 OPP库内部用dev_pm_opp结构体存储并管理这些信息。这个函数可以被SoC框架根据SoC
222 由于OPP库对OPP信息进行了抽象化处理,因此需要一组函数来从dev_pm_opp结构体中提取
309 struct dev_pm_opp
315 结构体dev_pm_opp的指针不应该由用户解析或修改。一个实例的默认值由
/linux/rust/kernel/
H A Dopp.rs518 opp: *mut bindings::dev_pm_opp, in config_clks() argument
542 old_opp: *mut bindings::dev_pm_opp, in config_regulators() argument
543 new_opp: *mut bindings::dev_pm_opp, in config_regulators() argument
1034 pub struct OPP(Opaque<bindings::dev_pm_opp>);
1068 pub unsafe fn from_raw_opp_owned(ptr: *mut bindings::dev_pm_opp) -> Result<ARef<Self>> { in from_raw_opp_owned()
1086 pub unsafe fn from_raw_opp<'a>(ptr: *mut bindings::dev_pm_opp) -> Result<&'a Self> { in from_raw_opp()
1093 fn as_raw(&self) -> *mut bindings::dev_pm_opp { in as_raw() argument
/linux/drivers/gpu/drm/lima/
H A Dlima_devfreq.c37 struct dev_pm_opp *opp; in lima_devfreq_target()
111 struct dev_pm_opp *opp; in lima_devfreq_init()
/linux/include/linux/
H A Ddevfreq.h254 struct dev_pm_opp *devfreq_recommended_opp(struct device *dev,
384 static inline struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, in devfreq_recommended_opp()
/linux/drivers/cpufreq/
H A Dtegra186-cpufreq.c84 struct dev_pm_opp *opp __free(put_opp) = in tegra_cpufreq_set_bw()
130 struct dev_pm_opp *opp __free(put_opp) = in tegra_cpufreq_init_cpufreq_table()
147 struct dev_pm_opp *opp __free(put_opp) = in tegra_cpufreq_init_cpufreq_table()
H A Dqcom-cpufreq-hw.c76 struct dev_pm_opp *opp; in qcom_cpufreq_set_bw()
208 struct dev_pm_opp *opp; in qcom_cpufreq_hw_read_lut()
332 struct dev_pm_opp *opp; in qcom_lmh_dcvs_notify()
H A Dimx6q-cpufreq.c62 struct dev_pm_opp *opp; in imx6q_set_target()
327 struct dev_pm_opp *opp; in imx6q_cpufreq_probe()
H A Dtegra194-cpufreq.c87 struct dev_pm_opp *opp; in tegra_cpufreq_set_bw()
431 struct dev_pm_opp *opp; in tegra_cpufreq_init_cpufreq_table()
H A Dapple-soc-cpufreq.c294 struct dev_pm_opp *opp = dev_pm_opp_find_freq_floor(cpu_dev, &rate); in apple_soc_cpufreq_init()
/linux/drivers/devfreq/
H A Dimx8m-ddrc.c234 struct dev_pm_opp *new_opp; in imx8m_ddrc_target()
333 struct dev_pm_opp *opp; in imx8m_ddrc_check_opps()
H A Drk3399_dmc.c74 struct dev_pm_opp *opp; in rk3399_dmcfreq_target()
341 struct dev_pm_opp *opp; in rk3399_dmcfreq_probe()
H A Dimx-bus.c25 struct dev_pm_opp *new_opp; in imx_bus_target()
H A Ddevfreq.c88 struct dev_pm_opp *opp; in find_available_min_freq()
102 struct dev_pm_opp *opp; in find_available_max_freq()
178 struct dev_pm_opp *opp; in set_freq_table()
2060 struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, in devfreq_recommended_opp()
2064 struct dev_pm_opp *opp; in devfreq_recommended_opp()
H A Dgovernor_passive.c80 struct dev_pm_opp *opp = NULL, *p_opp = NULL; in get_target_freq_by_required_opp()
/linux/drivers/thermal/
H A Ddevfreq_cooling.c152 struct dev_pm_opp *opp; in get_voltage()
362 struct dev_pm_opp *opp; in devfreq_cooling_gen_tables()
/linux/drivers/clk/qcom/
H A Da53-pll.c67 struct dev_pm_opp *opp; in qcom_a53pll_get_freq_tbl()
/linux/drivers/soc/samsung/
H A Dexynos-asv.c31 struct dev_pm_opp *opp; in exynos_asv_update_cpu_opps()
/linux/Documentation/power/
H A Dopp.rst106 internally stores and manages this information in the dev_pm_opp struct.
250 information from the dev_pm_opp structure is necessary. Once an OPP pointer is
343 struct dev_pm_opp
352 The struct dev_pm_opp pointer should not be parsed or modified by the
/linux/drivers/clk/tegra/
H A Dclk-dfll.c506 struct dev_pm_opp *opp; in get_dvco_rate_below()
798 struct dev_pm_opp *opp; in find_lut_index_for_rate()
1714 struct dev_pm_opp *opp; in dfll_build_i2c_lut()
1768 struct dev_pm_opp *opp; in dfll_build_lut()
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_gpu.h304 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp,

12