Lines Matching refs:rounder
91 static long clk_rate_round_helper(struct clk_rate_round_data *rounder) in clk_rate_round_helper() argument
101 for_each_frequency(i, rounder, freq) { in clk_rate_round_helper()
107 rate_error = abs(freq - rounder->rate); in clk_rate_round_helper()
117 if (rounder->rate >= highest) in clk_rate_round_helper()
119 if (rounder->rate <= lowest) in clk_rate_round_helper()
126 struct clk_rate_round_data *rounder) in clk_rate_table_iter() argument
128 struct cpufreq_frequency_table *freq_table = rounder->arg; in clk_rate_table_iter()
156 struct clk_rate_round_data *rounder) in clk_rate_div_range_iter() argument
158 return clk_get_rate(rounder->arg) / pos; in clk_rate_div_range_iter()
176 struct clk_rate_round_data *rounder) in clk_rate_mult_range_iter() argument
178 return clk_get_rate(rounder->arg) * pos; in clk_rate_mult_range_iter()