Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/clk/mmp/
Dclk-audio.c89 } predivs[] = { variable
137 for (prediv = 0; prediv < ARRAY_SIZE(predivs); prediv++) { in audio_pll_recalc_rate()
138 if (predivs[prediv].parent_rate != parent_rate) in audio_pll_recalc_rate()
147 val |= SSPA_AUD_PLL_CTRL0_FRACT(predivs[prediv].fract); in audio_pll_recalc_rate()
148 val |= SSPA_AUD_PLL_CTRL0_DIV_FBCCLK(predivs[prediv].fbcclk); in audio_pll_recalc_rate()
149 val |= SSPA_AUD_PLL_CTRL0_DIV_MCLK(predivs[prediv].mclk); in audio_pll_recalc_rate()
158 freq = predivs[prediv].freq_vco; in audio_pll_recalc_rate()
174 for (prediv = 0; prediv < ARRAY_SIZE(predivs); prediv++) { in audio_pll_round_rate()
175 if (predivs[prediv].parent_rate != *parent_rate) in audio_pll_round_rate()
178 long freq = predivs[prediv].freq_vco; in audio_pll_round_rate()
[all …]
/Linux-v6.6/drivers/media/i2c/
Dst-vgxy61.c461 const unsigned int predivs[] = {1, 2, 4}; in compute_pll_parameters_by_freq() local
468 for (i = 0; i < ARRAY_SIZE(predivs); i++) { in compute_pll_parameters_by_freq()
469 *prediv = predivs[i]; in compute_pll_parameters_by_freq()
473 WARN_ON(i == ARRAY_SIZE(predivs)); in compute_pll_parameters_by_freq()