Lines Matching refs:freq
108 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_config_regulator() local
119 cpufreq_for_each_valid_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_config_regulator()
120 dvfs = &s3c64xx_dvfs_table[freq->driver_data]; in s3c64xx_cpufreq_config_regulator()
131 freq->frequency); in s3c64xx_cpufreq_config_regulator()
132 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_config_regulator()
145 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_driver_init() local
168 cpufreq_for_each_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_driver_init()
172 r = clk_round_rate(policy->clk, freq->frequency * 1000); in s3c64xx_cpufreq_driver_init()
174 if (r != freq->frequency) { in s3c64xx_cpufreq_driver_init()
176 freq->frequency); in s3c64xx_cpufreq_driver_init()
177 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
182 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init()
183 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()