Searched refs:s3c_freq (Results 1 – 6 of 6) sorted by relevance
89 struct s3c2416_data *s3c_freq = &s3c2416_cpufreq; in s3c2416_cpufreq_get_speed() local95 if (s3c_freq->is_dvs) in s3c2416_cpufreq_get_speed()98 return clk_get_rate(s3c_freq->armclk) / 1000; in s3c2416_cpufreq_get_speed()101 static int s3c2416_cpufreq_set_armdiv(struct s3c2416_data *s3c_freq, in s3c2416_cpufreq_set_armdiv() argument106 if (clk_get_rate(s3c_freq->armdiv) / 1000 != freq) { in s3c2416_cpufreq_set_armdiv()107 ret = clk_set_rate(s3c_freq->armdiv, freq * 1000); in s3c2416_cpufreq_set_armdiv()118 static int s3c2416_cpufreq_enter_dvs(struct s3c2416_data *s3c_freq, int idx) in s3c2416_cpufreq_enter_dvs() argument125 if (s3c_freq->is_dvs) { in s3c2416_cpufreq_enter_dvs()131 clk_get_rate(s3c_freq->hclk) / 1000); in s3c2416_cpufreq_enter_dvs()132 ret = clk_set_parent(s3c_freq->armclk, s3c_freq->hclk); in s3c2416_cpufreq_enter_dvs()[all …]
512 static void s3c_cpufreq_freq_min(struct s3c_freq *dst, in s3c_cpufreq_freq_min()513 struct s3c_freq *a, struct s3c_freq *b) in s3c_cpufreq_freq_min()
30 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max()
33 struct s3c_freq { struct62 struct s3c_freq old;63 struct s3c_freq new;123 struct s3c_freq max; /* frequency limits */
118 struct s3c_freq freq;119 struct s3c_freq max;157 struct s3c_freq max;
41 static bool is_dvs(struct s3c_freq *f) in is_dvs()