Searched refs:pll_param (Results 1 – 2 of 2) sorted by relevance
627 struct nau8822_pll *pll_param) in nau8822_calc_pll() argument648 pll_param->mclk_scaler = scal_sel; in nau8822_calc_pll()655 pll_param->pre_factor = 0; in nau8822_calc_pll()658 pll_param->pre_factor = 1; in nau8822_calc_pll()660 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8822_calc_pll()661 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8822_calc_pll()726 struct nau8822_pll *pll_param = &nau8822->pll; in nau8822_set_pll() local729 if (freq_in == pll_param->freq_in && in nau8822_set_pll()730 freq_out == pll_param->freq_out) in nau8822_set_pll()742 ret = nau8822_calc_pll(freq_in, fs, pll_param); in nau8822_set_pll()[all …]
527 unsigned int fs, struct nau8810_pll *pll_param) in nau8810_calc_pll() argument548 pll_param->mclk_scaler = scal_sel; in nau8810_calc_pll()555 pll_param->pre_factor = 0; in nau8810_calc_pll()558 pll_param->pre_factor = 1; in nau8810_calc_pll()560 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8810_calc_pll()561 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8810_calc_pll()572 struct nau8810_pll *pll_param = &nau8810->pll; in nau8810_set_pll() local576 ret = nau8810_calc_pll(freq_in, fs, pll_param); in nau8810_set_pll()582 pll_param->pll_int, pll_param->pll_frac, pll_param->mclk_scaler, in nau8810_set_pll()583 pll_param->pre_factor); in nau8810_set_pll()[all …]