| /linux/sound/soc/codecs/ |
| H A D | adau-utils.c | 15 int adau_calc_pll_cfg(unsigned int freq_in, unsigned int freq_out, in adau_calc_pll_cfg() argument 21 if (!freq_out) { in adau_calc_pll_cfg() 27 if (freq_out % freq_in != 0) { in adau_calc_pll_cfg() 30 r = freq_out / freq_in; in adau_calc_pll_cfg() 31 i = freq_out % freq_in; in adau_calc_pll_cfg() 37 r = freq_out / freq_in; in adau_calc_pll_cfg()
|
| H A D | rl6231.c | 141 const unsigned int freq_out, struct rl6231_pll_code *pll_code) in rl6231_pll_calc() argument 147 unsigned int red_t = abs(freq_out - freq_in); in rl6231_pll_calc() 156 freq_out == pll_preset_table[i].pll_out) { in rl6231_pll_calc() 167 min_k = 80000000 / freq_out - 2; in rl6231_pll_calc() 168 max_k = 150000000 / freq_out - 2; in rl6231_pll_calc() 173 div_t = gcd(freq_in, freq_out); in rl6231_pll_calc() 177 f_out = freq_out / div; in rl6231_pll_calc()
|
| H A D | adav80x.c | 623 int source, unsigned int freq_in, unsigned int freq_out) in adav80x_set_pll() argument 640 if (!freq_out) in adav80x_set_pll() 656 if (freq_out > 12288000) { in adav80x_set_pll() 658 freq_out /= 2; in adav80x_set_pll() 661 /* freq_out = sample_rate * 256 */ in adav80x_set_pll() 662 switch (freq_out) { in adav80x_set_pll()
|
| H A D | adau-utils.h | 5 int adau_calc_pll_cfg(unsigned int freq_in, unsigned int freq_out,
|
| H A D | rl6231.h | 29 const unsigned int freq_out, struct rl6231_pll_code *pll_code);
|
| H A D | rt5682s.c | 2299 if (plla_table[i].freq_in == f_in && plla_table[i].freq_out == f_out) { in find_pll_inter_combination() 2307 if (pllb_table[i].freq_in == f_in && pllb_table[i].freq_out == f_out) { in find_pll_inter_combination() 2315 if (plla_table[i].freq_in == f_in && plla_table[i].freq_out == 3840000) { in find_pll_inter_combination() 2318 pllb_table[j].freq_out == f_out) { in find_pll_inter_combination() 2332 unsigned int freq_out) in rt5682s_set_component_pll() argument 2338 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll() 2341 if (!freq_in || !freq_out) { in rt5682s_set_component_pll() 2364 rt5682s->pll_comb = find_pll_inter_combination(freq_in, freq_out, in rt5682s_set_component_pll() 2372 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll() 2376 pll_id + 1, freq_in, freq_out, rt5682 in rt5682s_set_component_pll() [all...] |
| H A D | rt5660.c | 1008 unsigned int freq_in, unsigned int freq_out) in rt5660_set_dai_pll() argument 1016 freq_out == rt5660->pll_out) in rt5660_set_dai_pll() 1019 if (!freq_in || !freq_out) { in rt5660_set_dai_pll() 1045 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5660_set_dai_pll() 1062 rt5660->pll_out = freq_out; in rt5660_set_dai_pll()
|
| H A D | wm8974.c | 313 int source, unsigned int freq_in, unsigned int freq_out) in wm8974_set_dai_pll() argument 319 if (freq_in == 0 || freq_out == 0) { in wm8974_set_dai_pll() 330 pll_factors(&pll_div, freq_out, freq_in); in wm8974_set_dai_pll()
|
| H A D | rt5514.c | 898 unsigned int freq_in, unsigned int freq_out) in rt5514_set_dai_pll() 905 if (!freq_in || !freq_out) { in rt5514_set_dai_pll() 918 freq_out == rt5514->pll_out) in rt5514_set_dai_pll() 937 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5514_set_dai_pll() 955 rt5514->pll_out = freq_out; in rt5514_set_dai_pll() 897 rt5514_set_dai_pll(struct snd_soc_dai * dai,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5514_set_dai_pll() argument
|
| H A D | wm8940.c | 584 int source, unsigned int freq_in, unsigned int freq_out) in wm8940_set_dai_pll() 593 if (freq_in == 0 || freq_out == 0) { in wm8940_set_dai_pll() 603 pll_factors(freq_out*4, freq_in); in wm8940_set_dai_pll() 583 wm8940_set_dai_pll(struct snd_soc_dai * codec_dai,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) wm8940_set_dai_pll() argument
|
| H A D | nau8822.h | 211 int freq_out; member
|
| H A D | rt5682.c | 2355 unsigned int freq_out) in rt5682_set_component_pll() argument 2364 freq_out == rt5682->pll_out[pll_id]) in rt5682_set_component_pll() 2367 if (!freq_in || !freq_out) { in rt5682_set_component_pll() 2407 ret = rl6231_pll_calc(pll2_fout1, freq_out, &pll2b_code); in rt5682_set_component_pll() 2414 pll2_fout1, freq_out, in rt5682_set_component_pll() 2429 if (freq_out == 22579200) in rt5682_set_component_pll() 2458 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5682_set_component_pll() 2477 rt5682->pll_out[pll_id] = freq_out; in rt5682_set_component_pll()
|
| H A D | rt5668.c | 2096 unsigned int freq_out) in rt5668_set_component_pll() 2103 freq_out == rt5668->pll_out) in rt5668_set_component_pll() 2106 if (!freq_in || !freq_out) { in rt5668_set_component_pll() 2130 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5668_set_component_pll() 2147 rt5668->pll_out = freq_out; in rt5668_set_component_pll() 2097 rt5668_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5668_set_component_pll() argument
|
| H A D | rt1011.c | 1771 unsigned int freq_out) in rt1011_set_component_pll() argument 1778 freq_out == rt1011->pll_out) in rt1011_set_component_pll() 1781 if (!freq_in || !freq_out) { in rt1011_set_component_pll() 1815 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt1011_set_component_pll() 1834 rt1011->pll_out = freq_out; in rt1011_set_component_pll()
|
| H A D | tscs42xx.c | 191 int freq_out; in power_up_audio_plls() local 196 freq_out = sample_rate_to_pll_freq_out(tscs42xx->samplerate); in power_up_audio_plls() 197 switch (freq_out) { in power_up_audio_plls()
|
| H A D | rt5640.c | 1877 unsigned int freq_in, unsigned int freq_out) in rt5640_set_dai_pll() 1885 freq_out == rt5640->pll_out) in rt5640_set_dai_pll() 1888 if (!freq_in || !freq_out) { in rt5640_set_dai_pll() 1916 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5640_set_dai_pll() 1933 rt5640->pll_out = freq_out; 1872 rt5640_set_dai_pll(struct snd_soc_dai * dai,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5640_set_dai_pll() argument
|
| H A D | rt5677.c | 4483 * @freq_out: target clock which codec works on. 4491 const unsigned int freq_out, struct rl6231_pll_code *pll_code) in rt5677_pll_calc() argument 4496 return rl6231_pll_calc(freq_in, freq_out, pll_code); in rt5677_pll_calc() 4500 unsigned int freq_in, unsigned int freq_out) in rt5677_set_dai_pll() argument 4508 freq_out == rt5677->pll_out) in rt5677_set_dai_pll() 4511 if (!freq_in || !freq_out) { in rt5677_set_dai_pll() 4556 ret = rt5677_pll_calc(freq_in, freq_out, &pll_code); in rt5677_set_dai_pll() 4573 rt5677->pll_out = freq_out; in rt5677_set_dai_pll()
|
| H A D | nau8821.c | 1319 /* Calculate the frequency of DCO (FDCO) given freq_out = 256 * Fs. in nau8821_calc_fll_param() 1322 * FDCO = freq_out * 2 * mclk_src_scaling in nau8821_calc_fll_param() 1404 * @freq_out: must be 256*Fs in order to achieve the best performance in nau8821_set_fll() 1412 int pll_id, int source, unsigned int freq_in, unsigned int freq_out) in nau8821_set_fll() 1418 fs = freq_out >> 8; in nau8821_set_fll() 1423 freq_in, freq_out); in nau8821_set_fll() 1398 nau8821_set_fll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) nau8821_set_fll() argument
|
| H A D | rt5665.c | 4233 unsigned int freq_out) in rt5665_set_component_pll() argument 4240 freq_out == rt5665->pll_out) in rt5665_set_component_pll() 4243 if (!freq_in || !freq_out) { in rt5665_set_component_pll() 4275 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5665_set_component_pll() 4292 rt5665->pll_out = freq_out; in rt5665_set_component_pll()
|
| H A D | rt5645.c | 2934 unsigned int freq_in, unsigned int freq_out) in rt5645_set_dai_pll() argument 2942 freq_out == rt5645->pll_out) in rt5645_set_dai_pll() 2945 if (!freq_in || !freq_out) { in rt5645_set_dai_pll() 2981 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5645_set_dai_pll() 2998 rt5645->pll_out = freq_out; in rt5645_set_dai_pll()
|
| /linux/sound/soc/pxa/ |
| H A D | mmp-sspa.c | 135 unsigned int freq_out) in mmp_sspa_set_dai_pll() argument 146 ret = clk_set_rate(sspa->sysclk, freq_out); in mmp_sspa_set_dai_pll() 151 ret = clk_set_rate(sspa->clk, freq_out); in mmp_sspa_set_dai_pll()
|
| /linux/include/linux/mfd/ |
| H A D | twl6040.h | 216 unsigned int freq_in, unsigned int freq_out);
|
| /linux/arch/arm/mach-omap2/ |
| H A D | sram242x.S | 173 bne freq_out @ leave if SDR, no DLL function 184 freq_out: label
|
| H A D | sram243x.S | 173 bne freq_out @ leave if SDR, no DLL function 184 freq_out: label
|
| /linux/drivers/video/fbdev/ |
| H A D | sstfb.c | 292 static int sst_calc_pll(const int freq, int *freq_out, struct pll_timing *t) in sst_calc_pll() argument 326 *freq_out = (DAC_FREF * (t->m + 2)) / ((1 << t->p) * (t->n + 2)); in sst_calc_pll() 328 t->m, t->n, t->p, *freq_out); in sst_calc_pll()
|