Lines Matching refs:freq
110 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_config_regulator() local
121 cpufreq_for_each_valid_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_config_regulator()
122 dvfs = &s3c64xx_dvfs_table[freq->driver_data]; in s3c64xx_cpufreq_config_regulator()
133 freq->frequency); in s3c64xx_cpufreq_config_regulator()
134 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_config_regulator()
147 struct cpufreq_frequency_table *freq; in s3c64xx_cpufreq_driver_init() local
175 cpufreq_for_each_entry(freq, s3c64xx_freq_table) { in s3c64xx_cpufreq_driver_init()
179 r = clk_round_rate(policy->clk, freq->frequency * 1000); in s3c64xx_cpufreq_driver_init()
181 if (r != freq->frequency) { in s3c64xx_cpufreq_driver_init()
183 freq->frequency); in s3c64xx_cpufreq_driver_init()
184 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()
189 if (!vddarm && freq->frequency > clk_get_rate(policy->clk) / 1000) in s3c64xx_cpufreq_driver_init()
190 freq->frequency = CPUFREQ_ENTRY_INVALID; in s3c64xx_cpufreq_driver_init()