Home
last modified time | relevance | path

Searched refs:opp_table (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/opp/
H A Dopp.h49 struct opp_table *opp_table; member
126 struct opp_table *opp_table; member
206 struct opp_table { struct
227 struct opp_table **required_opp_tables; argument
253 bool _opp_remove_all_static(struct opp_table *opp_table); argument
254 int _get_opp_count(struct opp_table *opp_table);
255 struct opp_table *_find_opp_table(struct device *dev);
256 struct opp_device *_add_opp_dev(const struct device *dev, struct opp_table *opp_table);
257 struct dev_pm_opp *_opp_allocate(struct opp_table *opp_table);
259 int _opp_compare_key(struct opp_table *opp_table, struct dev_pm_opp *opp1, struct dev_pm_opp *opp2);
[all …]
H A Dcpu.c44 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()
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()
165 return PTR_ERR(opp_table); in dev_pm_opp_set_sharing_cpus()
178 opp_dev = _add_opp_dev(dev, opp_table); in dev_pm_opp_set_sharing_cpus()
[all …]
/linux/drivers/devfreq/
H A Dgovernor_passive.c39 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()
166 parent_devfreq->opp_table, in get_target_freq_with_devfreq()
[all …]
/linux/drivers/soc/samsung/
H A Dexynos-asv.c83 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/arch/arm64/boot/dts/qcom/
H A Dmsm8929.dtsi5 &opp_table {
/linux/rust/kernel/
H A Dopp.rs517 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
625 from_raw_table(ptr: *mut bindings::opp_table, dev: &ARef<Device>) -> Self from_raw_table() argument
[all...]
/linux/include/linux/
H A Ddevfreq.h191 struct opp_table *opp_table; member
/linux/Documentation/devicetree/bindings/cpufreq/
H A Dimx-cpufreq-dt.txt23 opp_table {
H A Dcpufreq-st.txt49 cpu0_opp_table: opp_table {
/linux/drivers/cpufreq/
H A Dtegra186-cpufreq.c98 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/arch/arm/boot/dts/ti/davinci/
H A Dda850.dtsi28 operating-points-v2 = <&opp_table>;
32 opp_table: opp-table { label