Home
last modified time | relevance | path

Searched refs:freq_table (Results 1 – 15 of 15) sorted by relevance

/arch/sh/kernel/
Dcpufreq.c90 struct cpufreq_frequency_table *freq_table; in sh_cpufreq_verify() local
92 freq_table = cpuclk->nr_freqs ? cpuclk->freq_table : NULL; in sh_cpufreq_verify()
93 if (freq_table) in sh_cpufreq_verify()
94 return cpufreq_frequency_table_verify(policy, freq_table); in sh_cpufreq_verify()
112 struct cpufreq_frequency_table *freq_table; in sh_cpufreq_cpu_init() local
128 freq_table = cpuclk->nr_freqs ? cpuclk->freq_table : NULL; in sh_cpufreq_cpu_init()
129 if (freq_table) { in sh_cpufreq_cpu_init()
132 result = cpufreq_frequency_table_cpuinfo(policy, freq_table); in sh_cpufreq_cpu_init()
134 cpufreq_frequency_table_get_attr(freq_table, cpu); in sh_cpufreq_cpu_init()
/arch/arm/mach-tegra/
Dcpu-tegra.c37 static struct cpufreq_frequency_table freq_table[] = { variable
60 return cpufreq_frequency_table_verify(policy, freq_table); in tegra_verify_speed()
142 cpufreq_frequency_table_target(policy, freq_table, target_freq, in tegra_target()
145 freq = freq_table[idx].frequency; in tegra_target()
163 freq_table[0].frequency); in tegra_pm_notify()
164 tegra_update_cpu_speed(freq_table[0].frequency); in tegra_pm_notify()
195 cpufreq_frequency_table_cpuinfo(policy, freq_table); in tegra_cpu_init()
196 cpufreq_frequency_table_get_attr(freq_table, policy->cpu); in tegra_cpu_init()
214 cpufreq_frequency_table_cpuinfo(policy, freq_table); in tegra_cpu_exit()
Dclock.h128 const struct clk_pll_freq_table *freq_table; member
Dtegra2_clocks.c674 for (sel = c->u.pll.freq_table; sel->input_rate != 0; sel++) { in tegra2_pll_clk_set_rate()
1467 .freq_table = tegra_pll_s_freq_table,
1506 .freq_table = tegra_pll_c_freq_table,
1547 .freq_table = tegra_pll_m_freq_table,
1588 .freq_table = tegra_pll_p_freq_table,
1654 .freq_table = tegra_pll_a_freq_table,
1702 .freq_table = tegra_pll_d_freq_table,
1737 .freq_table = tegra_pll_u_freq_table,
1802 .freq_table = tegra_pll_x_freq_table,
1822 .freq_table = tegra_pll_e_freq_table,
Dtegra30_clocks.c898 for (sel = c->u.pll.freq_table; sel->input_rate != 0; sel++) { in tegra30_pll_clk_init()
1003 for (sel = c->u.pll.freq_table; sel->input_rate != 0; sel++) { in tegra30_pll_clk_set_rate()
1208 for (sel = c->u.pll.freq_table; sel->input_rate != 0; sel++) { in tegra30_plle_configure()
2097 .freq_table = tegra_pll_c_freq_table,
2140 .freq_table = tegra_pll_m_freq_table,
2178 .freq_table = tegra_pll_p_freq_table,
2249 .freq_table = tegra_pll_a_freq_table,
2299 .freq_table = tegra_pll_d_freq_table,
2326 .freq_table = tegra_pll_d_freq_table,
2362 .freq_table = tegra_pll_u_freq_table,
[all …]
/arch/arm/mach-davinci/
Dcpufreq.c46 struct cpufreq_frequency_table *freq_table = pdata->freq_table; in davinci_verify_speed() local
49 if (freq_table) in davinci_verify_speed()
50 return cpufreq_frequency_table_verify(policy, freq_table); in davinci_verify_speed()
100 ret = cpufreq_frequency_table_target(policy, pdata->freq_table, in davinci_target()
138 struct cpufreq_frequency_table *freq_table = pdata->freq_table; in davinci_cpu_init() local
152 if (freq_table) { in davinci_cpu_init()
153 result = cpufreq_frequency_table_cpuinfo(policy, freq_table); in davinci_cpu_init()
155 cpufreq_frequency_table_get_attr(freq_table, in davinci_cpu_init()
205 if (!pdata->freq_table) in davinci_cpufreq_probe()
Dcdce949.c56 struct cdce_freq *freq_table; member
218 struct cdce_freq *freq_table = output_list[clk->lpsc].freq_table; in cdce_set_rate() local
224 if (!freq_table) in cdce_set_rate()
228 if (freq_table[i].frequency == rate / 1000) { in cdce_set_rate()
229 regs = freq_table[i].reglist; in cdce_set_rate()
Dda850.c898 .freq_table = da850_freq_table,
915 opp = (struct da850_opp *) cpufreq_info.freq_table[index].index; in da850_set_voltage()
952 cpufreq_info.freq_table = &da850_freq_table[i]; in da850_register_cpufreq()
964 struct cpufreq_frequency_table *table = cpufreq_info.freq_table; in da850_round_armrate()
996 opp = (struct da850_opp *) cpufreq_info.freq_table[index].index; in da850_set_pll0rate()
/arch/ia64/kernel/cpufreq/
Dacpi-cpufreq.c33 struct cpufreq_frequency_table *freq_table; member
174 cpufreq_freqs.old = data->freq_table[data->acpi_data.state].frequency; in processor_set_freq()
175 cpufreq_freqs.new = data->freq_table[state].frequency; in processor_set_freq()
239 data->freq_table, target_freq, relation, &next_state); in acpi_cpufreq_target()
259 data->freq_table); in acpi_cpufreq_verify()
306 data->freq_table = kmalloc(sizeof(struct cpufreq_frequency_table) * in acpi_cpufreq_cpu_init()
309 if (!data->freq_table) { in acpi_cpufreq_cpu_init()
328 data->freq_table[i].index = i; in acpi_cpufreq_cpu_init()
330 data->freq_table[i].frequency = in acpi_cpufreq_cpu_init()
333 data->freq_table[i].frequency = CPUFREQ_TABLE_END; in acpi_cpufreq_cpu_init()
[all …]
/arch/arm/mach-davinci/include/mach/
Dcpufreq.h21 struct cpufreq_frequency_table *freq_table; member
/arch/arm/mach-exynos/include/mach/
Dcpufreq.h29 struct cpufreq_frequency_table *freq_table; member
/arch/arm/mach-pxa/
Dcpufreq-pxa2xx.c215 static void find_freq_tables(struct cpufreq_frequency_table **freq_table, in find_freq_tables() argument
221 *freq_table = pxa255_run_freq_table; in find_freq_tables()
224 *freq_table = pxa255_turbo_freq_table; in find_freq_tables()
229 *freq_table = pxa27x_freq_table; in find_freq_tables()
/arch/sparc/kernel/
Dtime_64.c632 struct freq_table { struct
636 static DEFINE_PER_CPU(struct freq_table, sparc64_freq_table) = { 0, 0 }; argument
640 struct freq_table *ft = &per_cpu(sparc64_freq_table, cpu); in sparc64_get_clock_tick()
655 struct freq_table *ft = &per_cpu(sparc64_freq_table, cpu); in sparc64_cpufreq_notifier()
/arch/arm/mach-shmobile/
Dclock-sh7372.c203 return clk_rate_table_round(clk, clk->freq_table, rate); in pllc2_round_rate()
233 idx = clk_rate_table_find(clk, clk->freq_table, rate); in pllc2_set_rate()
244 clk->rate = clk->freq_table[idx].frequency; in pllc2_set_rate()
291 .freq_table = pllc2_freq_table,
/arch/arm/mach-msm/
Dacpuclock-arm11.c139 static struct cpufreq_frequency_table freq_table[] = { variable
523 cpufreq_frequency_table_get_attr(freq_table, smp_processor_id()); in msm_acpu_clock_init()