Searched refs:Fref (Results 1 - 16 of 16) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/sound/soc/codecs/
H A Dwm9081.c438 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
446 /* Fref must be <=13.5MHz */
448 while ((Fref / div) > 13500000) {
453 Fref);
459 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
462 Fref /= div;
482 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
489 pr_err("Unable to find FLL_FRATIO for Fref
521 wm9081_set_fll(struct snd_soc_codec *codec, int fll_id, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8993.c286 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
294 /* Fref must be <=13.5MHz */
297 while ((Fref / div) > 13500000) {
303 Fref);
308 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
311 Fref /= div;
331 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
338 pr_err("Unable to find FLL_FRATIO for Fref
370 wm8993_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8900.c680 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
699 printk(KERN_WARNING "wm8900: FLL rate %u out of range, Fref=%u"
700 " Fout=%u\n", target, Fref, Fout);
703 "Fref=%u, Fout=%u, target=%u\n",
704 div, Fref, Fout, target);
710 if (Fref < 48000)
715 Ndiv = target / Fref;
717 if (Fref < 1000000)
723 Nmod = (target / fll_div->fll_ratio) % Fref;
728 do_div(Kpart, Fref);
[all...]
H A Dwm8400.c946 unsigned int Fref, unsigned int Fout)
965 if (Fref < 48000)
970 if (Fref < 1000000)
977 if (Fref < 1000000)
988 factors->n = target / (Fref * factors->fratio);
989 Nmod = target % (Fref * factors->fratio);
995 do_div(Kpart, (Fref * factors->fratio));
1006 "FLL: Fref=%u Fout=%u N=%x K=%x, FRATIO=%x OUTDIV=%x\n",
1007 Fref, Fout,
945 fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, unsigned int Fref, unsigned int Fout) argument
H A Dwm8904.c1860 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
1868 /* Fref must be <=13.5MHz */
1871 while ((Fref / div) > 13500000) {
1877 Fref);
1882 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
1885 Fref /= div;
1904 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
1911 pr_err("Unable to find FLL_FRATIO for Fref
1943 wm8904_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8955.c138 int Fref, int Fout, struct pll_factors *pll)
143 dev_dbg(dev, "Fref=%u Fout=%u\n", Fref, Fout);
162 Ndiv = target / Fref;
165 Nmod = target % Fref;
171 do_div(Kpart, Fref);
137 wm8995_pll_factors(struct device *dev, int Fref, int Fout, struct pll_factors *pll) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/sound/soc/codecs/
H A Dwm9081.c438 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
446 /* Fref must be <=13.5MHz */
448 while ((Fref / div) > 13500000) {
453 Fref);
459 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
462 Fref /= div;
482 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
489 pr_err("Unable to find FLL_FRATIO for Fref
521 wm9081_set_fll(struct snd_soc_codec *codec, int fll_id, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8993.c286 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
294 /* Fref must be <=13.5MHz */
297 while ((Fref / div) > 13500000) {
303 Fref);
308 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
311 Fref /= div;
331 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
338 pr_err("Unable to find FLL_FRATIO for Fref
370 wm8993_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8900.c680 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
699 printk(KERN_WARNING "wm8900: FLL rate %u out of range, Fref=%u"
700 " Fout=%u\n", target, Fref, Fout);
703 "Fref=%u, Fout=%u, target=%u\n",
704 div, Fref, Fout, target);
710 if (Fref < 48000)
715 Ndiv = target / Fref;
717 if (Fref < 1000000)
723 Nmod = (target / fll_div->fll_ratio) % Fref;
728 do_div(Kpart, Fref);
[all...]
H A Dwm8400.c946 unsigned int Fref, unsigned int Fout)
965 if (Fref < 48000)
970 if (Fref < 1000000)
977 if (Fref < 1000000)
988 factors->n = target / (Fref * factors->fratio);
989 Nmod = target % (Fref * factors->fratio);
995 do_div(Kpart, (Fref * factors->fratio));
1006 "FLL: Fref=%u Fout=%u N=%x K=%x, FRATIO=%x OUTDIV=%x\n",
1007 Fref, Fout,
945 fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, unsigned int Fref, unsigned int Fout) argument
H A Dwm8904.c1860 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument
1868 /* Fref must be <=13.5MHz */
1871 while ((Fref / div) > 13500000) {
1877 Fref);
1882 pr_debug("Fref=%u Fout=%u\n", Fref, Fout);
1885 Fref /= div;
1904 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) {
1911 pr_err("Unable to find FLL_FRATIO for Fref
1943 wm8904_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
[all...]
H A Dwm8955.c138 int Fref, int Fout, struct pll_factors *pll)
143 dev_dbg(dev, "Fref=%u Fout=%u\n", Fref, Fout);
162 Ndiv = target / Fref;
165 Nmod = target % Fref;
171 do_div(Kpart, Fref);
137 wm8995_pll_factors(struct device *dev, int Fref, int Fout, struct pll_factors *pll) argument
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/video/
H A Dasiliantfb.c46 static const unsigned Fref = 14318180; variable
132 ratio = Ftarget / Fref;
133 remainder = Ftarget % Fref;
135 /* This expresses the constraint that 150kHz <= Fref/n <= 5Mhz,
138 unsigned m = n * ratio + (n * remainder) / Fref;
142 unsigned new_error = Ftarget * n >= Fref * m ?
143 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n));
154 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ?
155 ((Ftarget * n) - (Fref * (
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/video/
H A Dasiliantfb.c46 static const unsigned Fref = 14318180; variable
132 ratio = Ftarget / Fref;
133 remainder = Ftarget % Fref;
135 /* This expresses the constraint that 150kHz <= Fref/n <= 5Mhz,
138 unsigned m = n * ratio + (n * remainder) / Fref;
142 unsigned new_error = Ftarget * n >= Fref * m ?
143 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n));
154 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ?
155 ((Ftarget * n) - (Fref * (
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/media/common/tuners/
H A Dmxl5005s.c2110 u32 Fref = 0 ; local
2125 Fref = 328000000UL ;
2130 Fref = 376000000UL ;
2135 Fref = 324000000UL ;
2140 Fref = 360000000UL ;
2145 Fref = 314000000UL ;
2150 Fref = 317200000UL ;
2155 Fref = 321200000UL ;
2160 Fref = 325200000UL ;
2168 Fref
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/media/common/tuners/
H A Dmxl5005s.c2110 u32 Fref = 0 ; local
2125 Fref = 328000000UL ;
2130 Fref = 376000000UL ;
2135 Fref = 324000000UL ;
2140 Fref = 360000000UL ;
2145 Fref = 314000000UL ;
2150 Fref = 317200000UL ;
2155 Fref = 321200000UL ;
2160 Fref = 325200000UL ;
2168 Fref
[all...]

Completed in 223 milliseconds