Home
last modified time | relevance | path

Searched refs:fref (Results 1 – 12 of 12) sorted by relevance

/linux-3.3/arch/arm/mach-lpc32xx/
Dcommon.c213 u32 ilfreq, p, m, n, fcco, fref, cfreq; in clk_check_pll_setup() local
237 fref = ilfreq / n; in clk_check_pll_setup()
243 fref = ilfreq / n; in clk_check_pll_setup()
250 fref = ilfreq / n; in clk_check_pll_setup()
257 fref = 1000000; in clk_check_pll_setup()
265 fref = 1000000; in clk_check_pll_setup()
272 if (fref < 1000000 || fref > 27000000) in clk_check_pll_setup()
/linux-3.3/arch/arm/mach-imx/
Dclock-imx35.c153 unsigned long fref = get_rate_mpll(); in get_rate_arm() local
157 fref = fref * 3 / 4; in get_rate_arm()
159 return fref / aad->arm; in get_rate_arm()
166 unsigned long fref = get_rate_arm(); in get_rate_ahb() local
170 return fref / aad->ahb; in get_rate_ahb()
301 unsigned long fref = get_rate_mpll(); in get_rate_hsp() local
303 if (fref > 400 * 1000 * 1000) { in get_rate_hsp()
306 return fref >> 2; in get_rate_hsp()
308 return fref >> 3; in get_rate_hsp()
310 return fref / 3; in get_rate_hsp()
[all …]
Dmach-mx27ads.c318 unsigned long fref = 26000000; in mx27ads_timer_init() local
321 fref = 27000000; in mx27ads_timer_init()
323 mx27_clocks_init(fref); in mx27ads_timer_init()
Dclock-imx25.c96 unsigned long fref; in get_rate_per() local
99 fref = get_rate_upll(); in get_rate_per()
101 fref = get_rate_ahb(NULL); in get_rate_per()
103 return fref / (val + 1); in get_rate_per()
Dclock-imx1.c603 int __init mx1_clocks_init(unsigned long fref) in mx1_clocks_init() argument
610 clk32_rate = fref; in mx1_clocks_init()
Dclock-imx31.c578 int __init mx31_clocks_init(unsigned long fref) in mx31_clocks_init() argument
582 ckih_rate = fref; in mx31_clocks_init()
Dclock-imx27.c722 int __init mx27_clocks_init(unsigned long fref) in mx27_clocks_init() argument
726 external_high_reference = fref; in mx27_clocks_init()
/linux-3.3/arch/arm/plat-mxc/include/mach/
Dcommon.h58 extern int mx1_clocks_init(unsigned long fref);
59 extern int mx21_clocks_init(unsigned long lref, unsigned long fref);
61 extern int mx27_clocks_init(unsigned long fref);
62 extern int mx31_clocks_init(unsigned long fref);
/linux-3.3/drivers/media/common/tuners/
Dmt20xx.c109 unsigned int fref,lo1,lo1n,lo1a,s,sel,lo1freq, desired_lo1, in mt2032_compute_freq() local
112 fref= 5250 *1000; //5.25MHz in mt2032_compute_freq()
115 lo1=(2*(desired_lo1/1000)+(fref/1000)) / (2*fref/1000); in mt2032_compute_freq()
137 lo1freq=(lo1a+8*lo1n)*fref; in mt2032_compute_freq()
143 lo2=(desired_lo2)/fref; in mt2032_compute_freq()
146 lo2num=((desired_lo2/1000)%(fref/1000))* 3780/(fref/1000); //scale to fit in 32bit arith in mt2032_compute_freq()
147 lo2freq=(lo2a+8*lo2n)*fref + lo2num*(fref/1000)/3780*1000; in mt2032_compute_freq()
/linux-3.3/arch/m68k/platform/532x/
Dconfig.c525 int fref, temp, fout, mfd; in clock_pll() local
528 fref = FREF; in clock_pll()
534 return (fref * mfd / (BUSDIV * 4)); in clock_pll()
547 temp = 100 * fsys / fref; in clock_pll()
551 fout = (fref * mfd / (BUSDIV * 4)); in clock_pll()
/linux-3.3/drivers/video/
Dtdfxfb.c311 int fref = 14318; in do_calc_pll() local
322 int n_estimated = ((freq * (m + 2) << k) / fref) - 2; in do_calc_pll()
332 int f = (fref * (n + 2) / (m + 2)) >> k; in do_calc_pll()
352 *freq_out = (fref * (n + 2) / (m + 2)) >> k; in do_calc_pll()
/linux-3.3/sound/soc/codecs/
Dwm5100.c45 int fref; member
2029 fll->fref = Fref; in wm5100_set_fll()