| /linux/drivers/opp/ |
| A D | core.c | 57 struct opp_table *opp_table; in _find_opp_table_unlocked() local 82 struct opp_table *opp_table; in _find_opp_table() local 207 struct opp_table *opp_table; in dev_pm_opp_get_max_clock_latency() local 230 struct opp_table *opp_table; in dev_pm_opp_get_max_volt_latency() local 316 struct opp_table *opp_table; in dev_pm_opp_get_suspend_opp_freq() local 358 struct opp_table *opp_table; in dev_pm_opp_get_opp_count() local 403 struct opp_table *opp_table; in dev_pm_opp_find_freq_exact() local 452 struct opp_table *opp_table; in dev_pm_opp_find_level_exact() local 500 struct opp_table *opp_table; in dev_pm_opp_find_level_ceil() local 575 struct opp_table *opp_table; in dev_pm_opp_find_freq_ceil() local [all …]
|
| A D | opp.h | 93 struct opp_table *opp_table; member 223 bool _opp_remove_all_static(struct opp_table *opp_table); argument 224 void _get_opp_table_kref(struct opp_table *opp_table); 225 int _get_opp_count(struct opp_table *opp_table); 228 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table); 235 void _put_opp_list_kref(struct opp_table *opp_table); 245 void _of_clear_opp_table(struct opp_table *opp_table); 247 void _of_opp_free_required_opps(struct opp_table *opp_table, 266 struct opp_table *opp_table) { } in opp_debug_create_one() argument 269 struct opp_table *opp_table) { } in opp_debug_register() argument [all …]
|
| A D | of.c | 44 struct opp_table *opp_table, *managed_table = NULL; in _managed_opp() local 75 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np() argument 104 struct opp_table *opp_table; in _find_table_of_opp_np() local 248 void _of_clear_opp_table(struct opp_table *opp_table) in _of_clear_opp_table() argument 257 void _of_opp_free_required_opps(struct opp_table *opp_table, in _of_opp_free_required_opps() argument 329 static int lazy_link_required_opps(struct opp_table *opp_table, in lazy_link_required_opps() argument 356 struct opp_table *opp_table, *temp, **required_opp_tables; in lazy_link_required_opp_table() local 456 struct opp_table *opp_table) in dev_pm_opp_of_find_icc_paths() argument 576 struct opp_table *opp_table) in opp_parse_supplies() argument 1046 struct opp_table *opp_table; in _of_add_table_indexed() local [all …]
|
| A D | debugfs.c | 54 struct opp_table *opp_table, in opp_debug_create_bw() argument 77 struct opp_table *opp_table, in opp_debug_create_supplies() argument 105 void opp_debug_create_one(struct dev_pm_opp *opp, struct opp_table *opp_table) in opp_debug_create_one() argument 144 struct opp_table *opp_table) in opp_list_debug_create_dir() argument 155 opp_table->dentry = d; in opp_list_debug_create_dir() 159 struct opp_table *opp_table) in opp_list_debug_create_link() argument 179 void opp_debug_register(struct opp_device *opp_dev, struct opp_table *opp_table) in opp_debug_register() argument 181 if (opp_table->dentry) in opp_debug_register() 188 struct opp_table *opp_table) in opp_migrate_dentry() argument 225 struct opp_table *opp_table) in opp_debug_unregister() argument [all …]
|
| A D | cpu.c | 159 struct opp_table *opp_table; in dev_pm_opp_set_sharing_cpus() local 163 opp_table = _find_opp_table(cpu_dev); in dev_pm_opp_set_sharing_cpus() 164 if (IS_ERR(opp_table)) in dev_pm_opp_set_sharing_cpus() 165 return PTR_ERR(opp_table); in dev_pm_opp_set_sharing_cpus() 189 dev_pm_opp_put_opp_table(opp_table); in dev_pm_opp_set_sharing_cpus() 208 struct opp_table *opp_table; in dev_pm_opp_get_sharing_cpus() local 212 if (IS_ERR(opp_table)) in dev_pm_opp_get_sharing_cpus() 213 return PTR_ERR(opp_table); in dev_pm_opp_get_sharing_cpus() 223 mutex_lock(&opp_table->lock); in dev_pm_opp_get_sharing_cpus() 226 mutex_unlock(&opp_table->lock); in dev_pm_opp_get_sharing_cpus() [all …]
|
| /linux/include/linux/ |
| A D | pm_opp.h | 22 struct opp_table; 93 void dev_pm_opp_put_opp_table(struct opp_table *opp_table); 146 void dev_pm_opp_put_supported_hw(struct opp_table *opp_table); 149 void dev_pm_opp_put_prop_name(struct opp_table *opp_table); 151 void dev_pm_opp_put_regulators(struct opp_table *opp_table); 154 void dev_pm_opp_put_clkname(struct opp_table *opp_table); 157 void dev_pm_opp_unregister_set_opp_helper(struct opp_table *opp_table); 160 void dev_pm_opp_detach_genpd(struct opp_table *opp_table); 182 static inline void dev_pm_opp_put_opp_table(struct opp_table *opp_table) {} in dev_pm_opp_put_opp_table() argument 372 static inline void dev_pm_opp_put_clkname(struct opp_table *opp_table) {} in dev_pm_opp_put_clkname() argument [all …]
|
| A D | pm_domain.h | 107 struct opp_table; 131 struct opp_table *opp_table; /* OPP table of the genpd */ member
|
| A D | devfreq.h | 183 struct opp_table *opp_table; member
|
| /linux/drivers/cpufreq/ |
| A D | tegra20-cpufreq.c | 35 static void tegra20_cpufreq_put_supported_hw(void *opp_table) in tegra20_cpufreq_put_supported_hw() argument 37 dev_pm_opp_put_supported_hw(opp_table); in tegra20_cpufreq_put_supported_hw() 48 struct opp_table *opp_table; in tegra20_cpufreq_probe() local 74 opp_table = dev_pm_opp_set_supported_hw(cpu_dev, versions, 2); in tegra20_cpufreq_probe() 75 err = PTR_ERR_OR_ZERO(opp_table); in tegra20_cpufreq_probe() 83 opp_table); in tegra20_cpufreq_probe()
|
| A D | sti-cpufreq.c | 161 struct opp_table *opp_table; in sti_cpufreq_set_opp_info() local 213 opp_table = dev_pm_opp_set_prop_name(dev, name); in sti_cpufreq_set_opp_info() 214 if (IS_ERR(opp_table)) { in sti_cpufreq_set_opp_info() 216 return PTR_ERR(opp_table); in sti_cpufreq_set_opp_info() 223 opp_table = dev_pm_opp_set_supported_hw(dev, version, VERSION_ELEMENTS); in sti_cpufreq_set_opp_info() 224 if (IS_ERR(opp_table)) { in sti_cpufreq_set_opp_info() 226 ret = PTR_ERR(opp_table); in sti_cpufreq_set_opp_info() 238 dev_pm_opp_put_prop_name(opp_table); in sti_cpufreq_set_opp_info()
|
| A D | cpufreq-dt.c | 32 struct opp_table *opp_table; member 223 priv->opp_table = dev_pm_opp_set_regulators(cpu_dev, ®_name, in dt_cpufreq_early_init() 225 if (IS_ERR(priv->opp_table)) { in dt_cpufreq_early_init() 226 ret = PTR_ERR(priv->opp_table); in dt_cpufreq_early_init() 298 dev_pm_opp_put_regulators(priv->opp_table); in dt_cpufreq_early_init() 312 dev_pm_opp_put_regulators(priv->opp_table); in dt_cpufreq_release()
|
| A D | ti-cpufreq.c | 63 struct opp_table *opp_table; member 327 struct opp_table *ti_opp_table; in ti_cpufreq_probe() 382 opp_data->opp_table = ti_opp_table; in ti_cpufreq_probe() 393 dev_pm_opp_put_supported_hw(opp_data->opp_table); in ti_cpufreq_probe()
|
| A D | sun50i-cpufreq-nvmem.c | 89 struct opp_table **opp_tables; in sun50i_cpufreq_nvmem_probe() 145 struct opp_table **opp_tables = platform_get_drvdata(pdev); in sun50i_cpufreq_nvmem_remove()
|
| A D | qcom-cpufreq-nvmem.c | 58 struct opp_table **names_opp_tables; 59 struct opp_table **hw_opp_tables; 60 struct opp_table **genpd_opp_tables;
|
| A D | imx-cpufreq-dt.c | 34 static struct opp_table *cpufreq_opp_table;
|
| /linux/drivers/soc/samsung/ |
| A D | exynos-asv.c | 81 struct opp_table *last_opp_table = NULL; in exynos_asv_update_opps() 86 struct opp_table *opp_table; in exynos_asv_update_opps() local 92 opp_table = dev_pm_opp_get_opp_table(cpu); in exynos_asv_update_opps() 93 if (IS_ERR(opp_table)) in exynos_asv_update_opps() 96 if (!last_opp_table || opp_table != last_opp_table) { in exynos_asv_update_opps() 97 last_opp_table = opp_table; in exynos_asv_update_opps() 105 dev_pm_opp_put_opp_table(opp_table); in exynos_asv_update_opps()
|
| /linux/drivers/devfreq/ |
| A D | exynos-bus.c | 36 struct opp_table *opp_table; member 164 dev_pm_opp_put_regulators(bus->opp_table); in exynos_bus_exit() 165 bus->opp_table = NULL; in exynos_bus_exit() 182 struct opp_table *opp_table; in exynos_bus_parent_parse_of() local 187 if (IS_ERR(opp_table)) { in exynos_bus_parent_parse_of() 188 ret = PTR_ERR(opp_table); in exynos_bus_parent_parse_of() 193 bus->opp_table = opp_table; in exynos_bus_parent_parse_of() 239 dev_pm_opp_put_regulators(bus->opp_table); in exynos_bus_parent_parse_of() 240 bus->opp_table = NULL; in exynos_bus_parent_parse_of() 462 dev_pm_opp_put_regulators(bus->opp_table); in exynos_bus_probe() [all …]
|
| A D | governor_passive.c | 57 if (devfreq->opp_table && parent_devfreq->opp_table) { in devfreq_passive_get_target_freq() 63 opp = dev_pm_opp_xlate_required_opp(parent_devfreq->opp_table, in devfreq_passive_get_target_freq() 64 devfreq->opp_table, p_opp); in devfreq_passive_get_target_freq()
|
| A D | devfreq.c | 761 if (devfreq->opp_table) in devfreq_dev_release() 762 dev_pm_opp_put_opp_table(devfreq->opp_table); in devfreq_dev_release() 853 devfreq->opp_table = dev_pm_opp_get_opp_table(dev); in devfreq_add_device() 854 if (IS_ERR(devfreq->opp_table)) in devfreq_add_device() 855 devfreq->opp_table = NULL; in devfreq_add_device()
|
| /linux/Documentation/devicetree/bindings/cpufreq/ |
| A D | imx-cpufreq-dt.txt | 23 opp_table {
|
| A D | cpufreq-st.txt | 49 cpu0_opp_table: opp_table {
|
| A D | cpufreq-mediatek.txt | 29 cpu_opp_table: opp_table {
|
| /linux/drivers/base/power/ |
| A D | domain.c | 307 return dev_pm_opp_xlate_performance_state(genpd->opp_table, in genpd_xlate_performance_state() 308 parent->opp_table, in genpd_xlate_performance_state() 2262 genpd->opp_table = dev_pm_opp_get_opp_table(&genpd->dev); in of_genpd_add_provider_simple() 2263 WARN_ON(IS_ERR(genpd->opp_table)); in of_genpd_add_provider_simple() 2269 dev_pm_opp_put_opp_table(genpd->opp_table); in of_genpd_add_provider_simple() 2325 genpd->opp_table = dev_pm_opp_get_opp_table(&genpd->dev); in of_genpd_add_provider_onecell() 2326 WARN_ON(IS_ERR(genpd->opp_table)); in of_genpd_add_provider_onecell() 2350 dev_pm_opp_put_opp_table(genpd->opp_table); in of_genpd_add_provider_onecell() 2384 dev_pm_opp_put_opp_table(gpd->opp_table); in of_genpd_del_provider()
|
| /linux/arch/arm/boot/dts/ |
| A D | stih418-b2264.dts | 45 cpu_opp_table: opp_table {
|
| A D | da850.dtsi | 28 operating-points-v2 = <&opp_table>; 32 opp_table: opp-table { label
|