Home
last modified time | relevance | path

Searched refs:freq_out (Results 1 – 25 of 32) sorted by relevance

12

/linux/sound/soc/codecs/
H A Dadau-utils.c15 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 Drl6231.c141 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 Dadau-utils.h5 int adau_calc_pll_cfg(unsigned int freq_in, unsigned int freq_out,
H A Dadav80x.c623 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 Drl6231.h29 const unsigned int freq_out, struct rl6231_pll_code *pll_code);
H A Dwm8580.c460 int source, unsigned int freq_in, unsigned int freq_out) in wm8580_set_dai_pll() argument
491 if (freq_in && freq_out) { in wm8580_set_dai_pll()
492 ret = pll_factors(&pll_div, freq_out, freq_in); in wm8580_set_dai_pll()
498 state->out = freq_out; in wm8580_set_dai_pll()
505 if (!freq_in || !freq_out) in wm8580_set_dai_pll()
H A Dwm8510.c313 int source, unsigned int freq_in, unsigned int freq_out) in wm8510_set_dai_pll() argument
318 if (freq_in == 0 || freq_out == 0) { in wm8510_set_dai_pll()
329 pll_factors(freq_out*4, freq_in); in wm8510_set_dai_pll()
H A Drt5660.c1008 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 Drt5682s.c2298 if (plla_table[i].freq_in == f_in && plla_table[i].freq_out == f_out) { in find_pll_inter_combination()
2306 if (pllb_table[i].freq_in == f_in && pllb_table[i].freq_out == f_out) { in find_pll_inter_combination()
2314 if (plla_table[i].freq_in == f_in && plla_table[i].freq_out == 3840000) { in find_pll_inter_combination()
2317 pllb_table[j].freq_out == f_out) { in find_pll_inter_combination()
2331 unsigned int freq_out) in rt5682s_set_component_pll()
2337 freq_out == rt5682s->pll_out[pll_id]) in rt5682s_set_component_pll()
2340 if (!freq_in || !freq_out) { in rt5682s_set_component_pll()
2363 rt5682s->pll_comb = find_pll_inter_combination(freq_in, freq_out, in rt5682s_set_component_pll()
2371 pll_id + 1, freq_in, freq_out, rt5682s->pll_comb); in rt5682s_set_component_pll()
2375 pll_id + 1, freq_in, freq_out, rt5682 in rt5682s_set_component_pll()
2332 rt5682s_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682s_set_component_pll() argument
[all...]
H A Dwm8974.c313 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 Drt5514.c898 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 Dnau8822.h211 int freq_out; member
H A Dwm8940.c584 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 Drt5682.c2356 unsigned int freq_out) in rt5682_set_component_pll()
2365 freq_out == rt5682->pll_out[pll_id]) in rt5682_set_component_pll()
2368 if (!freq_in || !freq_out) { in rt5682_set_component_pll()
2408 ret = rl6231_pll_calc(pll2_fout1, freq_out, &pll2b_code); in rt5682_set_component_pll()
2415 pll2_fout1, freq_out, in rt5682_set_component_pll()
2430 if (freq_out == 22579200) in rt5682_set_component_pll()
2459 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5682_set_component_pll()
2478 rt5682->pll_out[pll_id] = freq_out; in rt5682_set_component_pll()
2355 rt5682_set_component_pll(struct snd_soc_component * component,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5682_set_component_pll() argument
H A Drt5668.c2095 unsigned int freq_out) in rt5668_set_component_pll()
2102 freq_out == rt5668->pll_out) in rt5668_set_component_pll()
2105 if (!freq_in || !freq_out) { in rt5668_set_component_pll()
2129 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5668_set_component_pll()
2146 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 Drt1011.c1771 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 Dwm8753.c738 int source, unsigned int freq_in, unsigned int freq_out) in wm8753_set_dai_pll() argument
757 if (!freq_in || !freq_out) { in wm8753_set_dai_pll()
766 pll_factors(&pll_div, freq_out * 8, freq_in); in wm8753_set_dai_pll()
H A Dtscs42xx.c192 int freq_out; in power_up_audio_plls()
197 freq_out = sample_rate_to_pll_freq_out(tscs42xx->samplerate); in power_up_audio_plls()
198 switch (freq_out) { in power_up_audio_plls()
191 int freq_out; power_up_audio_plls() local
H A Drt5640.c1877 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 Drt5677.c4476 * @freq_out: target clock which codec works on. in rt5677_set_dai_sysclk()
4484 const unsigned int freq_out, struct rl6231_pll_code *pll_code)
4489 return rl6231_pll_calc(freq_in, freq_out, pll_code);
4493 unsigned int freq_in, unsigned int freq_out) in rt5677_pll_calc()
4501 freq_out == rt5677->pll_out) in rt5677_set_dai_pll()
4504 if (!freq_in || !freq_out) { in rt5677_set_dai_pll()
4549 ret = rt5677_pll_calc(freq_in, freq_out, &pll_code); in rt5677_set_dai_pll()
4566 rt5677->pll_out = freq_out; in rt5677_set_dai_pll()
4491 rt5677_pll_calc(const unsigned int freq_in,const unsigned int freq_out,struct rl6231_pll_code * pll_code) rt5677_pll_calc() argument
4500 rt5677_set_dai_pll(struct snd_soc_dai * dai,int pll_id,int source,unsigned int freq_in,unsigned int freq_out) rt5677_set_dai_pll() argument
/linux/sound/soc/pxa/
H A Dmmp-sspa.c135 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 Dtwl6040.h216 unsigned int freq_in, unsigned int freq_out);
/linux/include/sound/
H A Dsoc-component.h101 int source, unsigned int freq_in, unsigned int freq_out);
330 unsigned int freq_out);
/linux/arch/arm/mach-omap2/
H A Dsram242x.S173 bne freq_out @ leave if SDR, no DLL function
184 freq_out: label
H A Dsram243x.S173 bne freq_out @ leave if SDR, no DLL function
184 freq_out: label

12