/linux-3.4.99/drivers/mfd/ |
D | twl6040-core.c | 307 unsigned int freq_in, unsigned int freq_out) in twl6040_set_pll() argument 327 if (twl6040->sysclk != freq_out) { in twl6040_set_pll() 328 switch (freq_out) { in twl6040_set_pll() 338 freq_out); in twl6040_set_pll() 372 if (freq_out != 19200000) { in twl6040_set_pll() 374 "freq_out %d not supported\n", freq_out); in twl6040_set_pll() 436 twl6040->sysclk = freq_out; in twl6040_set_pll()
|
/linux-3.4.99/sound/soc/codecs/ |
D | wm8995.c | 1739 int freq_in, int freq_out) in wm8995_get_fll_config() argument 1744 pr_debug("FLL input=%dHz, output=%dHz\n", freq_in, freq_out); in wm8995_get_fll_config() 1759 while (freq_out * (fll->outdiv + 1) < 90000000) { in wm8995_get_fll_config() 1764 freq_out *= fll->outdiv + 1; in wm8995_get_fll_config() 1765 pr_debug("OUTDIV=%d, Fvco=%dHz\n", fll->outdiv, freq_out); in wm8995_get_fll_config() 1785 Ndiv = freq_out / freq_in; in wm8995_get_fll_config() 1788 Nmod = freq_out % freq_in; in wm8995_get_fll_config() 1811 unsigned int freq_out) in wm8995_set_fll() argument 1844 if (freq_out) in wm8995_set_fll() 1858 wm8995->fll[id].in == freq_in && wm8995->fll[id].out == freq_out) in wm8995_set_fll() [all …]
|
D | wm8900.c | 729 int fll_id, unsigned int freq_in, unsigned int freq_out) in wm8900_set_fll() argument 734 if (wm8900->fll_in == freq_in && wm8900->fll_out == freq_out) in wm8900_set_fll() 742 if (!freq_in || !freq_out) { in wm8900_set_fll() 748 wm8900->fll_out = freq_out; in wm8900_set_fll() 753 if (fll_factors(&fll_div, freq_in, freq_out) != 0) in wm8900_set_fll() 757 wm8900->fll_out = freq_out; in wm8900_set_fll() 793 int source, unsigned int freq_in, unsigned int freq_out) in wm8900_set_dai_pll() argument 795 return wm8900_set_fll(codec_dai->codec, pll_id, freq_in, freq_out); in wm8900_set_dai_pll()
|
D | adav80x.c | 602 int source, unsigned int freq_in, unsigned int freq_out) in adav80x_set_pll() argument 618 if (!freq_out) in adav80x_set_pll() 633 if (freq_out > 12288000) { in adav80x_set_pll() 635 freq_out /= 2; in adav80x_set_pll() 639 switch (freq_out) { in adav80x_set_pll()
|
D | wm8580.c | 378 int source, unsigned int freq_in, unsigned int freq_out) in wm8580_set_dai_pll() argument 409 if (freq_in && freq_out) { in wm8580_set_dai_pll() 410 ret = pll_factors(&pll_div, freq_out, freq_in); in wm8580_set_dai_pll() 416 state->out = freq_out; in wm8580_set_dai_pll() 423 if (!freq_in || !freq_out) in wm8580_set_dai_pll()
|
D | adau1373.c | 1118 int source, unsigned int freq_in, unsigned int freq_out) in adau1373_set_pll() argument 1152 if (freq_out < 45158000 || freq_out > 49152000) in adau1373_set_pll() 1162 if (freq_out % freq_in != 0) { in adau1373_set_pll() 1166 r = freq_out / freq_in; in adau1373_set_pll() 1167 i = freq_out % freq_in; in adau1373_set_pll() 1175 r = freq_out / freq_in; in adau1373_set_pll()
|
D | alc5632.c | 672 int source, unsigned int freq_in, unsigned int freq_out) in alc5632_set_dai_pll() argument 695 if (!freq_in || !freq_out) in alc5632_set_dai_pll() 702 && codec_master_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll() 712 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll() 723 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5632_set_dai_pll()
|
D | wm8804.c | 378 unsigned int freq_out) in wm8804_set_pll() argument 383 if (!freq_in || !freq_out) { in wm8804_set_pll() 391 ret = pll_factors(&pll_div, freq_out, freq_in); in wm8804_set_pll() 398 if (!freq_in || !freq_out) in wm8804_set_pll()
|
D | wm8400.c | 998 unsigned int freq_out) in wm8400_set_dai_pll() argument 1006 if (freq_in == wm8400->fll_in && freq_out == wm8400->fll_out) in wm8400_set_dai_pll() 1009 if (freq_out) { in wm8400_set_dai_pll() 1010 ret = fll_factors(wm8400, &factors, freq_in, freq_out); in wm8400_set_dai_pll() 1020 wm8400->fll_out = freq_out; in wm8400_set_dai_pll() 1032 if (!freq_out) in wm8400_set_dai_pll()
|
D | wm8974.c | 319 int source, unsigned int freq_in, unsigned int freq_out) in wm8974_set_dai_pll() argument 325 if (freq_in == 0 || freq_out == 0) { in wm8974_set_dai_pll() 336 pll_factors(&pll_div, freq_out, freq_in); in wm8974_set_dai_pll()
|
D | wm8510.c | 265 int source, unsigned int freq_in, unsigned int freq_out) in wm8510_set_dai_pll() argument 270 if (freq_in == 0 || freq_out == 0) { in wm8510_set_dai_pll() 281 pll_factors(freq_out*4, freq_in); in wm8510_set_dai_pll()
|
D | wm8960.c | 765 int source, unsigned int freq_in, unsigned int freq_out) in wm8960_set_dai_pll() argument 772 if (freq_in && freq_out) { in wm8960_set_dai_pll() 773 ret = pll_factors(freq_in, freq_out, &pll_div); in wm8960_set_dai_pll() 783 if (!freq_in || !freq_out) in wm8960_set_dai_pll()
|
D | alc5623.c | 530 int source, unsigned int freq_in, unsigned int freq_out) in alc5623_set_dai_pll() argument 550 if (!freq_in || !freq_out) in alc5623_set_dai_pll() 557 && codec_master_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll() 567 && codec_slave_pll_div[i].pll_out == freq_out) { in alc5623_set_dai_pll()
|
D | wm8994.c | 2049 int freq_in, int freq_out) in wm8994_get_fll_config() argument 2054 pr_debug("FLL input=%dHz, output=%dHz\n", freq_in, freq_out); in wm8994_get_fll_config() 2069 while (freq_out * (fll->outdiv + 1) < 90000000) { in wm8994_get_fll_config() 2074 freq_out *= fll->outdiv + 1; in wm8994_get_fll_config() 2075 pr_debug("OUTDIV=%d, Fvco=%dHz\n", fll->outdiv, freq_out); in wm8994_get_fll_config() 2095 Ndiv = freq_out / freq_in; in wm8994_get_fll_config() 2098 Nmod = freq_out % freq_in; in wm8994_get_fll_config() 2120 unsigned int freq_in, unsigned int freq_out) in _wm8994_set_fll() argument 2155 if (freq_out) in _wm8994_set_fll() 2170 wm8994->fll[id].in == freq_in && wm8994->fll[id].out == freq_out) in _wm8994_set_fll() [all …]
|
D | wm8940.c | 556 int source, unsigned int freq_in, unsigned int freq_out) in wm8940_set_dai_pll() argument 565 if (freq_in == 0 || freq_out == 0) { in wm8940_set_dai_pll() 575 pll_factors(freq_out*4, freq_in); in wm8940_set_dai_pll()
|
D | wm8983.c | 847 unsigned int freq_out) in wm8983_set_pll() argument 854 if (freq_in && freq_out) { in wm8983_set_pll() 855 ret = pll_factors(&pll_div, freq_out * 4 * 2, freq_in); in wm8983_set_pll() 864 if (!freq_in || !freq_out) in wm8983_set_pll()
|
D | wm8350.c | 1079 unsigned int freq_out) in wm8350_set_fll() argument 1088 if (freq_in == priv->fll_freq_in && freq_out == priv->fll_freq_out) in wm8350_set_fll() 1095 if (freq_out == 0 || freq_in == 0) in wm8350_set_fll() 1098 ret = fll_factors(&fll_div, freq_in, freq_out); in wm8350_set_fll() 1103 freq_in, freq_out, fll_div.n, fll_div.k, fll_div.div, in wm8350_set_fll() 1125 priv->fll_freq_out = freq_out; in wm8350_set_fll()
|
D | wm8985.c | 826 unsigned int freq_out) in wm8985_set_pll() argument 833 if (freq_in && freq_out) { in wm8985_set_pll() 834 ret = pll_factors(&pll_div, freq_out * 4 * 2, freq_in); in wm8985_set_pll() 843 if (!freq_in || !freq_out) in wm8985_set_pll()
|
D | rt5631.c | 1483 int source, unsigned int freq_in, unsigned int freq_out) in rt5631_codec_set_dai_pll() argument 1491 if (!freq_in || !freq_out) { in rt5631_codec_set_dai_pll() 1504 freq_out == codec_master_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll() 1523 freq_out == codec_slave_pll_div[i].pll_out) { in rt5631_codec_set_dai_pll()
|
D | wm8991.c | 964 int pll_id, int src, unsigned int freq_in, unsigned int freq_out) in wm8991_set_dai_pll() argument 970 if (freq_in && freq_out) { in wm8991_set_dai_pll() 971 pll_factors(&pll_div, freq_out * 4, freq_in); in wm8991_set_dai_pll()
|
D | wm8990.c | 981 int source, unsigned int freq_in, unsigned int freq_out) in wm8990_set_dai_pll() argument 986 if (freq_in && freq_out) { in wm8990_set_dai_pll() 987 pll_factors(&pll_div, freq_out * 4, freq_in); in wm8990_set_dai_pll()
|
/linux-3.4.99/include/sound/ |
D | soc-dai.h | 113 int pll_id, int source, unsigned int freq_in, unsigned int freq_out); 138 unsigned int freq_in, unsigned int freq_out);
|
/linux-3.4.99/sound/soc/pxa/ |
D | pxa-ssp.c | 335 int source, unsigned int freq_in, unsigned int freq_out) in pxa_ssp_set_dai_pll() argument 346 switch (freq_out) { in pxa_ssp_set_dai_pll() 377 do_div(tmp, freq_out); in pxa_ssp_set_dai_pll() 387 val, freq_out); in pxa_ssp_set_dai_pll()
|
/linux-3.4.99/include/linux/mfd/ |
D | twl6040.h | 237 unsigned int freq_in, unsigned int freq_out);
|
/linux-3.4.99/drivers/media/common/tuners/ |
D | tda18271-fe.c | 441 u32 *freq_in, u32 *freq_out) in tda18271_powerscan() argument 483 *freq_out = *freq_in; in tda18271_powerscan() 524 *freq_out = freq - 1000000; in tda18271_powerscan() 529 bcal, *freq_in, *freq_out, freq); in tda18271_powerscan()
|