Home
last modified time | relevance | path

Searched refs:loongson2_clockmod_table (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/arch/mips/kernel/cpufreq/
Dloongson2_clock.c27 struct cpufreq_frequency_table loongson2_clockmod_table[] = { variable
39 EXPORT_SYMBOL_GPL(loongson2_clockmod_table);
112 for (i = 0; loongson2_clockmod_table[i].frequency != CPUFREQ_TABLE_END; in clk_set_rate_ex()
114 if (loongson2_clockmod_table[i].frequency == in clk_set_rate_ex()
117 if (rate == loongson2_clockmod_table[i].frequency) in clk_set_rate_ex()
120 if (rate != loongson2_clockmod_table[i].frequency) in clk_set_rate_ex()
126 regval = (regval & ~0x7) | (loongson2_clockmod_table[i].index - 1); in clk_set_rate_ex()
Dloongson2_cpufreq.c71 (policy, &loongson2_clockmod_table[0], target_freq, relation, in loongson2_cpufreq_target()
77 loongson2_clockmod_table[newstate].index) / 8; in loongson2_cpufreq_target()
126 (loongson2_clockmod_table[i].frequency != CPUFREQ_TABLE_END); in loongson2_cpufreq_cpu_init()
128 loongson2_clockmod_table[i].frequency = (cpuclk->rate * i) / 8; in loongson2_cpufreq_cpu_init()
132 cpufreq_frequency_table_get_attr(&loongson2_clockmod_table[0], in loongson2_cpufreq_cpu_init()
136 &loongson2_clockmod_table[0]); in loongson2_cpufreq_cpu_init()
142 &loongson2_clockmod_table[0]); in loongson2_cpufreq_verify()
/linux-2.6.39/arch/mips/include/asm/mach-loongson/
Dloongson.h248 extern struct cpufreq_frequency_table loongson2_clockmod_table[];