Lines Matching +full:freq +full:- +full:table +full:- +full:hz
1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
31 * struct dev_pm_opp_supply - Power supply voltage/current values
57 * struct dev_pm_opp_config - Device OPP configuration values
86 * struct dev_pm_opp_data - The data to use to initialize an OPP.
90 * @freq: The clock rate in Hz for the OPP.
96 unsigned long freq; member
130 unsigned long freq,
134 dev_pm_opp_find_freq_exact_indexed(struct device *dev, unsigned long freq,
138 unsigned long *freq);
141 unsigned long *freq, u32 index);
144 unsigned long *freq);
147 unsigned long *freq, u32 index);
169 void dev_pm_opp_remove(struct device *dev, unsigned long freq);
172 int dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq,
176 int dev_pm_opp_enable(struct device *dev, unsigned long freq);
178 int dev_pm_opp_disable(struct device *dev, unsigned long freq);
202 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_get_opp_table()
207 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_get_opp_table_indexed()
226 return -EOPNOTSUPP; in dev_pm_opp_get_supplies()
282 unsigned long freq, bool available) in dev_pm_opp_find_freq_exact() argument
284 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_exact()
288 dev_pm_opp_find_freq_exact_indexed(struct device *dev, unsigned long freq, in dev_pm_opp_find_freq_exact_indexed() argument
291 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_exact_indexed()
295 unsigned long *freq) in dev_pm_opp_find_freq_floor() argument
297 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_floor()
301 dev_pm_opp_find_freq_floor_indexed(struct device *dev, unsigned long *freq, u32 index) in dev_pm_opp_find_freq_floor_indexed() argument
303 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_floor_indexed()
307 unsigned long *freq) in dev_pm_opp_find_freq_ceil() argument
309 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_ceil()
313 dev_pm_opp_find_freq_ceil_indexed(struct device *dev, unsigned long *freq, u32 index) in dev_pm_opp_find_freq_ceil_indexed() argument
315 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_ceil_indexed()
321 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_level_exact()
327 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_level_ceil()
333 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_level_floor()
339 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_bw_ceil()
345 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_bw_floor()
355 return -EOPNOTSUPP; in dev_pm_opp_add_dynamic()
358 static inline void dev_pm_opp_remove(struct device *dev, unsigned long freq) in dev_pm_opp_remove() argument
367 dev_pm_opp_adjust_voltage(struct device *dev, unsigned long freq, in dev_pm_opp_adjust_voltage() argument
374 static inline int dev_pm_opp_enable(struct device *dev, unsigned long freq) in dev_pm_opp_enable() argument
379 static inline int dev_pm_opp_disable(struct device *dev, unsigned long freq) in dev_pm_opp_disable() argument
386 return -EOPNOTSUPP; in dev_pm_opp_register_notifier()
391 return -EOPNOTSUPP; in dev_pm_opp_unregister_notifier()
396 return -EOPNOTSUPP; in dev_pm_opp_set_config()
401 return -EOPNOTSUPP; in devm_pm_opp_set_config()
410 return -EOPNOTSUPP; in dev_pm_opp_config_clks_simple()
416 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_xlate_required_opp()
421 return -EOPNOTSUPP; in dev_pm_opp_xlate_performance_state()
426 return -EOPNOTSUPP; in dev_pm_opp_set_rate()
431 return -EOPNOTSUPP; in dev_pm_opp_set_opp()
436 return -EOPNOTSUPP; in dev_pm_opp_set_sharing_cpus()
441 return -EINVAL; in dev_pm_opp_get_sharing_cpus()
454 return -EOPNOTSUPP; in dev_pm_opp_sync_regulators()
460 int dev_pm_opp_init_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table);
461 void dev_pm_opp_free_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table);
463 …nline int dev_pm_opp_init_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) in dev_pm_opp_init_cpufreq_table() argument
465 return -EINVAL; in dev_pm_opp_init_cpufreq_table()
468 …line void dev_pm_opp_free_cpufreq_table(struct device *dev, struct cpufreq_frequency_table **table) in dev_pm_opp_free_cpufreq_table() argument
498 return -EOPNOTSUPP; in dev_pm_opp_of_add_table()
503 return -EOPNOTSUPP; in dev_pm_opp_of_add_table_indexed()
508 return -EOPNOTSUPP; in devm_pm_opp_of_add_table_indexed()
517 return -EOPNOTSUPP; in devm_pm_opp_of_add_table()
522 return -EOPNOTSUPP; in dev_pm_opp_of_cpumask_add_table()
531 return -EOPNOTSUPP; in dev_pm_opp_of_get_sharing_cpus()
547 return -EOPNOTSUPP; in dev_pm_opp_of_register_em()
557 return -EOPNOTSUPP; in dev_pm_opp_calc_power()
562 return -EOPNOTSUPP; in of_get_required_opp_performance_state()
572 return -EOPNOTSUPP; in dev_pm_opp_of_find_icc_paths()
578 static inline int dev_pm_opp_add(struct device *dev, unsigned long freq, in dev_pm_opp_add() argument
582 .freq = freq, in dev_pm_opp_add()
615 /* Supported-hw helpers */
671 /* config-regulators helpers */
687 /* prop-name helpers */