Lines Matching refs:clk_freqs
38 } clk_freqs[] = { variable
134 for (i = 0; i < ARRAY_SIZE(clk_freqs); i++) { in tps68470_clk_cfg_lookup()
135 diff = clk_freqs[i].freq - rate; in tps68470_clk_cfg_lookup()
154 return clk_freqs[idx].freq; in tps68470_clk_round_rate()
163 if (rate != clk_freqs[idx].freq) in tps68470_clk_set_rate()
166 regmap_write(clkdata->regmap, TPS68470_REG_BOOSTDIV, clk_freqs[idx].boostdiv); in tps68470_clk_set_rate()
167 regmap_write(clkdata->regmap, TPS68470_REG_BUCKDIV, clk_freqs[idx].buckdiv); in tps68470_clk_set_rate()
169 regmap_write(clkdata->regmap, TPS68470_REG_XTALDIV, clk_freqs[idx].xtaldiv); in tps68470_clk_set_rate()
170 regmap_write(clkdata->regmap, TPS68470_REG_PLLDIV, clk_freqs[idx].plldiv); in tps68470_clk_set_rate()
171 regmap_write(clkdata->regmap, TPS68470_REG_POSTDIV, clk_freqs[idx].postdiv); in tps68470_clk_set_rate()
172 regmap_write(clkdata->regmap, TPS68470_REG_POSTDIV2, clk_freqs[idx].postdiv); in tps68470_clk_set_rate()
216 tps68470_clk_set_rate(&tps68470_clkdata->clkout_hw, clk_freqs[0].freq, 0); in tps68470_clk_probe()