Lines Matching refs:pll_param
530 unsigned int fs, struct nau8810_pll *pll_param) in nau8810_calc_pll() argument
551 pll_param->mclk_scaler = scal_sel; in nau8810_calc_pll()
558 pll_param->pre_factor = 0; in nau8810_calc_pll()
561 pll_param->pre_factor = 1; in nau8810_calc_pll()
563 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8810_calc_pll()
564 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8810_calc_pll()
575 struct nau8810_pll *pll_param = &nau8810->pll; in nau8810_set_pll() local
579 ret = nau8810_calc_pll(freq_in, fs, pll_param); in nau8810_set_pll()
585 pll_param->pll_int, pll_param->pll_frac, pll_param->mclk_scaler, in nau8810_set_pll()
586 pll_param->pre_factor); in nau8810_set_pll()
590 (pll_param->pre_factor ? NAU8810_PLLMCLK_DIV2 : 0) | in nau8810_set_pll()
591 pll_param->pll_int); in nau8810_set_pll()
593 (pll_param->pll_frac >> NAU8810_PLLK1_SFT) & in nau8810_set_pll()
596 (pll_param->pll_frac >> NAU8810_PLLK2_SFT) & in nau8810_set_pll()
599 pll_param->pll_frac & NAU8810_PLLK3_MASK); in nau8810_set_pll()
601 pll_param->mclk_scaler << NAU8810_MCLKSEL_SFT); in nau8810_set_pll()