xtal 203 arch/arm/mach-omap1/clock.c if (ptr->xtal != ref_rate) xtal 291 arch/arm/mach-omap1/clock.c if (ptr->xtal != ref_rate) xtal 17 arch/arm/mach-omap1/opp.h unsigned long xtal; xtal 618 arch/arm/mach-s3c24xx/common.c void __init s3c2410_init_clocks(int xtal) xtal 620 arch/arm/mach-s3c24xx/common.c s3c2410_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); xtal 625 arch/arm/mach-s3c24xx/common.c void __init s3c2412_init_clocks(int xtal) xtal 627 arch/arm/mach-s3c24xx/common.c s3c2412_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); xtal 632 arch/arm/mach-s3c24xx/common.c void __init s3c2416_init_clocks(int xtal) xtal 634 arch/arm/mach-s3c24xx/common.c s3c2443_common_clk_init(NULL, xtal, 0, S3C24XX_VA_CLKPWR); xtal 639 arch/arm/mach-s3c24xx/common.c void __init s3c2440_init_clocks(int xtal) xtal 641 arch/arm/mach-s3c24xx/common.c s3c2410_common_clk_init(NULL, xtal, 1, S3C24XX_VA_CLKPWR); xtal 646 arch/arm/mach-s3c24xx/common.c void __init s3c2442_init_clocks(int xtal) xtal 648 arch/arm/mach-s3c24xx/common.c s3c2410_common_clk_init(NULL, xtal, 2, S3C24XX_VA_CLKPWR); xtal 653 arch/arm/mach-s3c24xx/common.c void __init s3c2443_init_clocks(int xtal) xtal 655 arch/arm/mach-s3c24xx/common.c s3c2443_common_clk_init(NULL, xtal, 1, S3C24XX_VA_CLKPWR); xtal 21 arch/arm/mach-s3c24xx/common.h extern void s3c2410_init_clocks(int xtal); xtal 35 arch/arm/mach-s3c24xx/common.h extern void s3c2412_init_clocks(int xtal); xtal 49 arch/arm/mach-s3c24xx/common.h extern void s3c2416_init_clocks(int xtal); xtal 71 arch/arm/mach-s3c24xx/common.h extern void s3c2440_init_clocks(int xtal); xtal 81 arch/arm/mach-s3c24xx/common.h extern void s3c2442_init_clocks(int xtal); xtal 92 arch/arm/mach-s3c24xx/common.h extern void s3c2443_init_clocks(int xtal); xtal 53 arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c unsigned long xtal; xtal 59 arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c xtal = clk_get_rate(xtal_clk); xtal 62 arch/arm/mach-s3c24xx/pll-s3c2440-12000000.c if (xtal == 12000000) { xtal 82 arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c unsigned long xtal; xtal 88 arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c xtal = clk_get_rate(xtal_clk); xtal 91 arch/arm/mach-s3c24xx/pll-s3c2440-16934400.c if (xtal == 169344000) { xtal 99 arch/arm/plat-samsung/include/plat/cpu.h void (*init_clocks)(int xtal); xtal 118 arch/arm/plat-samsung/include/plat/cpu.h extern void s3c24xx_init_clocks(int xtal); xtal 73 arch/arm/plat-samsung/init.c void __init s3c24xx_init_clocks(int xtal) xtal 75 arch/arm/plat-samsung/init.c if (xtal == 0) xtal 76 arch/arm/plat-samsung/init.c xtal = 12*1000*1000; xtal 84 arch/arm/plat-samsung/init.c (cpu->init_clocks)(xtal); xtal 96 arch/sh/boards/board-sh7785lcr.c .xtal = R8A66597_PLATDATA_XTAL_12MHZ, xtal 34 arch/sh/boards/mach-highlander/setup.c .xtal = R8A66597_PLATDATA_XTAL_12MHZ, xtal 64 arch/sh/boards/mach-highlander/setup.c .xtal = M66592_PLATDATA_XTAL_24MHZ, xtal 67 arch/sh/boards/mach-x3proto/setup.c .xtal = R8A66597_PLATDATA_XTAL_12MHZ, xtal 96 arch/sh/boards/mach-x3proto/setup.c .xtal = M66592_PLATDATA_XTAL_24MHZ, xtal 56 drivers/clk/clk-si5351.c struct clk_hw xtal; xtal 221 drivers/clk/clk-si5351.c container_of(hw, struct si5351_driver_data, xtal); xtal 230 drivers/clk/clk-si5351.c container_of(hw, struct si5351_driver_data, xtal); xtal 1478 drivers/clk/clk-si5351.c drvdata->xtal.init = &init; xtal 1479 drivers/clk/clk-si5351.c ret = devm_clk_hw_register(&client->dev, &drvdata->xtal); xtal 926 drivers/clk/meson/g12a.c struct clk_hw *xtal; xtal 957 drivers/clk/meson/g12a.c nb_data->xtal); xtal 4891 drivers/clk/meson/g12a.c struct clk_hw *xtal; xtal 4894 drivers/clk/meson/g12a.c xtal = clk_hw_get_parent_by_index(hws[CLKID_CPU_CLK_DYN1_SEL], 0); xtal 4897 drivers/clk/meson/g12a.c g12a_cpu_clk_postmux0_nb_data.xtal = xtal; xtal 4924 drivers/clk/meson/g12a.c struct clk_hw *xtal; xtal 4931 drivers/clk/meson/g12a.c xtal = clk_hw_get_parent_by_index(hws[CLKID_CPU_CLK_DYN1_SEL], 0); xtal 4955 drivers/clk/meson/g12a.c g12b_cpub_clk_postmux0_nb_data.xtal = xtal; xtal 33 drivers/clk/renesas/rcar-usb2-clock-sel.c bool xtal; xtal 42 drivers/clk/renesas/rcar-usb2-clock-sel.c priv->extal, priv->xtal, val); xtal 44 drivers/clk/renesas/rcar-usb2-clock-sel.c if (priv->extal && !priv->xtal && val != CLKSET0_EXTAL_ONLY) xtal 50 drivers/clk/renesas/rcar-usb2-clock-sel.c if (priv->extal && !priv->xtal) xtal 141 drivers/clk/renesas/rcar-usb2-clock-sel.c priv->xtal = !!clk_get_rate(clk); xtal 145 drivers/clk/renesas/rcar-usb2-clock-sel.c if (!priv->extal && !priv->xtal) { xtal 33 drivers/cpufreq/s3c2412-cpufreq.c static struct clk *xtal; xtal 224 drivers/cpufreq/s3c2412-cpufreq.c xtal = clk_get(NULL, "xtal"); xtal 225 drivers/cpufreq/s3c2412-cpufreq.c if (IS_ERR(xtal)) { xtal 32 drivers/cpufreq/s3c2440-cpufreq.c static struct clk *xtal; xtal 269 drivers/cpufreq/s3c2440-cpufreq.c xtal = s3c_cpufreq_clk_get(NULL, "xtal"); xtal 274 drivers/cpufreq/s3c2440-cpufreq.c if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { xtal 222 drivers/media/dvb-frontends/cx24113.c u8 xtal = cx24113_readreg(state, 0x02); xtal 226 drivers/media/dvb-frontends/cx24113.c xtal &= ~0x2; xtal 228 drivers/media/dvb-frontends/cx24113.c xtal |= high << 1; xtal 229 drivers/media/dvb-frontends/cx24113.c return cx24113_writereg(state, 0x02, xtal); xtal 60 drivers/media/dvb-frontends/cxd2841er.c enum cxd2841er_xtal xtal; xtal 311 drivers/media/dvb-frontends/cxd2841er.c static u32 cxd2841er_calc_iffreq_xtal(enum cxd2841er_xtal xtal, u32 ifhz) xtal 316 drivers/media/dvb-frontends/cxd2841er.c do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); xtal 791 drivers/media/dvb-frontends/cxd2841er.c switch (priv->xtal) { xtal 805 drivers/media/dvb-frontends/cxd2841er.c __func__, priv->xtal); xtal 853 drivers/media/dvb-frontends/cxd2841er.c switch (priv->xtal) { xtal 2121 drivers/media/dvb-frontends/cxd2841er.c seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x0E:0x0C; xtal 2126 drivers/media/dvb-frontends/cxd2841er.c seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; xtal 2131 drivers/media/dvb-frontends/cxd2841er.c seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; xtal 2262 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate8bw[priv->xtal], 5); xtal 2277 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef8bw[priv->xtal], 14); xtal 2280 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2292 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate7bw[priv->xtal], 5); xtal 2307 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef7bw[priv->xtal], 14); xtal 2310 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2322 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate6bw[priv->xtal], 5); xtal 2337 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef6bw[priv->xtal], 14); xtal 2340 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2352 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate5bw[priv->xtal], 5); xtal 2367 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef5bw[priv->xtal], 14); xtal 2370 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2382 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate17bw[priv->xtal], 5); xtal 2397 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef17bw[priv->xtal], 14); xtal 2400 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2492 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate8bw[priv->xtal], 5); xtal 2498 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef8bw[priv->xtal], 14); xtal 2501 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2511 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2529 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate7bw[priv->xtal], 5); xtal 2535 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef7bw[priv->xtal], 14); xtal 2538 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2548 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2566 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate6bw[priv->xtal], 5); xtal 2572 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef6bw[priv->xtal], 14); xtal 2575 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2585 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2603 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate5bw[priv->xtal], 5); xtal 2609 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef5bw[priv->xtal], 14); xtal 2612 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2622 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2697 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal != SONY_XTAL_24000 && bandwidth > 6000000) { xtal 2708 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate8bw[priv->xtal], 5); xtal 2712 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef8bw[priv->xtal], 14); xtal 2716 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2739 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate7bw[priv->xtal], 5); xtal 2743 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef7bw[priv->xtal], 14); xtal 2747 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2770 drivers/media/dvb-frontends/cxd2841er.c 0x9F, nominalRate6bw[priv->xtal], 5); xtal 2774 drivers/media/dvb-frontends/cxd2841er.c 0xA6, itbCoef6bw[priv->xtal], 14); xtal 2778 drivers/media/dvb-frontends/cxd2841er.c iffreq = cxd2841er_calc_iffreq_xtal(priv->xtal, ifhz); xtal 2788 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2919 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_41000) { xtal 2952 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 2994 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_41000) { xtal 3048 drivers/media/dvb-frontends/cxd2841er.c if (priv->xtal == SONY_XTAL_24000) { xtal 3306 drivers/media/dvb-frontends/cxd2841er.c p->frequency, symbol_rate, priv->xtal); xtal 3847 drivers/media/dvb-frontends/cxd2841er.c priv->xtal = cfg->xtal; xtal 35 drivers/media/dvb-frontends/cxd2841er.h enum cxd2841er_xtal xtal; xtal 494 drivers/media/dvb-frontends/dib7000p.c u32 internal, xtal; xtal 510 drivers/media/dvb-frontends/dib7000p.c xtal = (internal / loopdiv) * prediv; xtal 511 drivers/media/dvb-frontends/dib7000p.c internal = 1000 * (xtal / bw->pll_prediv) * bw->pll_ratio; /* new internal */ xtal 1211 drivers/media/dvb-frontends/dib7000p.c u32 xtal = state->cfg.bw->xtal_hz / 1000; xtal 1212 drivers/media/dvb-frontends/dib7000p.c int f_rel = DIV_ROUND_CLOSEST(rf_khz, xtal) * xtal - rf_khz; xtal 1218 drivers/media/dvb-frontends/dib7000p.c dprintk("relative position of the Spur: %dk (RF: %dk, XTAL: %dk)\n", f_rel, rf_khz, xtal); xtal 751 drivers/media/dvb-frontends/dib8000.c u32 internal, xtal; xtal 775 drivers/media/dvb-frontends/dib8000.c xtal = 2 * (internal / loopdiv) * prediv; xtal 776 drivers/media/dvb-frontends/dib8000.c internal = 1000 * (xtal/pll->pll_prediv) * pll->pll_ratio; xtal 777 drivers/media/dvb-frontends/dib8000.c dprintk("Xtal = %d , New Fmem = %d New Fdemod = %d, New Fsampling = %d\n", xtal, internal/1000, internal/2000, internal/8000); xtal 34 drivers/media/dvb-frontends/helene.c enum helene_xtal xtal; xtal 558 drivers/media/dvb-frontends/helene.c switch (priv->xtal) { xtal 573 drivers/media/dvb-frontends/helene.c __func__, priv->xtal); xtal 583 drivers/media/dvb-frontends/helene.c if (priv->xtal == SONY_HELENE_XTAL_20500) xtal 918 drivers/media/dvb-frontends/helene.c if (priv->xtal == SONY_HELENE_XTAL_16000) xtal 1007 drivers/media/dvb-frontends/helene.c priv->xtal = config->xtal; xtal 1043 drivers/media/dvb-frontends/helene.c priv->xtal = config->xtal; xtal 1082 drivers/media/dvb-frontends/helene.c priv->xtal = config->xtal; xtal 40 drivers/media/dvb-frontends/helene.h enum helene_xtal xtal; xtal 597 drivers/media/dvb-frontends/mn88472.c dev->clk = pdata->xtal; xtal 29 drivers/media/dvb-frontends/mn88472.h unsigned int xtal; xtal 641 drivers/media/dvb-frontends/mn88473.c if (config->xtal) xtal 642 drivers/media/dvb-frontends/mn88473.c dev->clk = config->xtal; xtal 24 drivers/media/dvb-frontends/mn88473.h u32 xtal; xtal 36 drivers/media/dvb-frontends/mt312.c unsigned long xtal; xtal 211 drivers/media/dvb-frontends/mt312.c (((state->xtal * 8192) / (sym_rat_op + 8192)) * xtal 294 drivers/media/dvb-frontends/mt312.c buf[0] = mt312_div(state->xtal * state->freq_mult * 2, 1000000); xtal 297 drivers/media/dvb-frontends/mt312.c buf[1] = mt312_div(state->xtal, 22000 * 4); xtal 809 drivers/media/dvb-frontends/mt312.c state->xtal = MT312_PLL_CLK; xtal 815 drivers/media/dvb-frontends/mt312.c state->xtal = MT312_PLL_CLK; xtal 821 drivers/media/dvb-frontends/mt312.c state->xtal = MT312_PLL_CLK_10_111; xtal 275 drivers/media/dvb-frontends/stv0367.c u32 icspeed, u32 xtal) xtal 283 drivers/media/dvb-frontends/stv0367.c switch (xtal) { xtal 295 drivers/media/dvb-frontends/stv0367.c switch (xtal) { xtal 979 drivers/media/dvb-frontends/stv0367.c stv0367_pll_setup(state, STV0367_ICSPEED_53125, state->config->xtal); xtal 1080 drivers/media/dvb-frontends/stv0367.c state->config->xtal)) xtal 1093 drivers/media/dvb-frontends/stv0367.c InternalFreq = stv0367ter_get_mclk(state, state->config->xtal) / 1000; xtal 2319 drivers/media/dvb-frontends/stv0367.c cab_state->mclk = stv0367cab_get_mclk(fe, state->config->xtal); xtal 2320 drivers/media/dvb-frontends/stv0367.c cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); xtal 2952 drivers/media/dvb-frontends/stv0367.c stv0367_pll_setup(state, STV0367_ICSPEED_53125, state->config->xtal); xtal 2983 drivers/media/dvb-frontends/stv0367.c stv0367_pll_setup(state, STV0367_ICSPEED_58000, state->config->xtal); xtal 2990 drivers/media/dvb-frontends/stv0367.c state->config->xtal); xtal 2992 drivers/media/dvb-frontends/stv0367.c state->config->xtal); xtal 3226 drivers/media/dvb-frontends/stv0367.c stv0367_pll_setup(state, STV0367_ICSPEED_58000, state->config->xtal); xtal 23 drivers/media/dvb-frontends/stv0367.h u32 xtal; xtal 26 drivers/media/dvb-frontends/stv0900.h u32 xtal; xtal 1921 drivers/media/dvb-frontends/stv0900_core.c init_params.dmd_ref_clk = config->xtal; xtal 4266 drivers/media/dvb-frontends/stv090x.c return (div + 1) * config->xtal / ratio; /* kHz */ xtal 4277 drivers/media/dvb-frontends/stv090x.c div = ((clk_sel * mclk) / config->xtal) - 1; xtal 4706 drivers/media/dvb-frontends/stv090x.c stv090x_set_mclk(state, 135000000, config->xtal); /* 135 Mhz */ xtal 62 drivers/media/dvb-frontends/stv090x.h u32 xtal; /* default: 8000000 */ xtal 41 drivers/media/dvb-frontends/tda10023.c u32 xtal; xtal 530 drivers/media/dvb-frontends/tda10023.c if (state->config->xtal) { xtal 531 drivers/media/dvb-frontends/tda10023.c state->xtal = state->config->xtal; xtal 537 drivers/media/dvb-frontends/tda10023.c state->xtal = 28920000; xtal 544 drivers/media/dvb-frontends/tda10023.c state->sysclk = (state->xtal * state->pll_m / \ xtal 551 drivers/media/dvb-frontends/tda10023.c __func__, state->xtal, state->pll_m, state->pll_p, xtal 36 drivers/media/dvb-frontends/tda1002x.h u32 xtal; /* defaults: 28920000 */ xtal 57 drivers/media/i2c/mt9v011.c unsigned xtal; xtal 218 drivers/media/i2c/mt9v011.c frames_per_ms = core->xtal * 1000l; xtal 250 drivers/media/i2c/mt9v011.c t_time = core->xtal * ((u64)numerator); xtal 548 drivers/media/i2c/mt9v011.c core->xtal = 27000000; /* Hz */ xtal 553 drivers/media/i2c/mt9v011.c core->xtal = pdata->xtal; xtal 555 drivers/media/i2c/mt9v011.c core->xtal / 1000000, (core->xtal / 1000) % 1000); xtal 28 drivers/media/i2c/saa6588.c static unsigned int xtal; xtal 35 drivers/media/i2c/saa6588.c module_param(xtal, int, 0); xtal 36 drivers/media/i2c/saa6588.c MODULE_PARM_DESC(xtal, "select oscillator frequency (0..3), default 0"); xtal 356 drivers/media/i2c/saa6588.c switch (xtal) { xtal 473 drivers/media/pci/cx23885/cx23885-dvb.c .xtal = 8000000, xtal 551 drivers/media/pci/cx23885/cx23885-dvb.c .xtal = 27000000, xtal 835 drivers/media/pci/cx23885/cx23885-dvb.c .xtal = 27000000, xtal 842 drivers/media/pci/cx23885/cx23885-dvb.c .xtal = 27000000, xtal 738 drivers/media/pci/cx88/cx88-core.c static const u32 xtal = 28636363; xtal 753 drivers/media/pci/cx88/cx88-core.c do_div(pll, xtal); xtal 887 drivers/media/pci/cx88/cx88-core.c adc_clock = xtal; xtal 745 drivers/media/pci/cx88/cx88-dvb.c .xtal = 27000000, xtal 934 drivers/media/pci/ddbridge/ddbridge-core.c .xtal = 27000000, xtal 941 drivers/media/pci/ddbridge/ddbridge-core.c .xtal = 27000000, xtal 1002 drivers/media/pci/ddbridge/ddbridge-core.c cfg.xtal = osc24 ? SONY_XTAL_24000 : SONY_XTAL_20500; xtal 1069 drivers/media/pci/ddbridge/ddbridge-core.c .xtal = 27000000, xtal 1091 drivers/media/pci/ddbridge/ddbridge-core.c .xtal = 27000000, xtal 116 drivers/media/pci/netup_unidvb/netup_unidvb_core.c .xtal = SONY_XTAL_24000, xtal 133 drivers/media/pci/netup_unidvb/netup_unidvb_core.c .xtal = SONY_HELENE_XTAL_24000, xtal 386 drivers/media/pci/netup_unidvb/netup_unidvb_core.c demod_config.xtal = SONY_XTAL_20500; xtal 388 drivers/media/pci/netup_unidvb/netup_unidvb_core.c demod_config.xtal = SONY_XTAL_24000; xtal 364 drivers/media/pci/ngene/ngene-cards.c .xtal = 27000000, xtal 371 drivers/media/pci/ngene/ngene-cards.c .xtal = 27000000, xtal 407 drivers/media/pci/ngene/ngene-cards.c cfg.xtal = osc24 ? SONY_XTAL_24000 : SONY_XTAL_20500; xtal 980 drivers/media/pci/ngene/ngene-cards.c .xtal = 27000000, xtal 1001 drivers/media/pci/ngene/ngene-cards.c .xtal = 27000000, xtal 1023 drivers/media/pci/ttpci/budget-ci.c .xtal = 16000000, xtal 443 drivers/media/pci/ttpci/budget.c .xtal = 13500000, xtal 47 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c .xtal = 16000000, xtal 78 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c .xtal = 16000000, xtal 85 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c .xtal = 16000000, xtal 92 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c .xtal = 16000000, xtal 19 drivers/media/tuners/it913x.c u16 xtal; xtal 52 drivers/media/tuners/it913x.c dev->xtal = 2000; xtal 59 drivers/media/tuners/it913x.c dev->xtal = 640; xtal 93 drivers/media/tuners/it913x.c dev->fn_min = dev->xtal * utmp; xtal 274 drivers/media/tuners/it913x.c pre_lo_freq = t_cal_freq / dev->xtal; xtal 275 drivers/media/tuners/it913x.c utmp = pre_lo_freq * dev->xtal; xtal 277 drivers/media/tuners/it913x.c if ((t_cal_freq - utmp) >= (dev->xtal >> 1)) xtal 539 drivers/media/tuners/r820t.c pll_ref = priv->cfg->xtal / 1000; xtal 553 drivers/media/tuners/r820t.c if (priv->cfg->xtal > 24000000) { xtal 1428 drivers/media/tuners/r820t.c if (priv->cfg->xtal == 16000000 && (val > 29 || val < 23)) xtal 1895 drivers/media/tuners/r820t.c if (priv->cfg->xtal > 24000000) xtal 1896 drivers/media/tuners/r820t.c ring_ref = priv->cfg->xtal / 2000; xtal 1898 drivers/media/tuners/r820t.c ring_ref = priv->cfg->xtal / 1000; xtal 24 drivers/media/tuners/r820t.h u32 xtal; xtal 162 drivers/media/usb/cx231xx/cx231xx-dvb.c .xtal = 16000000, xtal 964 drivers/media/usb/cx231xx/cx231xx-dvb.c mn88473_config.xtal = 25000000; xtal 277 drivers/media/usb/dvb-usb-v2/anysee.c .xtal = 16000000, xtal 313 drivers/media/usb/dvb-usb-v2/anysee.c .xtal = 16000000, xtal 347 drivers/media/usb/dvb-usb-v2/anysee.c .xtal = 8000000, xtal 957 drivers/media/usb/dvb-usb-v2/rtl28xxu.c mn88472_config.xtal = 20500000; xtal 1002 drivers/media/usb/dvb-usb-v2/rtl28xxu.c cxd2837er_config.xtal = SONY_XTAL_20500; xtal 1162 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .xtal = 28800000, xtal 1169 drivers/media/usb/dvb-usb-v2/rtl28xxu.c .xtal = 16000000, xtal 2048 drivers/media/usb/dvb-usb/dib0700_devices.c u16 xtal = 12000; xtal 2063 drivers/media/usb/dvb-usb/dib0700_devices.c while ((xtal / max_prediv) >= fcp_min) xtal 2068 drivers/media/usb/dvb-usb/dib0700_devices.c while ((xtal / min_prediv) <= fcp_max) { xtal 2078 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; xtal 2081 drivers/media/usb/dvb-usb/dib0700_devices.c fmem = ((xtal/prediv) * loopdiv); xtal 2102 drivers/media/usb/dvb-usb/dib0700_devices.c 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); xtal 2562 drivers/media/usb/dvb-usb/dib0700_devices.c u16 xtal = 12000; xtal 2577 drivers/media/usb/dvb-usb/dib0700_devices.c while ((xtal/max_prediv) >= fcp_min) xtal 2582 drivers/media/usb/dvb-usb/dib0700_devices.c while ((xtal/min_prediv) <= fcp_max) { xtal 2592 drivers/media/usb/dvb-usb/dib0700_devices.c fcp = xtal / prediv; xtal 2595 drivers/media/usb/dvb-usb/dib0700_devices.c fdem = ((xtal/prediv) * loopdiv); xtal 3767 drivers/media/usb/dvb-usb/dib0700_devices.c mn88472_config.xtal = 20500000; xtal 1100 drivers/media/usb/dvb-usb/dw2102.c .xtal = 27000000, xtal 1116 drivers/media/usb/dvb-usb/dw2102.c .xtal = 8000000, xtal 1133 drivers/media/usb/dvb-usb/dw2102.c .xtal = 27000000, xtal 500 drivers/media/usb/dvb-usb/technisat-usb2.c .xtal = 8000000, xtal 496 drivers/media/usb/dvb-usb/ttusb2.c .xtal = 16000000, xtal 341 drivers/media/usb/em28xx/em28xx-camera.c pdata.xtal = v4l2->sensor_xtal; xtal 379 drivers/net/dsa/mt7530.c u32 ncpo1, ssc_delta, trgint, i, xtal; xtal 381 drivers/net/dsa/mt7530.c xtal = mt7530_read(priv, MT7530_MHWTRAP) & HWTRAP_XTAL_MASK; xtal 383 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_20MHZ) { xtal 400 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_40MHZ) xtal 402 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_25MHZ) xtal 405 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_40MHZ) xtal 407 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_25MHZ) xtal 416 drivers/net/dsa/mt7530.c if (xtal == HWTRAP_XTAL_25MHZ) xtal 1947 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c bool v, clk, xtal; xtal 1950 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c xtal = wlc_hw->sbclk; xtal 1951 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!xtal) xtal 1983 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c if (!xtal) xtal 1782 drivers/net/wireless/ti/wl12xx/main.c u32 freq, bool xtal) xtal 1787 drivers/net/wireless/ti/wl12xx/main.c if ((table[i].freq == freq) && (table[i].xtal == xtal)) xtal 95 drivers/net/wireless/ti/wl12xx/wl12xx.h bool xtal; xtal 1027 drivers/pinctrl/meson/pinctrl-meson8.c FUNCTION(xtal), xtal 876 drivers/pinctrl/meson/pinctrl-meson8b.c FUNCTION(xtal), xtal 807 drivers/spi/spi-pxa2xx.c unsigned long xtal = 200000000; xtal 808 drivers/spi/spi-pxa2xx.c unsigned long fref = xtal / 2; /* mandatory division by 2, xtal 556 drivers/tty/serial/max310x.c unsigned long freq, bool xtal) xtal 600 drivers/tty/serial/max310x.c clksrc = MAX310X_CLKSRC_EXTCLK_BIT | (xtal ? MAX310X_CLKSRC_CRYST_BIT : 0); xtal 612 drivers/tty/serial/max310x.c if (xtal) { xtal 1259 drivers/tty/serial/max310x.c bool xtal = false; xtal 1281 drivers/tty/serial/max310x.c xtal = true; xtal 1329 drivers/tty/serial/max310x.c uartclk = max310x_set_ref_clk(dev, s, freq, xtal); xtal 626 drivers/usb/gadget/udc/m66592-udc.c switch (m66592->pdata->xtal) { xtal 239 drivers/usb/gadget/udc/r8a66597-udc.h switch (pdata->xtal) { xtal 302 drivers/usb/host/r8a66597.h switch (pdata->xtal) { xtal 2322 drivers/video/fbdev/aty/atyfb_base.c const char *ramname = NULL, *xtal; xtal 2431 drivers/video/fbdev/aty/atyfb_base.c xtal = "14.31818"; xtal 2447 drivers/video/fbdev/aty/atyfb_base.c xtal = "29.498928"; xtal 2552 drivers/video/fbdev/aty/atyfb_base.c info->fix.smem_len == 0x80000 ? 'K' : 'M', ramname, xtal, xtal 585 drivers/video/fbdev/aty/radeon_base.c long xtal; xtal 678 drivers/video/fbdev/aty/radeon_base.c xtal = vclk; xtal 680 drivers/video/fbdev/aty/radeon_base.c if ((xtal > 26900) && (xtal < 27100)) xtal 681 drivers/video/fbdev/aty/radeon_base.c xtal = 2700; xtal 682 drivers/video/fbdev/aty/radeon_base.c else if ((xtal > 14200) && (xtal < 14400)) xtal 683 drivers/video/fbdev/aty/radeon_base.c xtal = 1432; xtal 684 drivers/video/fbdev/aty/radeon_base.c else if ((xtal > 29400) && (xtal < 29600)) xtal 685 drivers/video/fbdev/aty/radeon_base.c xtal = 2950; xtal 687 drivers/video/fbdev/aty/radeon_base.c printk(KERN_WARNING "xtal calculation failed: %ld\n", xtal); xtal 697 drivers/video/fbdev/aty/radeon_base.c sclk = round_div((2 * Ns * xtal), (2 * M)); xtal 698 drivers/video/fbdev/aty/radeon_base.c mclk = round_div((2 * Nm * xtal), (2 * M)); xtal 701 drivers/video/fbdev/aty/radeon_base.c rinfo->pll.ref_clk = xtal; xtal 253 drivers/video/fbdev/matrox/matroxfb_base.h int xtal; xtal 37 include/linux/usb/m66592.h unsigned xtal:2; xtal 42 include/linux/usb/r8a66597.h unsigned xtal:2; xtal 11 include/media/i2c/mt9v011.h unsigned xtal; /* Hz */ xtal 21 sound/soc/samsung/s3c24xx_uda134x.c struct clk *xtal; xtal 60 sound/soc/samsung/s3c24xx_uda134x.c priv->xtal = clk_get(rtd->dev, "xtal"); xtal 61 sound/soc/samsung/s3c24xx_uda134x.c if (IS_ERR(priv->xtal)) { xtal 63 sound/soc/samsung/s3c24xx_uda134x.c ret = PTR_ERR(priv->xtal); xtal 69 sound/soc/samsung/s3c24xx_uda134x.c clk_put(priv->xtal); xtal 79 sound/soc/samsung/s3c24xx_uda134x.c rates[i*33] = clk_get_rate(priv->xtal) / fs; xtal 110 sound/soc/samsung/s3c24xx_uda134x.c clk_put(priv->xtal); xtal 111 sound/soc/samsung/s3c24xx_uda134x.c priv->xtal = NULL; xtal 157 sound/sparc/dbri.c unsigned char xtal; xtal 1374 sound/sparc/dbri.c mm->ctrl[2] = CS4215_XCLK | CS4215_BSEL_128 | CS4215_FREQ[0].xtal; xtal 1627 sound/sparc/dbri.c CS4215_BSEL_128 | CS4215_FREQ[freq_idx].xtal;