Lines Matching refs:pll_clkin
70 unsigned int pll_clkin; member
163 unsigned int pll_clkin = tas2552->pll_clkin; in tas2552_setup_pll() local
166 if (!pll_clkin) { in tas2552_setup_pll()
170 pll_clkin = snd_soc_params_to_bclk(params); in tas2552_setup_pll()
171 pll_clkin += tas2552->tdm_delay; in tas2552_setup_pll()
177 if (pll_clkin == pll_clk) in tas2552_setup_pll()
198 j = t / pll_clkin; in tas2552_setup_pll()
199 d = t % pll_clkin; in tas2552_setup_pll()
200 t = pll_clkin / 10000; in tas2552_setup_pll()
202 d = q + ((9999 - pll_clkin % 10000) * (d / t - q)) / 10000; in tas2552_setup_pll()
204 if (d && (pll_clkin < 512000 || pll_clkin > 9200000)) { in tas2552_setup_pll()
206 pll_clkin = 1800000; in tas2552_setup_pll()
210 pll_clkin = snd_soc_params_to_bclk(params); in tas2552_setup_pll()
211 pll_clkin += tas2552->tdm_delay; in tas2552_setup_pll()
419 tas2552->pll_clkin = freq; in tas2552_set_dai_sysclk()