Lines Matching refs:fll_param

2255 		struct nau8825_fll *fll_param)  in nau8825_calc_fll_param()  argument
2271 fll_param->clk_ref_div = fll_pre_scalar[i].val; in nau8825_calc_fll_param()
2280 fll_param->ratio = fll_ratio[i].val; in nau8825_calc_fll_param()
2299 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8825_calc_fll_param()
2304 fvco = div_u64(fvco_max << fll_param->fll_frac_num, fref * fll_param->ratio); in nau8825_calc_fll_param()
2305 fll_param->fll_int = (fvco >> fll_param->fll_frac_num) & 0x3FF; in nau8825_calc_fll_param()
2306 if (fll_param->fll_frac_num == 16) in nau8825_calc_fll_param()
2307 fll_param->fll_frac = fvco & 0xFFFF; in nau8825_calc_fll_param()
2309 fll_param->fll_frac = fvco & 0xFFFFFF; in nau8825_calc_fll_param()
2314 struct nau8825_fll *fll_param) in nau8825_fll_apply() argument
2318 NAU8825_CLK_SRC_MCLK | fll_param->mclk_src); in nau8825_fll_apply()
2322 fll_param->ratio | (0x6 << NAU8825_ICTRL_LATCH_SFT)); in nau8825_fll_apply()
2324 if (fll_param->fll_frac_num == 16) in nau8825_fll_apply()
2326 fll_param->fll_frac); in nau8825_fll_apply()
2329 fll_param->fll_frac & 0xffff); in nau8825_fll_apply()
2331 (fll_param->fll_frac >> 16) & 0xff); in nau8825_fll_apply()
2335 NAU8825_FLL_INTEGER_MASK, fll_param->fll_int); in nau8825_fll_apply()
2339 fll_param->clk_ref_div << NAU8825_FLL_REF_DIV_SFT); in nau8825_fll_apply()
2346 if (fll_param->fll_frac) { in nau8825_fll_apply()
2371 struct nau8825_fll fll_param; in nau8825_set_pll() local
2375 fll_param.fll_frac_num = 16; in nau8825_set_pll()
2377 fll_param.fll_frac_num = 24; in nau8825_set_pll()
2380 ret = nau8825_calc_fll_param(freq_in, fs, &fll_param); in nau8825_set_pll()
2386 fll_param.mclk_src, fll_param.ratio, fll_param.fll_frac, in nau8825_set_pll()
2387 fll_param.fll_int, fll_param.clk_ref_div); in nau8825_set_pll()
2389 nau8825_fll_apply(nau8825, &fll_param); in nau8825_set_pll()