Home
last modified time | relevance | path

Searched refs:fout (Results 1 – 19 of 19) sorted by relevance

/sound/soc/codecs/
Dmadera.c3460 static int madera_find_main_fratio(unsigned int fref, unsigned int fout, in madera_find_main_fratio() argument
3465 while ((fout / (ratio * fref)) > MADERA_FLL_MAX_N) in madera_find_main_fratio()
3488 fll->fout, in madera_find_fratio()
3500 return madera_find_main_fratio(fref, fll->fout, fratio); in madera_find_fratio()
3566 if (fll->fout % (ratio * fref)) { in madera_calc_fratio()
3582 if (fll->fout % (ratio * fref)) { in madera_calc_fratio()
3631 fref, fll->fout, fll->fout * MADERA_FLL_VCO_MULT); in madera_calc_fll()
3641 cfg->n = fll->fout / (ratio * fref); in madera_calc_fll()
3643 if (fll->fout % (ratio * fref)) { in madera_calc_fll()
3644 gcd_fll = gcd(fll->fout, ratio * fref); in madera_calc_fll()
[all …]
Dmadera.h163 unsigned int fout; member
413 unsigned int fref, unsigned int fout);
415 unsigned int fref, unsigned int fout);
417 unsigned int fin, unsigned int fout);
419 unsigned int fin, unsigned int fout);
Dda7210.c213 int fout; member
986 int source, unsigned int fref, unsigned int fout) in da7210_set_dai_pll() argument
995 fout = 2822400; in da7210_set_dai_pll()
1002 (fout == da7210_pll_div[cnt].fout)) { in da7210_set_dai_pll()
Dda9055.c241 int fout; member
1280 int source, unsigned int fref, unsigned int fout) in da9055_set_dai_pll() argument
1291 if (!da9055->master && (fout != 2822400)) in da9055_set_dai_pll()
1299 (fout == da9055_pll_div[cnt].fout)) { in da9055_set_dai_pll()
Dda7213.c1408 unsigned int fref, unsigned int fout) in _da7213_set_component_pll() argument
1471 fout = DA7213_PLL_FREQ_OUT_94310400; in _da7213_set_component_pll()
1481 fout = DA7213_PLL_FREQ_OUT_94310400; in _da7213_set_component_pll()
1489 pll_integer = fout / freq_ref; in _da7213_set_component_pll()
1490 frac_div = (u64)(fout % freq_ref) * 8192ULL; in _da7213_set_component_pll()
1519 unsigned int fref, unsigned int fout) in da7213_set_component_pll() argument
1524 return _da7213_set_component_pll(component, pll_id, source, fref, fout); in da7213_set_component_pll()
Darizona.c2111 if (fll->fout && Fout != fll->fout) { in arizona_validate_fll()
2262 arizona_fll_dbg(fll, "Fref=%u Fout=%u\n", Fref, fll->fout); in arizona_calc_fll()
2266 while (fll->fout * div < ARIZONA_FLL_MIN_FVCO * fll->vco_mult) { in arizona_calc_fll()
2271 target = fll->fout * div / fll->vco_mult; in arizona_calc_fll()
2563 if (fll->fout && Fref > 0) { in arizona_set_fll_refclk()
2564 ret = arizona_validate_fll(fll, Fref, fll->fout); in arizona_set_fll_refclk()
2572 if (fll->fout && Fref > 0) in arizona_set_fll_refclk()
2585 fll->sync_freq == Fref && fll->fout == Fout) in arizona_set_fll()
2602 fll->fout = Fout; in arizona_set_fll()
Dcs47l85.c2224 int source, unsigned int fref, unsigned int fout) in cs47l85_set_fll() argument
2231 fout); in cs47l85_set_fll()
2234 fout); in cs47l85_set_fll()
2237 fout); in cs47l85_set_fll()
2240 fout); in cs47l85_set_fll()
2243 fout); in cs47l85_set_fll()
2246 fout); in cs47l85_set_fll()
Dcs47l15.c1127 int source, unsigned int fref, unsigned int fout) in cs47l15_set_fll() argument
1134 fout); in cs47l15_set_fll()
1137 fout); in cs47l15_set_fll()
1140 fout); in cs47l15_set_fll()
Dcs47l90.c2146 int source, unsigned int fref, unsigned int fout) in cs47l90_set_fll() argument
2153 fout); in cs47l90_set_fll()
2156 fout); in cs47l90_set_fll()
2159 fout); in cs47l90_set_fll()
2162 fout); in cs47l90_set_fll()
2165 fout); in cs47l90_set_fll()
Dda7219.c1217 int da7219_set_pll(struct snd_soc_component *component, int source, unsigned int fout) in da7219_set_pll() argument
1274 pll_integer = fout / freq_ref; in da7219_set_pll()
1275 frac_div = (u64)(fout % freq_ref) * 8192ULL; in da7219_set_pll()
1292 int source, unsigned int fref, unsigned int fout) in da7219_set_dai_pll() argument
1299 ret = da7219_set_pll(component, source, fout); in da7219_set_dai_pll()
Dda7219.h837 int da7219_set_pll(struct snd_soc_component *component, int source, unsigned int fout);
Darizona.h325 unsigned int fout; member
Dcs47l35.c1335 int source, unsigned int fref, unsigned int fout) in cs47l35_set_fll() argument
1342 fout); in cs47l35_set_fll()
1345 fout); in cs47l35_set_fll()
Dwm5100.c46 int fout; member
1782 if (fll->fout) in wm5100_set_fll()
1784 fll->fout = 0; in wm5100_set_fll()
1870 fll->fout = Fout; in wm5100_set_fll()
Dcs47l92.c1671 int source, unsigned int fref, unsigned int fout) in cs47l92_set_fll() argument
1678 fout); in cs47l92_set_fll()
1681 fout); in cs47l92_set_fll()
Dda7218.c1856 int source, unsigned int fref, unsigned int fout) in da7218_set_dai_pll() argument
1914 pll_integer = fout / freq_ref; in da7218_set_dai_pll()
1915 frac_div = (u64)(fout % freq_ref) * 8192ULL; in da7218_set_dai_pll()
/sound/soc/sh/rcar/
Dsrc.c208 u32 fin, fout; in rsnd_src_set_convert_rate() local
222 fout = rsnd_src_get_out_rate(priv, io); in rsnd_src_set_convert_rate()
227 if (fin == fout) in rsnd_src_set_convert_rate()
229 else if (fin > fout) in rsnd_src_set_convert_rate()
230 ratio = 100 * fin / fout; in rsnd_src_set_convert_rate()
232 ratio = 100 * fout / fin; in rsnd_src_set_convert_rate()
239 use_src = (fin != fout) | rsnd_src_sync_is_enabled(mod); in rsnd_src_set_convert_rate()
256 do_div(n, fout); in rsnd_src_set_convert_rate()
348 rsnd_adg_set_src_timesel_gen2(mod, io, fin, fout); in rsnd_src_set_convert_rate()
/sound/soc/fsl/
Dfsl_xcvr.c50 u32 fout; /* Fout = Fref*(MFI + MFN/MFD), Fref is 24MHz */ member
52 { .mfi = 54, .mfn = 1, .mfd = 6, .fout = 1300000000, }, /* 1.3 GHz */
53 { .mfi = 32, .mfn = 96, .mfd = 125, .fout = 786432000, }, /* 8000 Hz */
54 { .mfi = 30, .mfn = 66, .mfd = 625, .fout = 722534400, }, /* 11025 Hz */
55 { .mfi = 29, .mfn = 1, .mfd = 6, .fout = 700000000, }, /* 700 MHz */
265 if (fsl_xcvr_pll_cfg[i].fout % freq == 0) { in fsl_xcvr_en_phy_pll()
266 div = fsl_xcvr_pll_cfg[i].fout / freq; in fsl_xcvr_en_phy_pll()
346 freq, fsl_xcvr_pll_cfg[i].fout, fsl_xcvr_pll_cfg[i].mfi, in fsl_xcvr_en_phy_pll()
404 u32 fout = 32 * r * ch * 10 * 2; in fsl_xcvr_prepare() local
411 ret = fsl_xcvr_en_aud_pll(xcvr, fout); in fsl_xcvr_prepare()
[all …]
/sound/usb/line6/
Dplayback.c170 struct usb_iso_packet_descriptor *fout = in submit_audio_out_urb() local
185 fout->offset = urb_size; in submit_audio_out_urb()
186 fout->length = fsize; in submit_audio_out_urb()