Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/cpufreq/
Ds3c2416-cpufreq.c89 struct s3c2416_data *s3c_freq = &s3c2416_cpufreq; in s3c2416_cpufreq_get_speed() local
95 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() argument
106 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() argument
125 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 …]
Ds3c24xx-cpufreq.c512 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()
Ds3c24xx-cpufreq-debugfs.c30 static void show_max(struct seq_file *seq, struct s3c_freq *f) in show_max()
/linux-6.1.9/include/linux/soc/samsung/
Ds3c-cpu-freq.h33 struct s3c_freq { struct
62 struct s3c_freq old;
63 struct s3c_freq new;
123 struct s3c_freq max; /* frequency limits */
Ds3c-cpufreq-core.h118 struct s3c_freq freq;
119 struct s3c_freq max;
157 struct s3c_freq max;
/linux-6.1.9/arch/arm/mach-s3c/
Dmach-osiris-dvs.c41 static bool is_dvs(struct s3c_freq *f) in is_dvs()