Home
last modified time | relevance | path

Searched refs:pll_param (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Dnau8822.c617 struct nau8822_pll *pll_param) in nau8822_calc_pll() argument
638 pll_param->mclk_scaler = scal_sel; in nau8822_calc_pll()
645 pll_param->pre_factor = 0; in nau8822_calc_pll()
648 pll_param->pre_factor = 1; in nau8822_calc_pll()
650 pll_param->pll_int = (pll_ratio >> 28) & 0xF; in nau8822_calc_pll()
651 pll_param->pll_frac = ((pll_ratio & 0xFFFFFFF) >> 4); in nau8822_calc_pll()
716 struct nau8822_pll *pll_param = &nau8822->pll; in nau8822_set_pll() local
719 if (freq_in == pll_param->freq_in && in nau8822_set_pll()
720 freq_out == pll_param->freq_out) in nau8822_set_pll()
732 ret = nau8822_calc_pll(freq_in, fs, pll_param); in nau8822_set_pll()
[all …]
Dnau8810.c530 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()
[all …]