Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/
H A Dclk-wm831x.c55 static const unsigned long wm831x_fll_auto_rates[] = { variable
129 return wm831x_fll_auto_rates[ret & WM831X_FLL_AUTO_FREQ_MASK]; in wm831x_fll_recalc_rate()
142 for (i = 0; i < ARRAY_SIZE(wm831x_fll_auto_rates); i++) in wm831x_fll_round_rate()
143 if (abs(wm831x_fll_auto_rates[i] - rate) < in wm831x_fll_round_rate()
144 abs(wm831x_fll_auto_rates[best] - rate)) in wm831x_fll_round_rate()
147 return wm831x_fll_auto_rates[best]; in wm831x_fll_round_rate()
158 for (i = 0; i < ARRAY_SIZE(wm831x_fll_auto_rates); i++) in wm831x_fll_set_rate()
159 if (wm831x_fll_auto_rates[i] == rate) in wm831x_fll_set_rate()
161 if (i == ARRAY_SIZE(wm831x_fll_auto_rates)) in wm831x_fll_set_rate()