Home
last modified time | relevance | path

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

12

/linux-4.19.296/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()
/linux-4.19.296/drivers/media/dvb-frontends/
Dcxd2841er.c69 enum cxd2841er_xtal xtal; member
320 static u32 cxd2841er_calc_iffreq_xtal(enum cxd2841er_xtal xtal, u32 ifhz) in cxd2841er_calc_iffreq_xtal() argument
325 do_div(tmp, ((xtal == SONY_XTAL_24000) ? 48000000 : 41000000)); in cxd2841er_calc_iffreq_xtal()
800 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_s()
814 __func__, priv->xtal); in cxd2841er_shutdown_to_sleep_s()
862 switch (priv->xtal) { in cxd2841er_shutdown_to_sleep_tc()
2130 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x0E:0x0C; in cxd2841er_dvbt2_set_profile()
2135 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2140 seq_not2d_time = (priv->xtal == SONY_XTAL_24000)?0x2E:0x28; in cxd2841er_dvbt2_set_profile()
2271 0x9F, nominalRate8bw[priv->xtal], 5); in cxd2841er_sleep_tc_to_active_t2_band()
[all …]
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()
927 if (priv->xtal == SONY_HELENE_XTAL_16000) in helene_x_pon()
1016 priv->xtal = config->xtal; in helene_attach_s()
1052 priv->xtal = config->xtal; in helene_attach()
1091 priv->xtal = config->xtal; in helene_probe()
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()
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
Dmn88472.h38 unsigned int xtal; member
Dcxd2841er.h44 enum cxd2841er_xtal xtal; member
Dhelene.h49 enum helene_xtal xtal; member
Dstv0367.h33 u32 xtal; member
Dstv0900.h36 u32 xtal; member
Dtda1002x.h48 u32 xtal; /* defaults: 28920000 */ 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()
Dstv090x.h73 u32 xtal; /* default: 8000000 */ 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()
2329 cab_state->mclk = stv0367cab_get_mclk(fe, state->config->xtal); in stv0367cab_init()
2330 cab_state->adc_clk = stv0367cab_get_adc_freq(fe, state->config->xtal); in stv0367cab_init()
2962 stv0367_pll_setup(state, STV0367_ICSPEED_53125, state->config->xtal); in stv0367ddb_setup_ter()
2993 stv0367_pll_setup(state, STV0367_ICSPEED_58000, state->config->xtal); in stv0367ddb_setup_cab()
[all …]
/linux-4.19.296/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
Dr820t.c539 pll_ref = priv->cfg->xtal / 1000; in r820t_set_pll()
553 if (priv->cfg->xtal > 24000000) { in r820t_set_pll()
1428 if (priv->cfg->xtal == 16000000 && (val > 29 || val < 23)) in r820t_xtal_check()
1895 if (priv->cfg->xtal > 24000000) in r820t_imr()
1896 ring_ref = priv->cfg->xtal / 2000; in r820t_imr()
1898 ring_ref = priv->cfg->xtal / 1000; in r820t_imr()
/linux-4.19.296/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()
/linux-4.19.296/include/media/i2c/
Dmt9v011.h14 unsigned xtal; /* Hz */ member
/linux-4.19.296/include/linux/usb/
Dm66592.h37 unsigned xtal:2; member
Dr8a66597.h42 unsigned xtal:2; member
/linux-4.19.296/drivers/clk/mvebu/
DMakefile10 obj-$(CONFIG_ARMADA_37XX_CLK) += armada-37xx-xtal.o
/linux-4.19.296/drivers/clk/
Dclk-si5351.c60 struct clk_hw xtal; member
225 container_of(hw, struct si5351_driver_data, xtal); in si5351_xtal_prepare()
234 container_of(hw, struct si5351_driver_data, xtal); in si5351_xtal_unprepare()
1482 drvdata->xtal.init = &init; in si5351_i2c_probe()
1483 ret = devm_clk_hw_register(&client->dev, &drvdata->xtal); in si5351_i2c_probe()

12