Home
last modified time | relevance | path

Searched refs:xtal (Results 1 – 25 of 61) sorted by relevance

123

/drivers/clk/renesas/
Drcar-usb2-clock-sel.c35 bool xtal; member
44 priv->extal, priv->xtal, val); in usb2_clock_sel_enable_extal_only()
46 if (priv->extal && !priv->xtal && val != CLKSET0_EXTAL_ONLY) in usb2_clock_sel_enable_extal_only()
52 if (priv->extal && !priv->xtal) in usb2_clock_sel_disable_extal_only()
145 priv->xtal = !!clk_get_rate(clk); in rcar_usb2_clock_sel_probe()
149 if (!priv->extal && !priv->xtal) { in rcar_usb2_clock_sel_probe()
/drivers/media/dvb-frontends/
Dcxd2841er.c68 enum cxd2841er_xtal xtal; member
319 static u32 cxd2841er_calc_iffreq_xtal(enum cxd2841er_xtal xtal, u32 ifhz) in cxd2841er_calc_iffreq_xtal() argument
324 do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); in cxd2841er_calc_iffreq_xtal()
799 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_s()
813 __func__, priv->xtal); in cxd2841er_shutdown_to_sleep_s()
861 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_tc()
2131 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x0E:0x0C; in cxd2841er_dvbt2_set_profile()
2136 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2141 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2272 0x9F, nominalRate8bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
[all …]
Dtda10023.c53 u32 xtal; member
542 if (state->config->xtal) { in tda10023_attach()
543 state->xtal = state->config->xtal; in tda10023_attach()
549 state->xtal = 28920000; in tda10023_attach()
556 state->sysclk = (state->xtal * state->pll_m / \ in tda10023_attach()
563 __func__, state->xtal, state->pll_m, state->pll_p, in tda10023_attach()
Dhelene.c43 enum helene_xtal xtal; member
567 switch (priv->xtal) { in helene_set_params_s()
582 __func__, priv->xtal); in helene_set_params_s()
592 if (priv->xtal == SONY_HELENE_XTAL_20500) in helene_set_params_s()
900 if (priv->xtal == SONY_HELENE_XTAL_16000) in helene_x_pon()
989 priv->xtal = config->xtal; in helene_attach_s()
1025 priv->xtal = config->xtal; in helene_attach()
Dmt312.c49 unsigned long xtal; member
224 (((state->xtal * 8192) / (sym_rat_op + 8192)) * in mt312_get_symbol_rate()
307 buf[0] = mt312_div(state->xtal * state->freq_mult * 2, 1000000); in mt312_initfe()
310 buf[1] = mt312_div(state->xtal, 22000 * 4); in mt312_initfe()
819 state->xtal = MT312_PLL_CLK; in mt312_attach()
824 state->xtal = MT312_PLL_CLK; in mt312_attach()
829 state->xtal = MT312_PLL_CLK_10_111; in mt312_attach()
Dmn88473.h33 u32 xtal; member
Dcx24113.c232 u8 xtal = cx24113_readreg(state, 0x02); in cx24113_set_Fref() local
236 xtal &= ~0x2; in cx24113_set_Fref()
238 xtal |= high << 1; in cx24113_set_Fref()
239 return cx24113_writereg(state, 0x02, xtal); in cx24113_set_Fref()
Dmn88472.h38 unsigned int xtal; member
Dcxd2841er.h44 enum cxd2841er_xtal xtal; member
Dhelene.h47 enum helene_xtal xtal; member
Dstv0900.h36 u32 xtal; member
Dstv0367.h33 u32 xtal; member
Dtda1002x.h48 u32 xtal; /* defaults: 28920000 */ member
Dstv0367.c285 u32 icspeed, u32 xtal) in stv0367_pll_setup() argument
293 switch (xtal) { in stv0367_pll_setup()
305 switch (xtal) { in stv0367_pll_setup()
989 stv0367_pll_setup(state, STV0367_ICSPEED_53125, state->config->xtal); in stv0367ter_init()
1090 state->config->xtal)) in stv0367ter_algo()
1103 InternalFreq = stv0367ter_get_mclk(state, state->config->xtal) / 1000; in stv0367ter_algo()
2332 cab_state->mclk = stv0367cab_get_mclk(fe, state->config->xtal); in stv0367cab_init()
2333 cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); in stv0367cab_init()
2965 stv0367_pll_setup(state, STV0367_ICSPEED_53125, state->config->xtal); in stv0367ddb_setup_ter()
2996 stv0367_pll_setup(state, STV0367_ICSPEED_58000, state->config->xtal); in stv0367ddb_setup_cab()
[all …]
/drivers/media/tuners/
Dit913x.c29 u16 xtal; member
62 dev->xtal = 2000; in it913x_init()
69 dev->xtal = 640; in it913x_init()
103 dev->fn_min = dev->xtal * utmp; in it913x_init()
284 pre_lo_freq = t_cal_freq / dev->xtal; in it913x_set_params()
285 utmp = pre_lo_freq * dev->xtal; in it913x_set_params()
287 if ((t_cal_freq - utmp) >= (dev->xtal >> 1)) in it913x_set_params()
Dr820t.h37 u32 xtal; member
/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-dvb.c56 .xtal = 16000000,
87 .xtal = 16000000,
94 .xtal = 16000000,
101 .xtal = 16000000,
/drivers/media/i2c/
Dmt9v011.c58 unsigned xtal; member
219 frames_per_ms = core->xtal * 1000l; in calc_fps()
251 t_time = core->xtal * ((u64)numerator); in calc_speed()
560 core->xtal = 27000000; /* Hz */ in mt9v011_probe()
565 core->xtal = pdata->xtal; in mt9v011_probe()
567 core->xtal / 1000000, (core->xtal / 1000) % 1000); in mt9v011_probe()
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");
368 switch (xtal) { in saa6588_configure()
/drivers/cpufreq/
Ds3c2412-cpufreq.c36 static struct clk *xtal; variable
227 xtal = clk_get(NULL, "xtal"); in s3c2412_cpufreq_add()
228 if (IS_ERR(xtal)) { in s3c2412_cpufreq_add()
Ds3c2440-cpufreq.c35 static struct clk *xtal; variable
272 xtal = s3c_cpufreq_clk_get(NULL, "xtal"); in s3c2440_cpufreq_add()
277 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()
/drivers/video/fbdev/aty/
Dradeon_base.c585 long xtal; in radeon_probe_pll_params() local
682 xtal = vclk; in radeon_probe_pll_params()
684 if ((xtal > 26900) && (xtal < 27100)) in radeon_probe_pll_params()
685 xtal = 2700; in radeon_probe_pll_params()
686 else if ((xtal > 14200) && (xtal < 14400)) in radeon_probe_pll_params()
687 xtal = 1432; in radeon_probe_pll_params()
688 else if ((xtal > 29400) && (xtal < 29600)) in radeon_probe_pll_params()
689 xtal = 2950; in radeon_probe_pll_params()
691 printk(KERN_WARNING "xtal calculation failed: %ld\n", xtal); in radeon_probe_pll_params()
701 sclk = round_div((2 * Ns * xtal), (2 * M)); in radeon_probe_pll_params()
[all …]
/drivers/clk/mvebu/
DMakefile10 obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-xtal.o
/drivers/tty/serial/
Dmax310x.c549 bool xtal) in max310x_set_ref_clk() argument
593 clksrc = MAX310X_CLKSRC_EXTCLK_BIT | (xtal ? MAX310X_CLKSRC_CRYST_BIT : 0); in max310x_set_ref_clk()
605 if (pllcfg && xtal) in max310x_set_ref_clk()
1109 bool xtal = false; in max310x_probe() local
1132 xtal = true; in max310x_probe()
1181 uartclk = max310x_set_ref_clk(s, freq, xtal); in max310x_probe()
/drivers/net/wireless/ti/wl12xx/
Dwl12xx.h109 bool xtal; member

123