Lines Matching defs:pll_param
527 unsigned int fs, struct nau8810_pll *pll_param)
548 pll_param->mclk_scaler = scal_sel;
555 pll_param->pre_factor = 0;
558 pll_param->pre_factor = 1;
560 pll_param->pll_int = (pll_ratio >> 28) & 0xF;
561 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4);
572 struct nau8810_pll *pll_param = &nau8810->pll;
576 ret = nau8810_calc_pll(freq_in, fs, pll_param);
582 pll_param->pll_int, pll_param->pll_frac, pll_param->mclk_scaler,
583 pll_param->pre_factor);
587 (pll_param->pre_factor ? NAU8810_PLLMCLK_DIV2 : 0) |
588 pll_param->pll_int);
590 (pll_param->pll_frac >> NAU8810_PLLK1_SFT) &
593 (pll_param->pll_frac >> NAU8810_PLLK2_SFT) &
596 pll_param->pll_frac & NAU8810_PLLK3_MASK);
598 pll_param->mclk_scaler << NAU8810_MCLKSEL_SFT);