Searched full:opp_table (Results 1 – 13 of 13) sorted by relevance
| /linux/drivers/opp/ |
| H A D | opp.h | 41 * @opp_table: OPP table 49 struct opp_table *opp_table; member 78 * device 1, 2.. are represented by opp_table structure while each opp 102 * @opp_table: points back to the opp_table struct this opp belongs to 126 struct opp_table *opp_table; member 137 * struct opp_device - devices managed by 'struct opp_table' 143 * by 'struct opp_table'. 161 * struct opp_table - Device opp structure 206 struct opp_table { struct 227 struct opp_table **required_opp_tables; argument [all …]
|
| H A D | of.c | 45 struct opp_table *_managed_opp(struct device *dev, int index) in _managed_opp() 47 struct opp_table *opp_table, *managed_table = NULL; in _managed_opp() local 55 list_for_each_entry(opp_table, &opp_tables, node) { in _managed_opp() 56 if (opp_table->np == np) { in _managed_opp() 64 if (opp_table->shared_opp == OPP_TABLE_ACCESS_SHARED) in _managed_opp() 65 managed_table = dev_pm_opp_get_opp_table_ref(opp_table); in _managed_opp() 75 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, in _find_opp_of_np() argument 80 guard(mutex)(&opp_table->lock); in _find_opp_of_np() 82 list_for_each_entry(opp, &opp_table->opp_list, node) { in _find_opp_of_np() 97 static struct opp_table *_find_table_of_opp_np(struct device_node *opp_np) in _find_table_of_opp_np() [all …]
|
| H A D | cpu.c | 27 * @opp_table: Cpufreq table returned back to caller 44 struct cpufreq_frequency_table **opp_table) in dev_pm_opp_init_cpufreq_table() argument 78 *opp_table = &freq_table[0]; in dev_pm_opp_init_cpufreq_table() 91 * @opp_table: table to free 96 struct cpufreq_frequency_table **opp_table) in dev_pm_opp_free_cpufreq_table() argument 98 if (!opp_table) in dev_pm_opp_free_cpufreq_table() 101 kfree(*opp_table); in dev_pm_opp_free_cpufreq_table() 102 *opp_table = NULL; in dev_pm_opp_free_cpufreq_table() 161 struct opp_table *opp_table __free(put_opp_table) = in dev_pm_opp_set_sharing_cpus() 164 if (IS_ERR(opp_table)) in dev_pm_opp_set_sharing_cpus() [all …]
|
| /linux/drivers/devfreq/ |
| H A D | governor_passive.c | 25 * @opp_table: reference to cpu opp table. 39 struct opp_table *opp_table; member 68 if (parent_cpu_data->opp_table) in delete_parent_cpu_data() 69 dev_pm_opp_put_opp_table(parent_cpu_data->opp_table); in delete_parent_cpu_data() 76 struct opp_table *p_opp_table, in get_target_freq_by_required_opp() 77 struct opp_table *opp_table, in get_target_freq_by_required_opp() argument 83 if (!p_dev || !p_opp_table || !opp_table || !freq) in get_target_freq_by_required_opp() 90 opp = dev_pm_opp_xlate_required_opp(p_opp_table, opp_table, p_opp); in get_target_freq_by_required_opp() 130 parent_cpu_data->opp_table, in get_target_freq_with_cpufreq() 131 devfreq->opp_table, &cpu_cur); in get_target_freq_with_cpufreq() [all …]
|
| /linux/drivers/soc/samsung/ |
| H A D | exynos-asv.c | 83 struct opp_table *last_opp_table = NULL; in exynos_asv_update_opps() 88 struct opp_table *opp_table; in exynos_asv_update_opps() local 94 opp_table = dev_pm_opp_get_opp_table(cpu); in exynos_asv_update_opps() 95 if (IS_ERR(opp_table)) in exynos_asv_update_opps() 98 if (!last_opp_table || opp_table != last_opp_table) { in exynos_asv_update_opps() 99 last_opp_table = opp_table; in exynos_asv_update_opps() 114 dev_pm_opp_put_opp_table(opp_table); in exynos_asv_update_opps()
|
| /linux/rust/kernel/ |
| H A D | opp.rs | 517 opp_table: *mut bindings::opp_table, in config_clks() argument 527 // SAFETY: 'opp_table' is guaranteed by the C code to be valid. in config_clks() 528 &unsafe { Table::from_raw_table(opp_table, &dev) }, in config_clks() 566 /// Rust abstraction for the C `struct opp_table`. 589 /// let mut opp_table = Table::from_of_cpumask(dev, mask)?; 591 /// if opp_table.opp_count()? == 0 { 595 /// pr_info!("Max transition latency is: {} ns\n", opp_table.max_transition_latency_ns()); 596 /// pr_info!("Suspend frequency is: {:?}\n", opp_table.suspend_freq()); 598 /// opp_table.set_rate(freq)?; 599 /// Ok(opp_table) [all …]
|
| /linux/arch/arm64/boot/dts/qcom/ |
| H A D | msm8929.dtsi | 5 &opp_table {
|
| /linux/include/linux/ |
| H A D | devfreq.h | 151 * @opp_table: Reference to OPP table of dev.parent, if one exists. 191 struct opp_table *opp_table; member
|
| /linux/Documentation/devicetree/bindings/cpufreq/ |
| H A D | imx-cpufreq-dt.txt | 23 opp_table {
|
| H A D | cpufreq-st.txt | 49 cpu0_opp_table: opp_table {
|
| /linux/drivers/cpufreq/ |
| H A D | tegra186-cpufreq.c | 98 struct cpufreq_frequency_table **opp_table) in tegra_cpufreq_init_cpufreq_table() argument 164 *opp_table = &freq_table[0]; in tegra_cpufreq_init_cpufreq_table()
|
| /linux/drivers/pmdomain/ |
| H A D | core.c | 407 return dev_pm_opp_xlate_performance_state(genpd->opp_table, in genpd_xlate_performance_state() 408 parent->opp_table, in genpd_xlate_performance_state() 2424 genpd->opp_table = NULL; in pm_genpd_init() 2722 genpd->opp_table = dev_pm_opp_get_opp_table(&genpd->dev); in of_genpd_add_provider_simple() 2723 WARN_ON(IS_ERR(genpd->opp_table)); in of_genpd_add_provider_simple() 2736 if (genpd->opp_table) { in of_genpd_add_provider_simple() 2737 dev_pm_opp_put_opp_table(genpd->opp_table); in of_genpd_add_provider_simple() 2813 genpd->opp_table = dev_pm_opp_get_opp_table(&genpd->dev); in of_genpd_add_provider_onecell() 2814 WARN_ON(IS_ERR(genpd->opp_table)); in of_genpd_add_provider_onecell() 2837 if (genpd->opp_table) { in of_genpd_add_provider_onecell() [all …]
|
| /linux/arch/arm/boot/dts/ti/davinci/ |
| H A D | da850.dtsi | 28 operating-points-v2 = <&opp_table>; 32 opp_table: opp-table { label
|