/linux-4.1.27/include/media/ |
H A D | mt9v011.h | 14 unsigned xtal; /* Hz */ member in struct:mt9v011_platform_data
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | common.h | 24 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 D | pll-s3c2440-12000000.c | 56 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 D | common.c | 512 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 D | pll-s3c2440-16934400.c | 85 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 D | clk-pistachio.c | 73 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 D | s3c24xx_uda134x.c | 39 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 D | s3c24xx_simtec.c | 316 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 D | opp.h | 20 unsigned long xtal; member in struct:mpu_rate
|
H A D | opp_data.c | 20 /* MPU MHz, xtal MHz, dpll1 MHz, CKCTL, DPLL_CTL
|
H A D | clock.c | 206 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 D | clock_data.c | 758 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 D | cx18-av-audio.c | 80 /* 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 D | cx18-gpio.c | 234 * 2. Reset then takes 66 WDT cycles at 10 kHz + 16 xtal clock resetctrl_reset()
|
H A D | cx18-av-core.c | 116 /* 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 D | init.c | 74 * 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 D | clk-wm831x.c | 28 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 D | clk-si5351.c | 61 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 D | clk-si570.c | 66 * @fxtal: Factory xtal frequency
|
/linux-4.1.27/drivers/staging/media/mn88472/ |
H A D | mn88472_priv.h | 34 u32 xtal; member in struct:mn88472_dev
|
H A D | mn88472.c | 97 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 D | mn88473_priv.h | 34 u32 xtal; member in struct:mn88473_dev
|
H A D | mn88473.c | 95 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 D | clk-exynos5440.c | 36 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 D | clk-s3c2412.c | 245 /* 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 D | clk-s3c2410.c | 356 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 D | mn88472.h | 51 u32 xtal; member in struct:mn88472_config
|
H A D | mn88473.h | 41 u32 xtal; member in struct:mn88473_config
|
H A D | af9013.h | 33 demod#1-gpio#1 - xtal setting (?) 36 demod#2-gpio#1 - xtal setting (?)
|
H A D | tda10023.c | 53 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 D | si2165.h | 39 /* frequency of external clock or xtal in Hz
|
H A D | stv0367.h | 35 u32 xtal; member in struct:stv0367_config
|
H A D | tda10086.h | 45 /* frequency of the reference xtal */
|
H A D | mt312.c | 49 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 D | stv0900.h | 41 u32 xtal; member in struct:stv0900_config
|
H A D | tda1002x.h | 48 u32 xtal; /* defaults: 28920000 */ member in struct:tda10023_config
|
H A D | tda10071.h | 65 u32 xtal; member in struct:tda10071_config
|
H A D | cx24113.c | 236 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 D | stv090x.h | 73 u32 xtal; /* default: 8000000 */ member in struct:stv090x_config
|
H A D | dib7000p.c | 490 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 D | si2165.c | 35 * 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 D | zl10036.c | 229 * f(bw)=34,6MHz f(xtal)=10.111MHz zl10036_set_bandwidth()
|
H A D | tda10071.c | 1063 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 D | stv0367.c | 1551 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 D | lgdt330x.c | 196 /* Use 50MHz parameter values from spec sheet since xtal is 50 */ lgdt330x_init()
|
H A D | tda10048.c | 1140 /* Set the xtal and freq defaults */ tda10048_attach()
|
H A D | dib8000.c | 747 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 D | stv0900_core.c | 1931 init_params.dmd_ref_clk = config->xtal; stv0900_attach()
|
H A D | stv090x.c | 4262 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 D | drxk_hard.c | 999 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 D | it913x.c | 32 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 D | tda18271.h | 72 /* slave tuner output & loop thru & xtal oscillator always on */ 78 /* xtal oscillator off */
|
H A D | r820t.h | 38 u32 xtal; member in struct:r820t_config
|
H A D | tea5767.c | 243 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 D | r820t.c | 560 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 D | tda18271-common.c | 535 * | 1 || 0 || 0 || & loop thru & xtal oscillator on 537 * | 1 || 1 || 0 || standby mode w/ xtal oscillator on
|
H A D | xc5000.c | 614 /* 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 D | mxl5007t.c | 301 /* select xtal freq & ref freq */ mxl5007t_set_xtal_freq_bits()
|
H A D | tda18271-fe.c | 51 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 D | mt9v011.c | 55 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 D | saa6588.c | 40 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 D | s3c2412-cpufreq.c | 34 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 D | s3c2440-cpufreq.c | 33 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 D | s3c24xx-cpufreq.c | 373 _clk_xtal = s3c_cpufreq_clk_get(NULL, "xtal"); s3c_cpufreq_initclks()
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
H A D | cpu.h | 103 void (*init_clocks)(int xtal); 121 extern void s3c24xx_init_clocks(int xtal);
|
/linux-4.1.27/include/linux/usb/ |
H A D | m66592.h | 36 unsigned xtal:2; member in struct:m66592_platdata
|
H A D | r8a66597.h | 41 unsigned xtal:2; member in struct:r8a66597_platdata
|
/linux-4.1.27/arch/sh/boards/mach-x3proto/ |
H A D | setup.c | 70 .xtal = R8A66597_PLATDATA_XTAL_12MHZ, 99 .xtal = M66592_PLATDATA_XTAL_24MHZ,
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | si5351.h | 102 * @clk_xtal: xtal input clock
|
/linux-4.1.27/drivers/net/wireless/ti/wl12xx/ |
H A D | wl12xx.h | 109 bool xtal; member in struct:wl12xx_clock
|
H A D | main.c | 1794 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 D | counter_32k.c | 36 * higher resolution in free-running counter modes (e.g. 12 MHz xtal),
|
/linux-4.1.27/arch/sh/boards/mach-highlander/ |
H A D | setup.c | 37 .xtal = R8A66597_PLATDATA_XTAL_12MHZ, 67 .xtal = M66592_PLATDATA_XTAL_24MHZ,
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | max310x.c | 530 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 D | radeon_base.c | 463 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 D | atyfb_base.c | 2333 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 D | si476x-platform.h | 197 * additional load capacitance presented to the xtal. The
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-camera.c | 351 * 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 D | em28xx-dvb.c | 816 .xtal = 40444000, /* 40.444 MHz */
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | dib0700_devices.c | 2026 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 D | dw2102.c | 1061 .xtal = 27000000, 1077 .xtal = 8000000, 1094 .xtal = 27000000,
|
H A D | technisat-usb2.c | 488 .xtal = 8000000,
|
H A D | ttusb2.c | 480 .xtal = 16000000,
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | aiutils.h | 102 /* clkctl xtal what flags */
|
H A D | aiutils.c | 592 * 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 D | main.c | 1946 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 D | r8a66597-udc.h | 242 switch (pdata->xtal) { get_xtal_from_pdata()
|
H A D | m66592-udc.c | 629 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 D | r8a66597.h | 308 switch (pdata->xtal) { get_xtal_from_pdata()
|
/linux-4.1.27/arch/sh/boards/ |
H A D | board-sh7785lcr.c | 98 .xtal = R8A66597_PLATDATA_XTAL_12MHZ,
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | dsmg600-setup.c | 222 /* The xtal on this machine is non-standard. */ dsmg600_timer_init()
|
H A D | nslu2-setup.c | 235 /* The xtal on this machine is non-standard. */ nslu2_timer_init()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | clkt2xxx_virt_prcm_set.c | 90 /* Can check only after xtal frequency check */ omap2_round_to_table_rate()
|
H A D | opp2xxx.h | 44 unsigned long dpll_speed; /* dpll: out*xtal*M/(N-1)table_recalc */
|
/linux-4.1.27/drivers/media/pci/ngene/ |
H A D | ngene-cards.c | 567 .xtal = 27000000, 588 .xtal = 27000000,
|
/linux-4.1.27/drivers/mfd/ |
H A D | tps65910.c | 421 prop = of_property_read_bool(np, "ti,en-ck32k-xtal"); tps65910_parse_dt()
|
/linux-4.1.27/drivers/clk/shmobile/ |
H A D | clk-rcar-gen2.c | 118 * 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 D | config.c | 133 /* PRI, SYSCON?, Level3, SCC clks from xtal */ config_bvme6000()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 726 static const u32 xtal = 28636363; variable 741 do_div(pll,xtal); set_pll() 876 adc_clock = xtal; cx88_set_tvnorm()
|
H A D | cx88-dvb.c | 756 .xtal = 27000000,
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | anysee.c | 290 .xtal = 16000000, 326 .xtal = 16000000, 360 .xtal = 8000000,
|
H A D | rtl28xxu.c | 879 mn88472_config.xtal = 20500000; rtl2832u_frontend_attach() 1048 .xtal = 28800000, 1055 .xtal = 16000000,
|
H A D | af9015.c | 489 /* 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 D | cx23885-dvb.c | 479 .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 D | dscc4.c | 1265 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 D | tw68-core.c | 104 tw_writeb(TW68_INFORM, 0x40); /* 208 mux0, 27mhz xtal */ tw68_hw_init1()
|
/linux-4.1.27/drivers/media/radio/ |
H A D | radio-tea5764.c | 544 MODULE_PARM_DESC(use_xtal, "Chip have a xtal connected in board");
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
H A D | board-kzm9g.c | 111 .xtal = R8A66597_PLATDATA_XTAL_48MHZ,
|
/linux-4.1.27/drivers/media/pci/ttpci/ |
H A D | budget.c | 456 .xtal = 13500000,
|
H A D | budget-ci.c | 1039 .xtal = 16000000,
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | matroxfb_base.h | 273 int xtal; member in struct:mavenregs
|
H A D | matroxfb_maven.c | 242 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 D | ddbridge-core.c | 621 .xtal = 27000000, 640 .xtal = 27000000,
|
/linux-4.1.27/drivers/net/ieee802154/ |
H A D | at86rf230.c | 1459 * 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 D | spi-pxa2xx.c | 690 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 D | ad1848.c | 2702 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 D | dbri.c | 156 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 D | pinctrl-meson8.c | 884 FUNCTION(xtal),
|
H A D | pinctrl-meson8b.c | 826 FUNCTION(xtal),
|
/linux-4.1.27/firmware/keyspan_pda/ |
H A D | keyspan_pda.S | 291 ;; (xtal 12MHz, internal fosc 24MHz)
|
H A D | xircom_pgs.S | 329 ;; (xtal 12MHz, internal fosc 24MHz)
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-core.c | 488 * 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 D | hw.c | 1925 /*parse xtal*/ _rtl88ee_read_adapter_info()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | hw.c | 2196 /*parse xtal*/ _rtl92ee_read_adapter_info()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | hw.c | 2105 /*parse xtal*/ _rtl8723be_read_adapter_info()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | commands.h | 2147 * bit 31/30- '00' use both mac/xtal sleeps 2149 * '10' force xtal sleep
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
H A D | commands.h | 2262 * bit 31/30- '00' use both mac/xtal sleeps 2264 * '10' force xtal sleep
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
H A D | saa7134-cards.c | 1195 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
H A D | hw.c | 3235 /*parse xtal*/ _rtl8821ae_read_adapter_info()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | sdio.c | 169 /* Make ALP ready (power up xtal) */
|