Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A 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()
H A Dnau8540.c52 static const struct nau8540_fll_attr fll_ratio[] = { variable
587 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8540_calc_fll_param()
588 if (fref >= fll_ratio[i].param) in nau8540_calc_fll_param()
591 if (i == ARRAY_SIZE(fll_ratio)) in nau8540_calc_fll_param()
593 fll_param->ratio = fll_ratio[i].val; in nau8540_calc_fll_param()
H A Dnau8821.c80 static const struct nau8821_fll_attr fll_ratio[] = { variable
1297 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8821_calc_fll_param()
1298 if (fref >= fll_ratio[i].param) in nau8821_calc_fll_param()
1301 if (i == ARRAY_SIZE(fll_ratio)) in nau8821_calc_fll_param()
1303 fll_param->ratio = fll_ratio[i].val; in nau8821_calc_fll_param()
H A Dnau8824.c69 static const struct nau8824_fll_attr fll_ratio[] = { variable
1283 for (i = 0; i < ARRAY_SIZE(fll_ratio); i++) { in nau8824_calc_fll_param()
1284 if (fref >= fll_ratio[i].param) in nau8824_calc_fll_param()
1287 if (i == ARRAY_SIZE(fll_ratio)) in nau8824_calc_fll_param()
1289 fll_param->ratio = fll_ratio[i].val; in nau8824_calc_fll_param()
H A 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()