Searched refs:postdivs (Results 1 – 2 of 2) sorted by relevance
100 } postdivs[] = { variable140 for (postdiv = 0; postdiv < ARRAY_SIZE(postdivs); postdiv++) { in audio_pll_recalc_rate()146 val |= SSPA_AUD_PLL_CTRL0_DIV_OCLK_MODULO(postdivs[postdiv].modulo); in audio_pll_recalc_rate()154 val |= SSPA_AUD_PLL_CTRL1_DIV_OCLK_PATTERN(postdivs[postdiv].pattern); in audio_pll_recalc_rate()159 freq /= postdivs[postdiv].divisor; in audio_pll_recalc_rate()177 for (postdiv = 0; postdiv < ARRAY_SIZE(postdivs); postdiv++) { in audio_pll_round_rate()180 freq /= postdivs[postdiv].divisor; in audio_pll_round_rate()206 for (postdiv = 0; postdiv < ARRAY_SIZE(postdivs); postdiv++) { in audio_pll_set_rate()207 if (rate * postdivs[postdiv].divisor != predivs[prediv].freq_vco) in audio_pll_set_rate()212 val |= SSPA_AUD_PLL_CTRL0_DIV_OCLK_MODULO(postdivs[postdiv].modulo); in audio_pll_set_rate()[all …]
68 static const u8 postdivs[] = {2, 3, 4, 5, 6, 8, 10, 12, 16}; in mmp_clk_pll_recalc_rate() local76 do_div(rate, postdivs[postdiv]); in mmp_clk_pll_recalc_rate()