/linux-master/sound/soc/codecs/ |
H A D | arizona.c | 2106 unsigned int Fref, 2117 if (Fref / ARIZONA_FLL_MAX_REFDIV > ARIZONA_FLL_MAX_FREF) { 2120 Fref); 2134 static int arizona_find_fratio(unsigned int Fref, int *fratio) argument 2140 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 2153 unsigned int Fref, bool sync) 2158 /* Fref must be <=13.5MHz, find initial refdiv */ 2161 while (Fref > ARIZONA_FLL_MAX_FREF) { 2163 Fref / 2105 arizona_validate_fll(struct arizona_fll *fll, unsigned int Fref, unsigned int Fout) argument 2150 arizona_calc_fratio(struct arizona_fll *fll, struct arizona_fll_cfg *cfg, unsigned int target, unsigned int Fref, bool sync) argument 2255 arizona_calc_fll(struct arizona_fll *fll, struct arizona_fll_cfg *cfg, unsigned int Fref, bool sync) argument 2555 arizona_set_fll_refclk(struct arizona_fll *fll, int source, unsigned int Fref, unsigned int Fout) argument 2579 arizona_set_fll(struct arizona_fll *fll, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm9081.c | 462 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 470 /* Fref must be <=13.5MHz */ 472 while ((Fref / div) > 13500000) { 477 Fref); 483 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); 486 Fref /= div; 506 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 513 pr_err("Unable to find FLL_FRATIO for Fref 545 wm9081_set_fll(struct snd_soc_component *component, int fll_id, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm8993.c | 382 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 390 /* Fref must be <=13.5MHz */ 393 while ((Fref / div) > 13500000) { 399 Fref); 404 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); 407 Fref /= div; 427 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 434 pr_err("Unable to find FLL_FRATIO for Fref 466 _wm8993_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument 570 wm8993_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm8904.c | 1584 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 1592 /* Fref must be <=13.5MHz */ 1595 while ((Fref / div) > 13500000) { 1601 Fref); 1606 pr_debug("Fref=%u Fout=%u\n", Fref, Fout); 1609 Fref /= div; 1628 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 1635 pr_err("Unable to find FLL_FRATIO for Fref 1667 wm8904_set_fll(struct snd_soc_dai *dai, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm8900.c | 679 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 D | wm8996.c | 1914 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 1922 /* Fref must be <=13.5MHz */ 1925 while ((Fref / div) > 13500000) { 1931 Fref); 1936 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); 1939 Fref /= div; 1941 if (Fref >= 3000000) 1946 if (Fref >= 48000) 1968 if (fll_fratios[i].min <= Fref 2001 wm8996_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm8400.c | 853 unsigned int Fref, unsigned int Fout) 872 if (Fref < 48000) 877 if (Fref < 1000000) 884 if (Fref < 1000000) 895 factors->n = target / (Fref * factors->fratio); 896 Nmod = target % (Fref * factors->fratio); 902 do_div(Kpart, (Fref * factors->fratio)); 913 "FLL: Fref=%u Fout=%u N=%x K=%x, FRATIO=%x OUTDIV=%x\n", 914 Fref, Fout, 852 fll_factors(struct wm8400_priv *wm8400, struct fll_factors *factors, unsigned int Fref, unsigned int Fout) argument
|
H A D | wm8955.c | 144 int Fref, int Fout, struct pll_factors *pll) 149 dev_dbg(dev, "Fref=%u Fout=%u\n", Fref, Fout); 168 Ndiv = target / Fref; 171 Nmod = target % Fref; 177 do_div(Kpart, Fref); 143 wm8955_pll_factors(struct device *dev, int Fref, int Fout, struct pll_factors *pll) argument
|
H A D | wm8962.c | 2807 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 2815 /* Fref must be <=13.5MHz */ 2818 while ((Fref / div) > 13500000) { 2824 Fref); 2829 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); 2832 Fref /= div; 2851 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 2858 pr_err("Unable to find FLL_FRATIO for Fref 2884 wm8962_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm2200.c | 1847 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 1855 /* Fref must be <=13.5MHz */ 1858 while ((Fref / div) > 13500000) { 1864 Fref); 1869 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); 1872 Fref /= div; 1891 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 1898 pr_err("Unable to find FLL_FRATIO for Fref 1924 wm2200_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm5100.c | 1680 static int fll_factors(struct _fll_div *fll_div, unsigned int Fref, argument 1688 /* Fref must be <=13.5MHz */ 1691 while ((Fref / div) > 13500000) { 1697 Fref); 1702 pr_debug("FLL Fref=%u Fout=%u\n", Fref, Fout); 1705 Fref /= div; 1724 if (fll_fratios[i].min <= Fref && Fref <= fll_fratios[i].max) { 1731 pr_err("Unable to find FLL_FRATIO for Fref 1757 wm5100_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument [all...] |
H A D | wm8997.c | 927 int source, unsigned int Fref, unsigned int Fout) 933 return arizona_set_fll(&wm8997->fll[0], source, Fref, Fout); 935 return arizona_set_fll(&wm8997->fll[1], source, Fref, Fout); 937 return arizona_set_fll_refclk(&wm8997->fll[0], source, Fref, 940 return arizona_set_fll_refclk(&wm8997->fll[1], source, Fref, 926 wm8997_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
|
H A D | arizona.h | 344 unsigned int Fref, unsigned int Fout); 346 unsigned int Fref, unsigned int Fout);
|
H A D | wm8998.c | 1259 int source, unsigned int Fref, unsigned int Fout) 1265 return arizona_set_fll(&wm8998->fll[0], source, Fref, Fout); 1267 return arizona_set_fll(&wm8998->fll[1], source, Fref, Fout); 1269 return arizona_set_fll_refclk(&wm8998->fll[0], source, Fref, 1272 return arizona_set_fll_refclk(&wm8998->fll[1], source, Fref, 1258 wm8998_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
|
H A D | cs47l24.c | 935 int source, unsigned int Fref, unsigned int Fout) 941 return arizona_set_fll(&cs47l24->fll[0], source, Fref, Fout); 943 return arizona_set_fll(&cs47l24->fll[1], source, Fref, Fout); 945 return arizona_set_fll_refclk(&cs47l24->fll[0], source, Fref, 948 return arizona_set_fll_refclk(&cs47l24->fll[1], source, Fref, 934 cs47l24_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
|
H A D | wm5102.c | 1751 int source, unsigned int Fref, unsigned int Fout) 1757 return arizona_set_fll(&wm5102->fll[0], source, Fref, Fout); 1759 return arizona_set_fll(&wm5102->fll[1], source, Fref, Fout); 1761 return arizona_set_fll_refclk(&wm5102->fll[0], source, Fref, 1764 return arizona_set_fll_refclk(&wm5102->fll[1], source, Fref, 1750 wm5102_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
|
H A D | wm5110.c | 2051 int source, unsigned int Fref, unsigned int Fout) 2057 return arizona_set_fll(&wm5110->fll[0], source, Fref, Fout); 2059 return arizona_set_fll(&wm5110->fll[1], source, Fref, Fout); 2061 return arizona_set_fll_refclk(&wm5110->fll[0], source, Fref, 2064 return arizona_set_fll_refclk(&wm5110->fll[1], source, Fref, 2050 wm5110_set_fll(struct snd_soc_component *component, int fll_id, int source, unsigned int Fref, unsigned int Fout) argument
|
/linux-master/drivers/video/fbdev/ |
H A D | asiliantfb.c | 47 static const unsigned Fref = 14318180; variable 131 ratio = Ftarget / Fref; 132 remainder = Ftarget % Fref; 134 /* This expresses the constraint that 150kHz <= Fref/n <= 5Mhz, 137 unsigned m = n * ratio + (n * remainder) / Fref; 141 unsigned new_error = Ftarget * n >= Fref * m ? 142 ((Ftarget * n) - (Fref * m)) : ((Fref * m) - (Ftarget * n)); 153 unsigned new_error = Ftarget * n >= Fref * (m & ~3) ? 154 ((Ftarget * n) - (Fref * ( [all...] |
/linux-master/drivers/media/tuners/ |
H A D | mxl5005s.c | 2108 u32 Fref = 0 ; local 2123 Fref = 328000000UL ; 2128 Fref = 376000000UL ; 2133 Fref = 324000000UL ; 2138 Fref = 360000000UL ; 2143 Fref = 314000000UL ; 2148 Fref = 317200000UL ; 2153 Fref = 321200000UL ; 2158 Fref = 325200000UL ; 2166 Fref [all...] |