Searched refs:fll_param (Results 1 – 3 of 3) sorted by relevance
550 unsigned int fs, struct nau8540_fll *fll_param) in nau8540_calc_fll_param() argument566 fll_param->clk_ref_div = fll_pre_scalar[i].val; in nau8540_calc_fll_param()575 fll_param->ratio = fll_ratio[i].val; in nau8540_calc_fll_param()594 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8540_calc_fll_param()599 fvco = div_u64(fvco_max << 16, fref * fll_param->ratio); in nau8540_calc_fll_param()600 fll_param->fll_int = (fvco >> 16) & 0x3FF; in nau8540_calc_fll_param()601 fll_param->fll_frac = fvco & 0xFFFF; in nau8540_calc_fll_param()606 struct nau8540_fll *fll_param) in nau8540_fll_apply() argument610 NAU8540_CLK_SRC_MCLK | fll_param->mclk_src); in nau8540_fll_apply()613 fll_param->ratio | (0x6 << NAU8540_ICTRL_LATCH_SFT)); in nau8540_fll_apply()[all …]
1269 unsigned int fs, struct nau8824_fll *fll_param) in nau8824_calc_fll_param() argument1285 fll_param->clk_ref_div = fll_pre_scalar[i].val; in nau8824_calc_fll_param()1294 fll_param->ratio = fll_ratio[i].val; in nau8824_calc_fll_param()1313 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8824_calc_fll_param()1318 fvco = div_u64(fvco_max << 16, fref * fll_param->ratio); in nau8824_calc_fll_param()1319 fll_param->fll_int = (fvco >> 16) & 0x3FF; in nau8824_calc_fll_param()1320 fll_param->fll_frac = fvco & 0xFFFF; in nau8824_calc_fll_param()1325 struct nau8824_fll *fll_param) in nau8824_fll_apply() argument1329 NAU8824_CLK_SRC_MCLK | fll_param->mclk_src); in nau8824_fll_apply()1331 NAU8824_FLL_RATIO_MASK, fll_param->ratio); in nau8824_fll_apply()[all …]
1986 struct nau8825_fll *fll_param) in nau8825_calc_fll_param() argument2002 fll_param->clk_ref_div = fll_pre_scalar[i].val; in nau8825_calc_fll_param()2011 fll_param->ratio = fll_ratio[i].val; in nau8825_calc_fll_param()2030 fll_param->mclk_src = mclk_src_scaling[fvco_sel].val; in nau8825_calc_fll_param()2035 fvco = div_u64(fvco_max << 16, fref * fll_param->ratio); in nau8825_calc_fll_param()2036 fll_param->fll_int = (fvco >> 16) & 0x3FF; in nau8825_calc_fll_param()2037 fll_param->fll_frac = fvco & 0xFFFF; in nau8825_calc_fll_param()2042 struct nau8825_fll *fll_param) in nau8825_fll_apply() argument2046 NAU8825_CLK_SRC_MCLK | fll_param->mclk_src); in nau8825_fll_apply()2050 fll_param->ratio | (0x6 << NAU8825_ICTRL_LATCH_SFT)); in nau8825_fll_apply()[all …]