Searched refs:xtal (Results 1 - 130 of 130) sorted by relevance

/linux-4.1.27/include/media/
H A Dmt9v011.h14 unsigned xtal; /* Hz */ member in struct:mt9v011_platform_data
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dcommon.h24 extern void s3c2410_init_clocks(int xtal);
38 extern void s3c2412_init_clocks(int xtal);
52 extern void s3c2416_init_clocks(int xtal);
74 extern void s3c2440_init_clocks(int xtal);
84 extern void s3c2442_init_clocks(int xtal);
95 extern void s3c2443_init_clocks(int xtal);
H A Dpll-s3c2440-12000000.c56 unsigned long xtal; s3c2440_plls12_add() local
58 xtal_clk = clk_get(NULL, "xtal"); s3c2440_plls12_add()
62 xtal = clk_get_rate(xtal_clk); s3c2440_plls12_add()
65 if (xtal == 12000000) { s3c2440_plls12_add()
H A Dcommon.c512 void __init s3c2410_init_clocks(int xtal) s3c2410_init_clocks() argument
514 s3c2410_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); s3c2410_init_clocks()
519 void __init s3c2412_init_clocks(int xtal) s3c2412_init_clocks() argument
521 s3c2412_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); s3c2412_init_clocks()
526 void __init s3c2416_init_clocks(int xtal) s3c2416_init_clocks() argument
528 s3c2443_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); s3c2416_init_clocks()
533 void __init s3c2440_init_clocks(int xtal) s3c2440_init_clocks() argument
535 s3c2410_common_clk_init(NULL, xtal, 1, S3C24XX_VA_CLKPWR); s3c2440_init_clocks()
540 void __init s3c2442_init_clocks(int xtal) s3c2442_init_clocks() argument
542 s3c2410_common_clk_init(NULL, xtal, 2, S3C24XX_VA_CLKPWR); s3c2442_init_clocks()
547 void __init s3c2443_init_clocks(int xtal) s3c2443_init_clocks() argument
549 s3c2443_common_clk_init(NULL, xtal, 1, S3C24XX_VA_CLKPWR); s3c2443_init_clocks()
H A Dpll-s3c2440-16934400.c85 unsigned long xtal; s3c2440_plls169344_add() local
87 xtal_clk = clk_get(NULL, "xtal"); s3c2440_plls169344_add()
91 xtal = clk_get_rate(xtal_clk); s3c2440_plls169344_add()
94 if (xtal == 169344000) { s3c2440_plls169344_add()
/linux-4.1.27/drivers/clk/pistachio/
H A Dclk-pistachio.c73 DIV(CLK_RPU_SLEEP_DIV, "rpu_sleep_div", "xtal", 0x224, 10),
108 PNAME(mux_xtal_audio_refclk) = { "xtal", "audio_clk_in_gate" };
109 PNAME(mux_xtal_mips) = { "xtal", "mips_pll" };
110 PNAME(mux_xtal_audio) = { "xtal", "audio_pll", "audio_in" };
112 PNAME(mux_xtal_rpu_v) = { "xtal", "rpu_v_pll" };
113 PNAME(mux_xtal_rpu_l) = { "xtal", "rpu_l_pll" };
115 PNAME(mux_xtal_wifi) = { "xtal", "wifi_pll" };
116 PNAME(mux_xtal_wifi_div4) = { "xtal", "wifi_div4" };
117 PNAME(mux_xtal_wifi_div8) = { "xtal", "wifi_div8" };
120 PNAME(mux_xtal_sys) = { "xtal", "sys_pll" };
124 PNAME(mux_xtal_bt) = { "xtal", "bt_pll" };
147 PLL_FIXED(CLK_MIPS_PLL, "mips_pll", "xtal", PLL_GF40LP_LAINT, 0x0),
150 PLL_FIXED(CLK_RPU_V_PLL, "rpu_v_pll", "xtal", PLL_GF40LP_LAINT, 0x20),
151 PLL_FIXED(CLK_RPU_L_PLL, "rpu_l_pll", "xtal", PLL_GF40LP_LAINT, 0x2c),
152 PLL_FIXED(CLK_SYS_PLL, "sys_pll", "xtal", PLL_GF40LP_FRAC, 0x38),
153 PLL_FIXED(CLK_WIFI_PLL, "wifi_pll", "xtal", PLL_GF40LP_FRAC, 0x4c),
154 PLL_FIXED(CLK_BT_PLL, "bt_pll", "xtal", PLL_GF40LP_LAINT, 0x60),
/linux-4.1.27/sound/soc/samsung/
H A Ds3c24xx_uda134x.c39 static struct clk *xtal; variable in typeref:struct:clk
69 xtal = clk_get(&s3c24xx_uda134x_snd_device->dev, "xtal"); s3c24xx_uda134x_startup()
70 if (IS_ERR(xtal)) { s3c24xx_uda134x_startup()
71 printk(KERN_ERR "%s cannot get xtal\n", __func__); s3c24xx_uda134x_startup()
72 ret = PTR_ERR(xtal); s3c24xx_uda134x_startup()
79 clk_put(xtal); s3c24xx_uda134x_startup()
89 rates[i*33] = clk_get_rate(xtal) / fs; s3c24xx_uda134x_startup()
117 clk_put(xtal); s3c24xx_uda134x_shutdown()
118 xtal = NULL; s3c24xx_uda134x_shutdown()
H A Ds3c24xx_simtec.c316 xtal_clk = clk_get(&pdev->dev, "xtal"); simtec_audio_core_probe()
322 dev_info(&pdev->dev, "xtal rate is %ld\n", clk_get_rate(xtal_clk)); simtec_audio_core_probe()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dopp.h20 unsigned long xtal; member in struct:mpu_rate
H A Dopp_data.c20 /* MPU MHz, xtal MHz, dpll1 MHz, CKCTL, DPLL_CTL
H A Dclock.c206 if (ptr->xtal != ref_rate) omap1_select_table_rate()
209 /* Can check only after xtal frequency check */ omap1_select_table_rate()
294 if (ptr->xtal != ref_rate) omap1_round_to_table_rate()
299 /* Can check only after xtal frequency check */ omap1_round_to_table_rate()
H A Dclock_data.c758 pr_notice("Clocking rate (xtal/DPLL1/MPU): %ld.%01ld/%ld.%01ld/%ld.%01ld MHz\n", omap1_show_rates()
837 ck_dpll1.rate = ck_ref.rate; /* Base xtal rate */ omap1_clk_init()
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-av-audio.c80 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
84 /* xtal * 0xd.bb3a060/0x20 = 32000 * 384: 393 MHz p-pd*/ set_audclk_freq()
88 /* 0x1.f77f = (4 * xtal/8*2/455) / 32000 */ set_audclk_freq()
115 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
119 /* xtal * 0xe.3150f90/0x18 = 44100 * 384: 406 MHz p-pd*/ set_audclk_freq()
123 /* 0x1.6d59 = (4 * xtal/8*2/455) / 44100 */ set_audclk_freq()
150 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
154 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz p-pd*/ set_audclk_freq()
158 /* 0x1.4faa = (4 * xtal/8*2/455) / 48000 */ set_audclk_freq()
187 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
191 /* xtal * 0xd.bb3a060/0x30 = 32000 * 256: 393 MHz p-pd*/ set_audclk_freq()
226 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
230 /* xtal * 0xe.3150f90/0x24 = 44100 * 256: 406 MHz p-pd*/ set_audclk_freq()
265 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz pre-postdiv*/ set_audclk_freq()
269 /* xtal * 0xd.bb3a060/0x20 = 48000 * 256: 393 MHz p-pd*/ set_audclk_freq()
H A Dcx18-gpio.c234 * 2. Reset then takes 66 WDT cycles at 10 kHz + 16 xtal clock resetctrl_reset()
H A Dcx18-av-core.c116 /* xtal * 0xf.15f17f0/4 = 108 MHz: 432 MHz before post divide */ cx18_av_init()
120 /* xtal * 0xe.2913d68/0x16 = 48000 * 384: 406 MHz pre post-div*/ cx18_av_init()
/linux-4.1.27/arch/arm/plat-samsung/
H A Dinit.c74 * xtal = 0 -> use default PLL crystal value (normally 12MHz)
78 void __init s3c24xx_init_clocks(int xtal) s3c24xx_init_clocks() argument
80 if (xtal == 0) s3c24xx_init_clocks()
81 xtal = 12*1000*1000; s3c24xx_init_clocks()
89 (cpu->init_clocks)(xtal); s3c24xx_init_clocks()
/linux-4.1.27/drivers/clk/
H A Dclk-wm831x.c28 struct clk *xtal; member in struct:wm831x_clk
60 .name = "xtal",
181 "xtal",
303 "xtal",
375 clkdata->xtal = devm_clk_register(&pdev->dev, &clkdata->xtal_hw); wm831x_clk_probe()
376 if (IS_ERR(clkdata->xtal)) wm831x_clk_probe()
377 return PTR_ERR(clkdata->xtal); wm831x_clk_probe()
H A Dclk-si5351.c61 struct clk_hw xtal; member in struct:si5351_driver_data
72 "xtal", "clkin"
220 * Si5351 xtal clock input
225 container_of(hw, struct si5351_driver_data, xtal); si5351_xtal_prepare()
234 container_of(hw, struct si5351_driver_data, xtal); si5351_xtal_unprepare()
1324 drvdata->pxtal = devm_clk_get(&client->dev, "xtal"); si5351_i2c_probe()
1408 /* register xtal input clock gate */ si5351_i2c_probe()
1418 drvdata->xtal.init = &init; si5351_i2c_probe()
1419 clk = devm_clk_register(&client->dev, &drvdata->xtal); si5351_i2c_probe()
1446 /* Si5351C allows to mux either xtal or clkin to PLL input */ si5351_i2c_probe()
H A Dclk-si570.c66 * @fxtal: Factory xtal frequency
/linux-4.1.27/drivers/staging/media/mn88472/
H A Dmn88472_priv.h34 u32 xtal; member in struct:mn88472_dev
H A Dmn88472.c97 tmp = div_u64(if_frequency * (u64)(1<<24) + (dev->xtal / 2), mn88472_set_frontend()
98 dev->xtal); mn88472_set_frontend()
465 dev->xtal = config->xtal; mn88472_probe()
/linux-4.1.27/drivers/staging/media/mn88473/
H A Dmn88473_priv.h34 u32 xtal; member in struct:mn88473_dev
H A Dmn88473.c95 tmp = div_u64(if_frequency * (u64)(1<<24) + (dev->xtal / 2), mn88473_set_frontend()
96 dev->xtal); mn88473_set_frontend()
410 if (!config->xtal) mn88473_probe()
411 dev->xtal = 25000000; mn88473_probe()
413 dev->xtal = config->xtal; mn88473_probe()
/linux-4.1.27/drivers/clk/samsung/
H A Dclk-exynos5440.c36 FRATE(0, "xtal", NULL, CLK_IS_ROOT, 0),
92 { .compatible = "samsung,clock-xtal", .data = (void *)0, },
136 samsung_clk_register_pll2550x("cplla", "xtal", reg_base + 0x1c, 0x10); exynos5440_clk_init()
137 samsung_clk_register_pll2550x("cpllb", "xtal", reg_base + 0x20, 0x10); exynos5440_clk_init()
H A Dclk-s3c2412.c245 /* xtal alias is necessary for the current cpufreq driver */ s3c2412_common_clk_register_fixed_ext()
246 struct samsung_clock_alias xti_alias = ALIAS(XTI, NULL, "xtal"); s3c2412_common_clk_register_fixed_ext()
H A Dclk-s3c2410.c356 struct samsung_clock_alias xti_alias = ALIAS(XTI, NULL, "xtal"); s3c2410_common_clk_register_fixed_ext()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dmn88472.h51 u32 xtal; member in struct:mn88472_config
H A Dmn88473.h41 u32 xtal; member in struct:mn88473_config
H A Daf9013.h33 demod#1-gpio#1 - xtal setting (?)
36 demod#2-gpio#1 - xtal setting (?)
H A Dtda10023.c53 u32 xtal; member in struct:tda10023_state
543 if (state->config->xtal) { tda10023_attach()
544 state->xtal = state->config->xtal; tda10023_attach()
550 state->xtal = 28920000; tda10023_attach()
557 state->sysclk = (state->xtal * state->pll_m / \ tda10023_attach()
563 dprintk("DVB: TDA10023 %s: xtal:%d pll_m:%d pll_p:%d pll_n:%d\n", tda10023_attach()
564 __func__, state->xtal, state->pll_m, state->pll_p, tda10023_attach()
H A Dsi2165.h39 /* frequency of external clock or xtal in Hz
H A Dstv0367.h35 u32 xtal; member in struct:stv0367_config
H A Dtda10086.h45 /* frequency of the reference xtal */
H A Dmt312.c49 unsigned long xtal; member in struct:mt312_state
221 (((state->xtal * 8192) / (sym_rat_op + 8192)) * mt312_get_symbol_rate()
304 buf[0] = mt312_div(state->xtal * state->freq_mult * 2, 1000000); mt312_initfe()
307 buf[1] = mt312_div(state->xtal, 22000 * 4); mt312_initfe()
754 /* FIXME: adjust freq to real used xtal */
813 state->xtal = MT312_PLL_CLK; mt312_attach()
818 state->xtal = MT312_PLL_CLK; mt312_attach()
823 state->xtal = MT312_PLL_CLK_10_111; mt312_attach()
H A Dstv0900.h41 u32 xtal; member in struct:stv0900_config
H A Dtda1002x.h48 u32 xtal; /* defaults: 28920000 */ member in struct:tda10023_config
H A Dtda10071.h65 u32 xtal; member in struct:tda10071_config
H A Dcx24113.c236 u8 xtal = cx24113_readreg(state, 0x02); cx24113_set_Fref() local
240 xtal &= ~0x2; cx24113_set_Fref()
242 xtal |= high << 1; cx24113_set_Fref()
243 return cx24113_writereg(state, 0x02, xtal); cx24113_set_Fref()
H A Dstv090x.h73 u32 xtal; /* default: 8000000 */ member in struct:stv090x_config
H A Ddib7000p.c490 u32 internal, xtal; dib7000p_update_pll() local
506 xtal = (internal / loopdiv) * prediv; dib7000p_update_pll()
507 internal = 1000 * (xtal / bw->pll_prediv) * bw->pll_ratio; /* new internal */ dib7000p_update_pll()
1198 u32 xtal = state->cfg.bw->xtal_hz / 1000; dib7000p_spur_protect() local
1199 int f_rel = DIV_ROUND_CLOSEST(rf_khz, xtal) * xtal - rf_khz; dib7000p_spur_protect()
1205 dprintk("relative position of the Spur: %dk (RF: %dk, XTAL: %dk)", f_rel, rf_khz, xtal); dib7000p_spur_protect()
H A Dsi2165.c35 * uses 16 MHz xtal */
50 /* calculated by xtal and div settings */
287 /* adc_clk and sys_clk depend on xtal and pll settings */ si2165_init_pll()
H A Dzl10036.c229 * f(bw)=34,6MHz f(xtal)=10.111MHz zl10036_set_bandwidth()
H A Dtda10071.c1063 cmd.args[1] = ((priv->cfg.xtal / 1000) >> 8) & 0xff; tda10071_init()
1064 cmd.args[2] = ((priv->cfg.xtal / 1000) >> 0) & 0xff; tda10071_init()
H A Dstv0367.c1551 switch (state->config->xtal) { stv0367ter_init()
1669 state->config->xtal)) stv0367ter_algo()
1682 InternalFreq = stv0367ter_get_mclk(state, state->config->xtal) / 1000; stv0367ter_algo()
2816 cab_state->mclk = stv0367cab_get_mclk(fe, state->config->xtal); stv0367cab_init()
2817 cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); stv0367cab_init()
H A Dlgdt330x.c196 /* Use 50MHz parameter values from spec sheet since xtal is 50 */ lgdt330x_init()
H A Dtda10048.c1140 /* Set the xtal and freq defaults */ tda10048_attach()
H A Ddib8000.c747 u32 internal, xtal; dib8000_update_pll() local
771 xtal = 2 * (internal / loopdiv) * prediv; dib8000_update_pll()
772 internal = 1000 * (xtal/pll->pll_prediv) * pll->pll_ratio; dib8000_update_pll()
773 dprintk("Xtal = %d , New Fmem = %d New Fdemod = %d, New Fsampling = %d", xtal, internal/1000, internal/2000, internal/8000); dib8000_update_pll()
H A Dstv0900_core.c1931 init_params.dmd_ref_clk = config->xtal; stv0900_attach()
H A Dstv090x.c4262 return (div + 1) * config->xtal / ratio; /* kHz */ stv090x_get_mclk()
4273 div = ((clk_sel * mclk) / config->xtal) - 1; stv090x_set_mclk()
4702 stv090x_set_mclk(state, 135000000, config->xtal); /* 135 Mhz */ stv090x_init()
H A Ddrxk_hard.c999 pr_info("detected a drx-39%02xk, spin %s, xtal %d.%03d MHz\n", get_device_capabilities()
/linux-4.1.27/drivers/media/tuners/
H A Dit913x.c32 u16 xtal; member in struct:it913x_dev
64 dev->xtal = 2000; it913x_init()
71 dev->xtal = 640; it913x_init()
105 dev->fn_min = dev->xtal * utmp; it913x_init()
284 pre_lo_freq = t_cal_freq / dev->xtal; it913x_set_params()
285 utmp = pre_lo_freq * dev->xtal; it913x_set_params()
287 if ((t_cal_freq - utmp) >= (dev->xtal >> 1)) it913x_set_params()
H A Dtda18271.h72 /* slave tuner output & loop thru & xtal oscillator always on */
78 /* xtal oscillator off */
H A Dr820t.h38 u32 xtal; member in struct:r820t_config
H A Dtea5767.c243 tuner_dbg("radio HIGH LO inject xtal @ 13 MHz\n"); set_radio_freq()
248 tuner_dbg("radio LOW LO inject xtal @ 13 MHz\n"); set_radio_freq()
253 tuner_dbg("radio LOW LO inject xtal @ 32,768 MHz\n"); set_radio_freq()
260 tuner_dbg("radio HIGH LO inject xtal @ 32,768 MHz\n"); set_radio_freq()
H A Dr820t.c560 pll_ref = priv->cfg->xtal / 1000; r820t_set_pll()
574 if (priv->cfg->xtal > 24000000) { r820t_set_pll()
1417 /* Try several xtal capacitor alternatives */ r820t_xtal_check()
1434 if (priv->cfg->xtal == 16000000 && (val > 29 || val < 23)) r820t_xtal_check()
1901 if (priv->cfg->xtal > 24000000) r820t_imr()
1902 ring_ref = priv->cfg->xtal / 2000; r820t_imr()
1904 ring_ref = priv->cfg->xtal / 1000; r820t_imr()
H A Dtda18271-common.c535 * | 1 || 0 || 0 || & loop thru & xtal oscillator on
537 * | 1 || 1 || 0 || standby mode w/ xtal oscillator on
H A Dxc5000.c614 /* 32.000 MHz xtal is default */ xc_set_xtal()
620 /* 32.000 MHz xtal is default */ xc_set_xtal()
623 /* 31.875 MHz xtal configuration */ xc_set_xtal()
H A Dmxl5007t.c301 /* select xtal freq & ref freq */ mxl5007t_set_xtal_freq_bits()
H A Dtda18271-fe.c51 tda_dbg("%s mode: xtal oscillator %s, slave tuner loop thru %s\n", tda18271_toggle_output()
/linux-4.1.27/drivers/media/i2c/
H A Dmt9v011.c55 unsigned xtal; member in struct:mt9v011
216 frames_per_ms = core->xtal * 1000l; calc_fps()
248 t_time = core->xtal * ((u64)numerator); calc_speed()
544 core->xtal = 27000000; /* Hz */ mt9v011_probe()
549 core->xtal = pdata->xtal; mt9v011_probe()
550 v4l2_dbg(1, debug, sd, "xtal set to %d.%03d MHz\n", mt9v011_probe()
551 core->xtal / 1000000, (core->xtal / 1000) % 1000); mt9v011_probe()
H A Dsaa6588.c40 static unsigned int xtal; variable
47 module_param(xtal, int, 0);
48 MODULE_PARM_DESC(xtal, "select oscillator frequency (0..3), default 0");
370 switch (xtal) { saa6588_configure()
/linux-4.1.27/drivers/cpufreq/
H A Ds3c2412-cpufreq.c34 static struct clk *xtal; variable in typeref:struct:clk
226 xtal = clk_get(NULL, "xtal"); s3c2412_cpufreq_add()
227 if (IS_ERR(xtal)) { s3c2412_cpufreq_add()
228 printk(KERN_ERR "%s: cannot find xtal clock\n", __func__); s3c2412_cpufreq_add()
H A Ds3c2440-cpufreq.c33 static struct clk *xtal; variable in typeref:struct:clk
270 xtal = s3c_cpufreq_clk_get(NULL, "xtal"); s3c2440_cpufreq_add()
275 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { s3c2440_cpufreq_add()
H A Ds3c24xx-cpufreq.c373 _clk_xtal = s3c_cpufreq_clk_get(NULL, "xtal"); s3c_cpufreq_initclks()
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dcpu.h103 void (*init_clocks)(int xtal);
121 extern void s3c24xx_init_clocks(int xtal);
/linux-4.1.27/include/linux/usb/
H A Dm66592.h36 unsigned xtal:2; member in struct:m66592_platdata
H A Dr8a66597.h41 unsigned xtal:2; member in struct:r8a66597_platdata
/linux-4.1.27/arch/sh/boards/mach-x3proto/
H A Dsetup.c70 .xtal = R8A66597_PLATDATA_XTAL_12MHZ,
99 .xtal = M66592_PLATDATA_XTAL_24MHZ,
/linux-4.1.27/include/linux/platform_data/
H A Dsi5351.h102 * @clk_xtal: xtal input clock
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/
H A Dwl12xx.h109 bool xtal; member in struct:wl12xx_clock
H A Dmain.c1794 u32 freq, bool xtal) wl12xx_get_clock_idx()
1799 if ((table[i].freq == freq) && (table[i].xtal == xtal)) wl12xx_get_clock_idx()
1793 wl12xx_get_clock_idx(const struct wl12xx_clock *table, u32 freq, bool xtal) wl12xx_get_clock_idx() argument
/linux-4.1.27/arch/arm/plat-omap/
H A Dcounter_32k.c36 * higher resolution in free-running counter modes (e.g. 12 MHz xtal),
/linux-4.1.27/arch/sh/boards/mach-highlander/
H A Dsetup.c37 .xtal = R8A66597_PLATDATA_XTAL_12MHZ,
67 .xtal = M66592_PLATDATA_XTAL_24MHZ,
/linux-4.1.27/drivers/tty/serial/
H A Dmax310x.c530 bool xtal) max310x_set_ref_clk()
574 clksrc = xtal ? MAX310X_CLKSRC_CRYST_BIT : MAX310X_CLKSRC_EXTCLK_BIT; max310x_set_ref_clk()
586 if (pllcfg && xtal) max310x_set_ref_clk()
1087 bool xtal = false; max310x_probe() local
1101 clk_xtal = devm_clk_get(dev, "xtal"); max310x_probe()
1110 xtal = true; max310x_probe()
1159 uartclk = max310x_set_ref_clk(s, freq, xtal); max310x_probe()
529 max310x_set_ref_clk(struct max310x_port *s, unsigned long freq, bool xtal) max310x_set_ref_clk() argument
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_base.c463 long xtal; radeon_probe_pll_params() local
560 xtal = vclk; radeon_probe_pll_params()
562 if ((xtal > 26900) && (xtal < 27100)) radeon_probe_pll_params()
563 xtal = 2700; radeon_probe_pll_params()
564 else if ((xtal > 14200) && (xtal < 14400)) radeon_probe_pll_params()
565 xtal = 1432; radeon_probe_pll_params()
566 else if ((xtal > 29400) && (xtal < 29600)) radeon_probe_pll_params()
567 xtal = 2950; radeon_probe_pll_params()
569 printk(KERN_WARNING "xtal calculation failed: %ld\n", xtal); radeon_probe_pll_params()
579 sclk = round_div((2 * Ns * xtal), (2 * M)); radeon_probe_pll_params()
580 mclk = round_div((2 * Nm * xtal), (2 * M)); radeon_probe_pll_params()
583 rinfo->pll.ref_clk = xtal; radeon_probe_pll_params()
H A Datyfb_base.c2333 const char *ramname = NULL, *xtal; aty_init() local
2453 xtal = "14.31818"; aty_init()
2469 xtal = "29.498928"; aty_init()
2574 info->fix.smem_len == 0x80000 ? 'K' : 'M', ramname, xtal, aty_init()
/linux-4.1.27/include/linux/mfd/
H A Dsi476x-platform.h197 * additional load capacitance presented to the xtal. The
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-camera.c351 * FIXME: mt9v011 uses I2S speed as xtal clk - at least with em28xx_init_camera()
362 pdata.xtal = v4l2->sensor_xtal; em28xx_init_camera()
H A Dem28xx-dvb.c816 .xtal = 40444000, /* 40.444 MHz */
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Ddib0700_devices.c2026 u16 xtal = 12000; dib8096p_get_best_sampling() local
2041 while ((xtal / max_prediv) >= fcp_min) dib8096p_get_best_sampling()
2046 while ((xtal / min_prediv) <= fcp_max) { dib8096p_get_best_sampling()
2056 fcp = xtal / prediv; dib8096p_get_best_sampling()
2059 fmem = ((xtal/prediv) * loopdiv); dib8096p_get_best_sampling()
2080 deb_info("RF %6d; BW %6d; Xtal %6d; Fmem %6d; Fdem %6d; Fs %6d; Prediv %2d; Loopdiv %2d; Timf %8d;", fe->dtv_property_cache.frequency, fe->dtv_property_cache.bandwidth_hz, xtal, fmem, fdem, fs, prediv, loopdiv, adc->timf); dib8096p_get_best_sampling()
2532 u16 xtal = 12000; dib7090p_get_best_sampling() local
2547 while ((xtal/max_prediv) >= fcp_min) dib7090p_get_best_sampling()
2552 while ((xtal/min_prediv) <= fcp_max) { dib7090p_get_best_sampling()
2562 fcp = xtal / prediv; dib7090p_get_best_sampling()
2565 fdem = ((xtal/prediv) * loopdiv); dib7090p_get_best_sampling()
H A Ddw2102.c1061 .xtal = 27000000,
1077 .xtal = 8000000,
1094 .xtal = 27000000,
H A Dtechnisat-usb2.c488 .xtal = 8000000,
H A Dttusb2.c480 .xtal = 16000000,
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Daiutils.h102 /* clkctl xtal what flags */
H A Daiutils.c592 * If the slow clock is not sourced by the xtal then ai_clkctl_setdelay()
593 * add the xtal_on_delay since the xtal will also be ai_clkctl_setdelay()
H A Dmain.c1946 bool v, clk, xtal; brcms_b_radio_read_hwdisabled() local
1949 xtal = wlc_hw->sbclk; brcms_b_radio_read_hwdisabled()
1950 if (!xtal) brcms_b_radio_read_hwdisabled()
1982 if (!xtal) brcms_b_radio_read_hwdisabled()
4673 /* turn off pll and xtal to match driver "down" state */ brcms_b_attach()
4914 * Enable pll and xtal, initialize the power control registers, brcms_b_hw_up()
4951 * Enable pll and xtal, initialize the power control registers, brcms_b_up_prep()
5172 /* turn off primary xtal and pll */ brcms_b_down_finish()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dr8a66597-udc.h242 switch (pdata->xtal) { get_xtal_from_pdata()
H A Dm66592-udc.c629 switch (m66592->pdata->xtal) { init_controller()
640 pr_warning("m66592-udc: xtal configuration error\n"); init_controller()
/linux-4.1.27/drivers/usb/host/
H A Dr8a66597.h308 switch (pdata->xtal) { get_xtal_from_pdata()
/linux-4.1.27/arch/sh/boards/
H A Dboard-sh7785lcr.c98 .xtal = R8A66597_PLATDATA_XTAL_12MHZ,
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Ddsmg600-setup.c222 /* The xtal on this machine is non-standard. */ dsmg600_timer_init()
H A Dnslu2-setup.c235 /* The xtal on this machine is non-standard. */ nslu2_timer_init()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclkt2xxx_virt_prcm_set.c90 /* Can check only after xtal frequency check */ omap2_round_to_table_rate()
H A Dopp2xxx.h44 unsigned long dpll_speed; /* dpll: out*xtal*M/(N-1)table_recalc */
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-cards.c567 .xtal = 27000000,
588 .xtal = 27000000,
/linux-4.1.27/drivers/mfd/
H A Dtps65910.c421 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); tps65910_parse_dt()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-rcar-gen2.c118 * Since this value might be dependant of external xtal rate, pll1 cpg_z_clk_set_rate()
/linux-4.1.27/arch/m68k/bvme6000/
H A Dconfig.c133 /* PRI, SYSCON?, Level3, SCC clks from xtal */ config_bvme6000()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-core.c726 static const u32 xtal = 28636363; variable
741 do_div(pll,xtal); set_pll()
876 adc_clock = xtal; cx88_set_tvnorm()
H A Dcx88-dvb.c756 .xtal = 27000000,
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Danysee.c290 .xtal = 16000000,
326 .xtal = 16000000,
360 .xtal = 8000000,
H A Drtl28xxu.c879 mn88472_config.xtal = 20500000; rtl2832u_frontend_attach()
1048 .xtal = 28800000,
1055 .xtal = 16000000,
H A Daf9015.c489 /* xtal */ af9015_read_config()
508 dev_dbg(&d->udev->dev, "%s: [%d] xtal=%d set clock=%d\n", af9015_read_config()
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-dvb.c479 .xtal = 8000000,
557 .xtal = 27000000,
816 .xtal = 27000000,
823 .xtal = 27000000,
865 .xtal = 40444000, /* 40.444 MHz */
/linux-4.1.27/drivers/net/wan/
H A Ddscc4.c1265 int xtal; dscc4_set_clock() local
1267 xtal = dpriv->pci_priv->xtal_hz; dscc4_set_clock()
1268 if (!xtal) dscc4_set_clock()
1272 divider = xtal / *bps; dscc4_set_clock()
1294 *bps = xtal / divider; dscc4_set_clock()
/linux-4.1.27/drivers/media/pci/tw68/
H A Dtw68-core.c104 tw_writeb(TW68_INFORM, 0x40); /* 208 mux0, 27mhz xtal */ tw68_hw_init1()
/linux-4.1.27/drivers/media/radio/
H A Dradio-tea5764.c544 MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board");
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dboard-kzm9g.c111 .xtal = R8A66597_PLATDATA_XTAL_48MHZ,
/linux-4.1.27/drivers/media/pci/ttpci/
H A Dbudget.c456 .xtal = 13500000,
H A Dbudget-ci.c1039 .xtal = 16000000,
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_base.h273 int xtal; member in struct:mavenregs
H A Dmatroxfb_maven.c242 dprintk(KERN_DEBUG "want: %u, xtal: %u, h: %u, v: %u, fmax: %u\n", matroxfb_PLL_mavenclock()
/linux-4.1.27/drivers/media/pci/ddbridge/
H A Dddbridge-core.c621 .xtal = 27000000,
640 .xtal = 27000000,
/linux-4.1.27/drivers/net/ieee802154/
H A Dat86rf230.c1459 * CX = connected capacitors at xtal pins at86rf230_hw_init()
1527 ret = of_property_read_u8(spi->dev.of_node, "xtal-trim", xtal_trim); at86rf230_get_pdata()
/linux-4.1.27/drivers/spi/
H A Dspi-pxa2xx.c690 unsigned long xtal = 200000000; quark_x1000_get_clk_div() local
691 unsigned long fref = xtal / 2; /* mandatory division by 2, quark_x1000_get_clk_div()
/linux-4.1.27/sound/oss/
H A Dad1848.c2702 unsigned long xtal_nsecs; /* nanoseconds per xtal oscillator tick */ ad1848_tmr_start()
2712 * (when a 24.576 MHz xtal oscillator is used). ad1848_tmr_start()
2745 * Audio driver has changed sampling rate so that a different xtal ad1848_tmr_reprogram()
/linux-4.1.27/sound/sparc/
H A Ddbri.c156 unsigned char xtal; member in struct:__anon14703
1364 mm->ctrl[2] = CS4215_XCLK | CS4215_BSEL_128 | CS4215_FREQ[0].xtal; cs4215_init_data()
1617 CS4215_BSEL_128 | CS4215_FREQ[freq_idx].xtal; cs4215_prepare()
/linux-4.1.27/drivers/pinctrl/meson/
H A Dpinctrl-meson8.c884 FUNCTION(xtal),
H A Dpinctrl-meson8b.c826 FUNCTION(xtal),
/linux-4.1.27/firmware/keyspan_pda/
H A Dkeyspan_pda.S291 ;; (xtal 12MHz, internal fosc 24MHz)
H A Dxircom_pgs.S329 ;; (xtal 12MHz, internal fosc 24MHz)
/linux-4.1.27/drivers/media/i2c/cx25840/
H A Dcx25840-core.c488 * Trust the default xtal, no division cx23885_initialize()
505 /* HVR1850 or 50MHz xtal */ cx23885_initialize()
578 /* HVR1850 or 50MHz xtal */ cx23885_initialize()
711 /* Trust the default xtal, no division */ cx231xx_initialize()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
H A Dhw.c1925 /*parse xtal*/ _rtl88ee_read_adapter_info()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
H A Dhw.c2196 /*parse xtal*/ _rtl92ee_read_adapter_info()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
H A Dhw.c2105 /*parse xtal*/ _rtl8723be_read_adapter_info()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dcommands.h2147 * bit 31/30- '00' use both mac/xtal sleeps
2149 * '10' force xtal sleep
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Dcommands.h2262 * bit 31/30- '00' use both mac/xtal sleeps
2264 * '10' force xtal sleep
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-cards.c1195 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
H A Dhw.c3235 /*parse xtal*/ _rtl8821ae_read_adapter_info()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dsdio.c169 /* Make ALP ready (power up xtal) */

Completed in 3772 milliseconds