Home
last modified time | relevance | path

Searched refs:if_frequency (Results 1 – 20 of 20) sorted by relevance

/drivers/media/tuners/
Dsi2157.c238 dev->if_frequency = 0; /* we no longer know current tuner state */ in si2157_init()
451 u32 if_frequency = 5000000; in si2157_set_params() local
482 if_frequency = 3250000; in si2157_set_params()
486 if_frequency = 4000000; in si2157_set_params()
530 if (if_frequency != dev->if_frequency) { in si2157_set_params()
532 cmd.args[4] = (if_frequency / 1000) & 0xff; in si2157_set_params()
533 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff; in si2157_set_params()
540 dev->if_frequency = if_frequency; in si2157_set_params()
564 dev->if_frequency = 0; in si2157_set_params()
578 u32 if_frequency = 0; in si2157_set_analog_params() local
[all …]
Dtda18218.c143 priv->if_frequency = 3000000; in tda18218_set_params()
146 priv->if_frequency = 3500000; in tda18218_set_params()
149 priv->if_frequency = 4000000; in tda18218_set_params()
152 LO_Frac = c->frequency + priv->if_frequency; in tda18218_set_params()
209 *frequency = priv->if_frequency; in tda18218_get_if_frequency()
Dtda18212.c16 u32 if_frequency; member
141 dev->if_frequency = buf[3] * 50 * 1000; in tda18212_set_params()
158 *frequency = dev->if_frequency; in tda18212_get_if_frequency()
Dtda18250.c447 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); in tda18250_pll_calc()
593 if (dev->if_frequency != if_khz) { in tda18250_set_params()
598 dev->if_frequency = if_khz; in tda18250_set_params()
707 *frequency = dev->if_frequency * 1000; in tda18250_get_if_frequency()
725 dev->if_frequency = 0; in tda18250_sleep()
796 dev->if_frequency = 0; in tda18250_probe()
Dtda18218_priv.h79 u32 if_frequency; member
Dsi2157_priv.h31 u32 if_frequency; member
Dtda18250_priv.h129 u16 if_frequency; member
/drivers/media/dvb-frontends/
Dcxd2820r_c.c19 u32 if_frequency; in cxd2820r_set_frontend_c() local
58 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_c()
61 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_c()
67 utmp = 0x4000 - DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x4000, CXD2820R_CLK); in cxd2820r_set_frontend_c()
Dcxd2820r_t.c18 u32 if_frequency; in cxd2820r_set_frontend_t() local
83 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_t()
86 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_t()
92 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t()
Dcxd2820r_t2.c18 u32 if_frequency; in cxd2820r_set_frontend_t2() local
100 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_t2()
103 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_t2()
109 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t2()
Daf9013.c20 u32 if_frequency; member
113 u32 if_frequency, freq_cw; in af9013_set_frontend() local
151 &if_frequency); in af9013_set_frontend()
155 if_frequency = state->if_frequency; in af9013_set_frontend()
158 dev_dbg(&client->dev, "if_frequency %u\n", if_frequency); in af9013_set_frontend()
160 sampling_freq = if_frequency; in af9013_set_frontend()
1463 state->if_frequency = pdata->if_frequency; in af9013_probe()
Dzd1301_demod.c43 u32 if_frequency; in zd1301_demod_set_frontend() local
55 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in zd1301_demod_set_frontend()
63 dev_dbg(&pdev->dev, "if_frequency=%u\n", if_frequency); in zd1301_demod_set_frontend()
64 if (if_frequency != 36150000) { in zd1301_demod_set_frontend()
Dmn88472.c206 u32 if_frequency; in mn88472_set_frontend() local
289 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in mn88472_set_frontend()
293 dev_dbg(&client->dev, "get_if_frequency=%d\n", if_frequency); in mn88472_set_frontend()
316 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, dev->clk); in mn88472_set_frontend()
Daf9013.h54 u32 if_frequency; member
Dmn88473.c24 u32 if_frequency; in mn88473_set_frontend() local
92 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in mn88473_set_frontend()
96 dev_dbg(&client->dev, "get_if_frequency=%u\n", if_frequency); in mn88473_set_frontend()
103 uitmp = DIV_ROUND_CLOSEST_ULL((u64) if_frequency * 0x1000000, dev->clk); in mn88473_set_frontend()
Drtl2830.c166 u32 if_ctl, if_frequency; in rtl2830_set_frontend() local
220 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in rtl2830_set_frontend()
226 num = if_frequency % dev->pdata->clk; in rtl2830_set_frontend()
232 if_frequency, if_ctl); in rtl2830_set_frontend()
Daf9033.c363 u32 if_frequency; in af9033_set_frontend() local
431 fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in af9033_set_frontend()
433 if_frequency = 0; in af9033_set_frontend()
435 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x800000, in af9033_set_frontend()
438 if (!dev->cfg.spec_inv && if_frequency) in af9033_set_frontend()
/drivers/media/test-drivers/vidtv/
Dvidtv_tuner.c98 u32 if_frequency; member
262 tuner_dev->hw_state.if_frequency = 5000; in vidtv_tuner_init()
359 *frequency = tuner_dev->hw_state.if_frequency; in vidtv_tuner_get_if_frequency()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c1133 u32 if_frequency = 5400000; in cx231xx_s_frequency() local
1170 if_frequency = 5400000; /*5.4MHz */ in cx231xx_s_frequency()
1172 if_frequency = 6000000; /*6.0MHz */ in cx231xx_s_frequency()
1174 if_frequency = 6900000; /*6.9MHz */ in cx231xx_s_frequency()
1176 if_frequency = 7100000; /*7.1MHz */ in cx231xx_s_frequency()
1178 if_frequency = 7250000; /*7.25MHz */ in cx231xx_s_frequency()
1180 if_frequency = 6900000; /*6.9MHz */ in cx231xx_s_frequency()
1182 if_frequency = 1250000; /*1.25MHz */ in cx231xx_s_frequency()
1185 "if_frequency is set to %d\n", if_frequency); in cx231xx_s_frequency()
1186 cx231xx_set_Colibri_For_LowIF(dev, if_frequency, 1, 1); in cx231xx_s_frequency()
/drivers/media/usb/dvb-usb-v2/
Daf9015.c452 state->af9013_pdata[i].if_frequency = val << 8; in af9015_read_config()
459 state->af9013_pdata[i].if_frequency += val; in af9015_read_config()
460 state->af9013_pdata[i].if_frequency *= 1000; in af9015_read_config()
462 i, state->af9013_pdata[i].if_frequency); in af9015_read_config()
532 state->af9013_pdata[0].if_frequency = 4570000; in af9015_read_config()