Home
last modified time | relevance | path

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

/drivers/cpufreq/
Ds3c2416-cpufreq.c92 struct s3c2416_data *s3c_freq = &s3c2416_cpufreq; in s3c2416_cpufreq_get_speed() local
98 if (s3c_freq->is_dvs) in s3c2416_cpufreq_get_speed()
101 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()
104 static int s3c2416_cpufreq_set_armdiv(struct s3c2416_data *s3c_freq, in s3c2416_cpufreq_set_armdiv() argument
109 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv()
110 ret = clk_set_rate(s3c_freq->armdiv, freq * 1000); in s3c2416_cpufreq_set_armdiv()
121 static int s3c2416_cpufreq_enter_dvs(struct s3c2416_data *s3c_freq, int idx) in s3c2416_cpufreq_enter_dvs() argument
128 if (s3c_freq->is_dvs) { in s3c2416_cpufreq_enter_dvs()
134 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_enter_dvs()
135 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk); in s3c2416_cpufreq_enter_dvs()
[all …]
Ds3c24xx-cpufreq.c537 static void s3c_cpufreq_freq_min(struct s3c_freq *dst, in s3c_cpufreq_freq_min()
538 struct s3c_freq *a, struct s3c_freq *b) in s3c_cpufreq_freq_min()
Ds3c24xx-cpufreq-debugfs.c31 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max()