Home
last modified time | relevance | path

Searched refs:fll_ratio (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Dwm8900.c668 u16 fll_ratio; member
718 fll_div->fll_ratio = 8; in fll_factors()
720 fll_div->fll_ratio = 1; in fll_factors()
722 fll_div->n = Ndiv / fll_div->fll_ratio; in fll_factors()
723 Nmod = (target / fll_div->fll_ratio) % Fref; in fll_factors()
739 WARN_ON(!K && target != Fref * fll_div->fll_ratio * fll_div->n)) in fll_factors()
779 fll_div.fll_ratio | WM8900_REG_FLLCTL1_OSC_ENA); in wm8900_set_fll()
Dnau8540.c51 static const struct nau8540_fll_attr fll_ratio[] = { variable
680 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8540_calc_fll_param()
681 if (fref >= fll_ratio[i].param) in nau8540_calc_fll_param()
684 if (i == ARRAY_SIZE(fll_ratio)) in nau8540_calc_fll_param()
686 fll_param->ratio = fll_ratio[i].val; in nau8540_calc_fll_param()
Dnau8824.c69 static const struct nau8824_fll_attr fll_ratio[] = { variable
1296 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8824_calc_fll_param()
1297 if (fref >= fll_ratio[i].param) in nau8824_calc_fll_param()
1300 if (i == ARRAY_SIZE(fll_ratio)) in nau8824_calc_fll_param()
1302 fll_param->ratio = fll_ratio[i].val; in nau8824_calc_fll_param()
Dnau8821.c80 static const struct nau8821_fll_attr fll_ratio[] = { variable
1292 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8821_calc_fll_param()
1293 if (fref >= fll_ratio[i].param) in nau8821_calc_fll_param()
1296 if (i == ARRAY_SIZE(fll_ratio)) in nau8821_calc_fll_param()
1298 fll_param->ratio = fll_ratio[i].val; in nau8821_calc_fll_param()
Dnau8825.c84 static const struct nau8825_fll_attr fll_ratio[] = { variable
2274 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8825_calc_fll_param()
2275 if (fref >= fll_ratio[i].param) in nau8825_calc_fll_param()
2278 if (i == ARRAY_SIZE(fll_ratio)) in nau8825_calc_fll_param()
2280 fll_param->ratio = fll_ratio[i].val; in nau8825_calc_fll_param()