Home
last modified time | relevance | path

Searched refs:src_table (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/sh/clk/
Dcore.c42 struct clk_div_mult_table *src_table, in clk_rate_table_build() argument
55 if (src_table->divisors && i < src_table->nr_divisors) in clk_rate_table_build()
56 div = src_table->divisors[i]; in clk_rate_table_build()
58 if (src_table->multipliers && i < src_table->nr_multipliers) in clk_rate_table_build()
59 mult = src_table->multipliers[i]; in clk_rate_table_build()
/Linux-v5.4/drivers/opp/
Dcore.c1948 int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, in dev_pm_opp_xlate_performance_state() argument
1966 if (!src_table->required_opp_count) in dev_pm_opp_xlate_performance_state()
1969 for (i = 0; i < src_table->required_opp_count; i++) { in dev_pm_opp_xlate_performance_state()
1970 if (src_table->required_opp_tables[i]->np == dst_table->np) in dev_pm_opp_xlate_performance_state()
1974 if (unlikely(i == src_table->required_opp_count)) { in dev_pm_opp_xlate_performance_state()
1976 __func__, src_table, dst_table); in dev_pm_opp_xlate_performance_state()
1980 mutex_lock(&src_table->lock); in dev_pm_opp_xlate_performance_state()
1982 list_for_each_entry(opp, &src_table->opp_list, node) { in dev_pm_opp_xlate_performance_state()
1989 pr_err("%s: Couldn't find matching OPP (%p: %p)\n", __func__, src_table, in dev_pm_opp_xlate_performance_state()
1993 mutex_unlock(&src_table->lock); in dev_pm_opp_xlate_performance_state()
/Linux-v5.4/include/linux/
Dpm_opp.h135 int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table *dst_table, un…
310 static inline int dev_pm_opp_xlate_performance_state(struct opp_table *src_table, struct opp_table … in dev_pm_opp_xlate_performance_state() argument
Dsh_clk.h100 struct clk_div_mult_table *src_table,