| /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 | 133 * @freq_out: target clock which codec works on. 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 | rt5514.c | 897 unsigned int freq_in, unsigned int freq_out) in rt5514_set_dai_pll() argument 904 if (!freq_in || !freq_out) { in rt5514_set_dai_pll() 917 freq_out == rt5514->pll_out) in rt5514_set_dai_pll() 936 ret = rl6231_pll_calc(freq_in, freq_out, &pll_code); in rt5514_set_dai_pll() 954 rt5514->pll_out = freq_out; in rt5514_set_dai_pll()
|
| 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, rt5682s->pll_comb); 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 | wm8940.c | 583 int source, unsigned int freq_in, unsigned int freq_out) in wm8940_set_dai_pll() argument 592 if (freq_in == 0 || freq_out == 0) { in wm8940_set_dai_pll() 602 pll_factors(freq_out*4, freq_in); in wm8940_set_dai_pll()
|
| 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()
|
| /linux/sound/soc/intel/avs/boards/ |
| H A D | rt5682.c | 150 int pll_source, freq_in, freq_out; in avs_rt5682_hw_params() local 164 freq_out = params_rate(params) * 512; in avs_rt5682_hw_params() 166 ret = snd_soc_dai_set_pll(codec_dai, RT5682_PLL1, pll_source, freq_in, freq_out); in avs_rt5682_hw_params() 170 ret = snd_soc_dai_set_sysclk(codec_dai, RT5682_SCLK_S_PLL1, freq_out, SND_SOC_CLOCK_IN); in avs_rt5682_hw_params()
|
| /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/sound/soc/ |
| H A D | soc-dai.c | 83 * @freq_out: requested PLL output clock frequency in Hz 88 unsigned int freq_in, unsigned int freq_out) in snd_soc_dai_set_pll() argument 95 freq_in, freq_out); in snd_soc_dai_set_pll() 98 freq_in, freq_out); in snd_soc_dai_set_pll()
|
| H A D | soc-component.c | 98 * @freq_out: requested PLL output clock frequency in Hz 104 unsigned int freq_out) in snd_soc_component_set_pll() argument 110 freq_in, freq_out); in snd_soc_component_set_pll()
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | nvidia,tegra186-asrc.yaml | 12 wide range of sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
|
| /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/rtc/ |
| H A D | rtc-amlogic-a4.c | 290 * Set RTC oscillator to freq_out to freq_in/((N0*M0+N1*M1)/(M0+M1)) in aml_rtc_init() 302 /* Set M0 to 2, M1 to 3, so freq_out = 32768 Hz*/ in aml_rtc_init()
|
| /linux/sound/soc/generic/ |
| H A D | test-component.c | 50 unsigned int freq_in, unsigned int freq_out) in test_dai_set_pll() argument 305 int source, unsigned int freq_in, unsigned int freq_out) in test_component_set_pll() argument
|
| /linux/include/sound/ |
| H A D | soc-component.h | 98 int source, unsigned int freq_in, unsigned int freq_out); 322 unsigned int freq_out);
|
| H A D | soc-dai.h | 172 int pll_id, int source, unsigned int freq_in, unsigned int freq_out); 286 unsigned int freq_in, unsigned int freq_out);
|
| /linux/include/linux/mfd/ |
| H A D | twl6040.h | 216 unsigned int freq_in, unsigned int freq_out);
|
| /linux/sound/soc/tegra/ |
| H A D | Kconfig | 106 sample rate ratios (freq_in/freq_out) from 1:24 to 24:1.
|