/linux-6.12.1/include/linux/ |
D | pm_opp.h | 21 struct dev_pm_opp; 50 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, 54 struct dev_pm_opp *opp, void *data, bool scaling_down); 109 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp); 111 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, struct dev_pm_opp_supply *supplies); 113 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp); 115 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index); 117 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp); 119 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp, 122 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp); [all …]
|
D | devfreq.h | 250 struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, 380 static inline struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, in devfreq_recommended_opp()
|
/linux-6.12.1/drivers/opp/ |
D | opp.h | 107 struct dev_pm_opp { struct 124 struct dev_pm_opp **required_opps; argument 223 struct dev_pm_opp *current_opp; 224 struct dev_pm_opp *suspend_opp; 252 void dev_pm_opp_get(struct dev_pm_opp *opp); 258 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table); 259 void _opp_free(struct dev_pm_opp *opp); 260 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2); 261 int _opp_add(struct device *dev, struct dev_pm_opp *new_opp, struct opp_table *opp_table); 266 void _required_opps_available(struct dev_pm_opp *opp, int count); [all …]
|
D | core.c | 118 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage() 140 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, in dev_pm_opp_get_supplies() 163 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp) in dev_pm_opp_get_power() 188 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index) in dev_pm_opp_get_freq_indexed() 206 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp) in dev_pm_opp_get_level() 226 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *opp, in dev_pm_opp_get_required_pstate() 259 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo() 302 struct dev_pm_opp *opp; in dev_pm_opp_get_max_volt_latency() 405 struct dev_pm_opp *opp; in _get_opp_count() 448 static unsigned long _read_freq(struct dev_pm_opp *opp, int index) in _read_freq() [all …]
|
D | of.c | 78 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np() 81 struct dev_pm_opp *opp; in _find_opp_of_np() 272 struct dev_pm_opp *opp) in _of_opp_free_required_opps() 274 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() 292 void _of_clear_opp(struct opp_table *opp_table, struct dev_pm_opp *opp) in _of_clear_opp() 298 static int _link_required_opps(struct dev_pm_opp *opp, struct opp_table *opp_table, in _link_required_opps() 354 struct dev_pm_opp *opp) in _of_opp_alloc_required_opps() 390 struct dev_pm_opp *opp; in lazy_link_required_opps() 407 struct dev_pm_opp *opp; in lazy_link_required_opp_table() 620 static u32 *_parse_named_prop(struct dev_pm_opp *opp, struct device *dev, in _parse_named_prop() [all …]
|
D | debugfs.c | 31 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()
|
D | ti-opp-supply.c | 276 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, in ti_opp_config_regulators()
|
D | cpu.c | 46 struct dev_pm_opp *opp; in dev_pm_opp_init_cpufreq_table()
|
/linux-6.12.1/Documentation/translations/zh_CN/power/ |
D | opp.rst | 96 OPP库内部用dev_pm_opp结构体存储并管理这些信息。这个函数可以被SoC框架根据SoC 222 由于OPP库对OPP信息进行了抽象化处理,因此需要一组函数来从dev_pm_opp结构体中提取 309 struct dev_pm_opp 315 结构体dev_pm_opp的指针不应该由用户解析或修改。一个实例的默认值由
|
/linux-6.12.1/drivers/gpu/drm/lima/ |
D | lima_devfreq.c | 37 struct dev_pm_opp *opp; in lima_devfreq_target() 111 struct dev_pm_opp *opp; in lima_devfreq_init()
|
/linux-6.12.1/drivers/gpu/drm/panthor/ |
D | panthor_devfreq.c | 65 struct dev_pm_opp *opp; in panthor_devfreq_target() 131 struct dev_pm_opp *opp; in panthor_devfreq_init()
|
/linux-6.12.1/drivers/gpu/drm/panfrost/ |
D | panfrost_devfreq.c | 33 struct dev_pm_opp *opp; in panfrost_devfreq_target() 120 struct dev_pm_opp *opp; in panfrost_devfreq_init()
|
/linux-6.12.1/drivers/devfreq/ |
D | mtk-cci-devfreq.c | 130 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()
|
D | imx8m-ddrc.c | 234 struct dev_pm_opp *new_opp; in imx8m_ddrc_target() 333 struct dev_pm_opp *opp; in imx8m_ddrc_check_opps()
|
D | exynos-bus.c | 96 struct dev_pm_opp *new_opp; in exynos_bus_target() 243 struct dev_pm_opp *opp; in exynos_bus_parse_of()
|
D | rk3399_dmc.c | 74 struct dev_pm_opp *opp; in rk3399_dmcfreq_target() 341 struct dev_pm_opp *opp; in rk3399_dmcfreq_probe()
|
D | imx-bus.c | 25 struct dev_pm_opp *new_opp; in imx_bus_target()
|
/linux-6.12.1/drivers/cpufreq/ |
D | mediatek-cpufreq.c | 208 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() 388 struct dev_pm_opp *opp; in mtk_cpu_dvfs_info_init()
|
D | qcom-cpufreq-hw.c | 76 struct dev_pm_opp *opp; in qcom_cpufreq_set_bw() 207 struct dev_pm_opp *opp; in qcom_cpufreq_hw_read_lut() 331 struct dev_pm_opp *opp; in qcom_lmh_dcvs_notify()
|
D | omap-cpufreq.c | 42 struct dev_pm_opp *opp; in omap_target()
|
/linux-6.12.1/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gpu.h | 111 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp,
|
/linux-6.12.1/drivers/clk/qcom/ |
D | a53-pll.c | 68 struct dev_pm_opp *opp; in qcom_a53pll_get_freq_tbl()
|
/linux-6.12.1/drivers/thermal/ |
D | devfreq_cooling.c | 152 struct dev_pm_opp *opp; in get_voltage() 362 struct dev_pm_opp *opp; in devfreq_cooling_gen_tables()
|
/linux-6.12.1/drivers/soc/samsung/ |
D | exynos-asv.c | 30 struct dev_pm_opp *opp; in exynos_asv_update_cpu_opps()
|
/linux-6.12.1/drivers/clk/tegra/ |
D | clk-device.c | 34 struct dev_pm_opp *opp; in tegra_clock_set_pd_state()
|