Lines Matching refs:prediv
118 unsigned int prediv; in audio_pll_recalc_rate() local
135 for (prediv = 0; prediv < ARRAY_SIZE(predivs); prediv++) { in audio_pll_recalc_rate()
136 if (predivs[prediv].parent_rate != parent_rate) in audio_pll_recalc_rate()
145 val |= SSPA_AUD_PLL_CTRL0_FRACT(predivs[prediv].fract); in audio_pll_recalc_rate()
146 val |= SSPA_AUD_PLL_CTRL0_DIV_FBCCLK(predivs[prediv].fbcclk); in audio_pll_recalc_rate()
147 val |= SSPA_AUD_PLL_CTRL0_DIV_MCLK(predivs[prediv].mclk); in audio_pll_recalc_rate()
156 freq = predivs[prediv].freq_vco; in audio_pll_recalc_rate()
168 unsigned int prediv; in audio_pll_round_rate() local
172 for (prediv = 0; prediv < ARRAY_SIZE(predivs); prediv++) { in audio_pll_round_rate()
173 if (predivs[prediv].parent_rate != *parent_rate) in audio_pll_round_rate()
176 long freq = predivs[prediv].freq_vco; in audio_pll_round_rate()
196 unsigned int prediv; in audio_pll_set_rate() local
200 for (prediv = 0; prediv < ARRAY_SIZE(predivs); prediv++) { in audio_pll_set_rate()
201 if (predivs[prediv].parent_rate != parent_rate) in audio_pll_set_rate()
205 if (rate * postdivs[postdiv].divisor != predivs[prediv].freq_vco) in audio_pll_set_rate()
211 val |= SSPA_AUD_PLL_CTRL0_FRACT(predivs[prediv].fract); in audio_pll_set_rate()
212 val |= SSPA_AUD_PLL_CTRL0_DIV_FBCCLK(predivs[prediv].fbcclk); in audio_pll_set_rate()
213 val |= SSPA_AUD_PLL_CTRL0_DIV_MCLK(predivs[prediv].mclk); in audio_pll_set_rate()