/kernel/linux/linux-6.6/include/linux/ |
H A D | pm_opp.h | 20 struct dev_pm_opp; 61 struct dev_pm_opp *old_opp, struct dev_pm_opp *new_opp, 65 struct dev_pm_opp *opp, void *data, bool scaling_down); 100 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp); 102 int dev_pm_opp_get_supplies(struct dev_pm_opp *opp, struct dev_pm_opp_supply *supplies); 104 unsigned long dev_pm_opp_get_power(struct dev_pm_opp *opp); 106 unsigned long dev_pm_opp_get_freq_indexed(struct dev_pm_opp *opp, u32 index); 108 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp); 110 unsigned int dev_pm_opp_get_required_pstate(struct dev_pm_opp *op [all...] |
H A D | pm_domain.h | 116 struct dev_pm_opp; 145 struct dev_pm_opp *opp); 347 struct dev_pm_opp *opp); 395 struct dev_pm_opp *opp) in pm_genpd_opp_to_performance_state()
|
H A 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()
|
/kernel/linux/linux-6.6/drivers/opp/ |
H A D | opp.h | 69 * struct dev_pm_opp - Generic OPP description structure 94 struct dev_pm_opp { struct 111 struct dev_pm_opp **required_opps; 212 struct dev_pm_opp *current_opp; 213 struct dev_pm_opp *suspend_opp; 235 struct opp_table *opp_table, struct dev_pm_opp *opp, bool scaling_down); 244 void dev_pm_opp_get(struct dev_pm_opp *opp); 250 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table); 251 void _opp_free(struct dev_pm_opp *opp); 252 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp [all...] |
H A 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 *op [all...] |
H A 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() 273 struct dev_pm_opp *opp) in _of_opp_free_required_opps() 275 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() 293 void _of_clear_opp(struct opp_table *opp_table, struct dev_pm_opp *opp) in _of_clear_opp() 301 struct dev_pm_opp *opp) in _of_opp_alloc_required_opps() 303 struct dev_pm_opp **required_opps; in _of_opp_alloc_required_opps() 354 struct dev_pm_opp *opp; in lazy_link_required_opps() 379 struct dev_pm_opp *opp; in lazy_link_required_opp_table() 593 static u32 *_parse_named_prop(struct dev_pm_opp *op [all...] |
H A 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()
|
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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | pm_opp.h | 20 struct dev_pm_opp; 96 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp); 98 unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp); 100 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp); 102 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp); 110 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, 113 struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, 116 struct dev_pm_opp *dev_pm_opp_find_freq_floor(struct device *dev, 118 struct dev_pm_opp *dev_pm_opp_find_freq_ceil_by_volt(struct device *dev, 121 struct dev_pm_opp *dev_pm_opp_find_freq_cei [all...] |
H A D | pm_domain.h | 100 struct dev_pm_opp; 127 struct dev_pm_opp *opp); 317 struct dev_pm_opp *opp); 365 struct dev_pm_opp *opp) in pm_genpd_opp_to_performance_state()
|
H A D | devfreq.h | 236 struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, 357 static inline struct dev_pm_opp *devfreq_recommended_opp(struct device *dev, in devfreq_recommended_opp()
|
/kernel/linux/linux-5.10/drivers/opp/ |
H A D | opp.h | 48 * struct dev_pm_opp - Generic OPP description structure 73 struct dev_pm_opp { struct 90 struct dev_pm_opp **required_opps; 185 struct dev_pm_opp *suspend_opp; 214 void dev_pm_opp_get(struct dev_pm_opp *opp); 220 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table); 221 void _opp_free(struct dev_pm_opp *opp); 222 int _opp_compare_key(struct dev_pm_opp *opp1, struct dev_pm_opp *opp2); 223 int _opp_add(struct device *dev, struct dev_pm_opp *new_op [all...] |
H A D | core.c | 101 unsigned long dev_pm_opp_get_voltage(struct dev_pm_opp *opp) in dev_pm_opp_get_voltage() 119 unsigned long dev_pm_opp_get_freq(struct dev_pm_opp *opp) in dev_pm_opp_get_freq() 137 unsigned int dev_pm_opp_get_level(struct dev_pm_opp *opp) in dev_pm_opp_get_level() 158 bool dev_pm_opp_is_turbo(struct dev_pm_opp *opp) in dev_pm_opp_is_turbo() 201 struct dev_pm_opp *opp; in dev_pm_opp_get_max_volt_latency() 304 struct dev_pm_opp *opp; in _get_opp_count() 369 struct dev_pm_opp *dev_pm_opp_find_freq_exact(struct device *dev, in dev_pm_opp_find_freq_exact() 374 struct dev_pm_opp *temp_opp, *opp = ERR_PTR(-ERANGE); in dev_pm_opp_find_freq_exact() 419 struct dev_pm_opp *dev_pm_opp_find_level_exact(struct device *dev, in dev_pm_opp_find_level_exact() 423 struct dev_pm_opp *temp_op in dev_pm_opp_find_level_exact() [all...] |
H A D | of.c | 75 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() 261 struct dev_pm_opp *opp) in _of_opp_free_required_opps() 263 struct dev_pm_opp **required_opps = opp->required_opps; in _of_opp_free_required_opps() 283 struct dev_pm_opp *opp) in _of_opp_alloc_required_opps() 285 struct dev_pm_opp **required_opps; in _of_opp_alloc_required_opps() 482 static int opp_parse_supplies(struct dev_pm_opp *opp, struct device *dev, in opp_parse_supplies() 634 static int _read_bw(struct dev_pm_opp *new_opp, struct opp_table *table, in _read_bw() 675 static int _read_opp_key(struct dev_pm_opp *new_opp, struct opp_table *table, in _read_opp_key() 742 static struct dev_pm_opp *_opp_add_static_v [all...] |
H A D | debugfs.c | 30 void opp_debug_remove_one(struct dev_pm_opp *opp) in opp_debug_remove_one() 53 static void opp_debug_create_bw(struct dev_pm_opp *opp, in opp_debug_create_bw() 76 static void opp_debug_create_supplies(struct dev_pm_opp *opp, in opp_debug_create_supplies() 105 void opp_debug_create_one(struct dev_pm_opp *opp, struct opp_table *opp_table) in opp_debug_create_one()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 37 struct dev_pm_opp *opp; in lima_devfreq_target() 111 struct dev_pm_opp *opp; in lima_devfreq_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 31 struct dev_pm_opp *opp; in panfrost_devfreq_target() 92 struct dev_pm_opp *opp; in panfrost_devfreq_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
H A D | lima_devfreq.c | 37 struct dev_pm_opp *opp; in lima_devfreq_target() 131 struct dev_pm_opp *opp; in lima_devfreq_init()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/ |
H A D | panfrost_devfreq.c | 32 struct dev_pm_opp *opp; in panfrost_devfreq_target() 114 struct dev_pm_opp *opp; in panfrost_devfreq_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu.h | 85 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp);
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu.h | 97 void a6xx_gmu_set_freq(struct msm_gpu *gpu, struct dev_pm_opp *opp,
|
/kernel/linux/linux-6.6/drivers/devfreq/ |
H A D | mtk-cci-devfreq.c | 130 struct dev_pm_opp *opp; in mtk_ccifreq_target() 223 struct dev_pm_opp *opp = data; in mtk_ccifreq_opp_notifier() 253 struct dev_pm_opp *opp; in mtk_ccifreq_probe()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
H A D | imx8m-ddrc.c | 234 struct dev_pm_opp *new_opp; in imx8m_ddrc_target() 345 struct dev_pm_opp *opp; in imx8m_ddrc_check_opps()
|