Home
last modified time | relevance | path

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

123

/linux/include/linux/
H A Dpm_opp.h22 struct dev_pm_opp;
51 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp,
55 struct dev_pm_opp *opp, void *data, bool scaling_down);
126 unsigned long dev_pm_opp_get_bw(struct dev_pm_opp *opp, bool peak, int index);
128 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp);
130 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, struct dev_pm_opp_supply *supplies);
132 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp);
134 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index);
136 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp);
138 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp,
[all …]
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/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 Ddebugfs.c31 void opp_debug_remove_one(struct dev_pm_opp *opp) in opp_debug_remove_one()
56 static void opp_debug_create_bw(struct dev_pm_opp *opp, in opp_debug_create_bw()
79 static void opp_debug_create_clks(struct dev_pm_opp *opp, in opp_debug_create_clks()
97 static void opp_debug_create_supplies(struct dev_pm_opp *opp, in opp_debug_create_supplies()
129 void opp_debug_create_one(struct dev_pm_opp *opp, struct opp_table *opp_table) in opp_debug_create_one()
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/drivers/gpu/drm/panfrost/
H A Dpanfrost_devfreq.c35 struct dev_pm_opp *opp; in panfrost_devfreq_target()
122 struct dev_pm_opp *opp; in panfrost_devfreq_init()
/linux/drivers/devfreq/
H A Dmtk-cci-devfreq.c130 struct dev_pm_opp *opp; in mtk_ccifreq_target()
224 struct dev_pm_opp *opp = data; in mtk_ccifreq_opp_notifier()
254 struct dev_pm_opp *opp; in mtk_ccifreq_probe()
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 Dexynos-bus.c96 struct dev_pm_opp *new_opp; in exynos_bus_target()
242 struct dev_pm_opp *opp; in exynos_bus_parse_of()
H A Dimx-bus.c25 struct dev_pm_opp *new_opp; in imx_bus_target()
/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 Dmediatek-cpufreq.c208 struct dev_pm_opp *opp; in mtk_cpufreq_set_target()
319 struct dev_pm_opp *opp = data; in mtk_cpufreq_opp_notifier()
320 struct dev_pm_opp *new_opp; in mtk_cpufreq_opp_notifier()
387 struct dev_pm_opp *opp; in mtk_cpu_dvfs_info_init()
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 Dairoha-cpufreq.c24 struct dev_pm_opp *opp, in airoha_cpufreq_config_clks_nop()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_devfreq.c66 struct dev_pm_opp *opp; in panthor_devfreq_target()
146 struct dev_pm_opp *opp; in panthor_devfreq_init()
/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()

123