Searched refs:clk_freqs (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/clk/ |
H A D | clk-tps68470.c | 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() [all …]
|