Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/media/tuners/
Dsi2157.c102 dev->if_frequency = 0; /* we no longer know current tuner state */ in si2157_init()
284 u32 if_frequency = 5000000; in si2157_set_params() local
307 if_frequency = 3250000; in si2157_set_params()
311 if_frequency = 4000000; in si2157_set_params()
347 if (if_frequency != dev->if_frequency) { in si2157_set_params()
349 cmd.args[4] = (if_frequency / 1000) & 0xff; in si2157_set_params()
350 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff; in si2157_set_params()
357 dev->if_frequency = if_frequency; in si2157_set_params()
383 *frequency = dev->if_frequency; in si2157_get_if_frequency()
449 dev->if_frequency = 5000000; /* default value of property 0x0706 */ in si2157_probe()
Dtda18218.c152 priv->if_frequency = 3000000; in tda18218_set_params()
155 priv->if_frequency = 3500000; in tda18218_set_params()
158 priv->if_frequency = 4000000; in tda18218_set_params()
161 LO_Frac = c->frequency + priv->if_frequency; in tda18218_set_params()
218 *frequency = priv->if_frequency; in tda18218_get_if_frequency()
Dtda18212.c29 u32 if_frequency; member
154 dev->if_frequency = buf[3] * 50 * 1000; in tda18212_set_params()
171 *frequency = dev->if_frequency; in tda18212_get_if_frequency()
Dsi2157_priv.h32 u32 if_frequency; member
Dtda18250.c457 fvco = lopd * scale * ((c->frequency / 1000) + dev->if_frequency); in tda18250_pll_calc()
603 if (dev->if_frequency != if_khz) { in tda18250_set_params()
608 dev->if_frequency = if_khz; in tda18250_set_params()
717 *frequency = dev->if_frequency * 1000; in tda18250_get_if_frequency()
735 dev->if_frequency = 0; in tda18250_sleep()
807 dev->if_frequency = 0; in tda18250_probe()
Dtda18218_priv.h88 u32 if_frequency; member
Dtda18250_priv.h138 u16 if_frequency; member
/linux-4.19.296/drivers/media/dvb-frontends/
Dcxd2820r_c.c32 u32 if_frequency; in cxd2820r_set_frontend_c() local
71 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_c()
74 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_c()
80 utmp = 0x4000 - DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x4000, CXD2820R_CLK); in cxd2820r_set_frontend_c()
Dcxd2820r_t2.c31 u32 if_frequency; in cxd2820r_set_frontend_t2() local
113 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_t2()
116 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_t2()
122 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t2()
Dcxd2820r_t.c31 u32 if_frequency; in cxd2820r_set_frontend_t() local
96 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in cxd2820r_set_frontend_t()
99 dev_dbg(&client->dev, "if_frequency=%u\n", if_frequency); in cxd2820r_set_frontend_t()
105 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, CXD2820R_CLK); in cxd2820r_set_frontend_t()
Daf9013.h64 u32 if_frequency; member
Daf9013.c30 u32 if_frequency; member
123 u32 if_frequency, freq_cw; in af9013_set_frontend() local
161 &if_frequency); in af9013_set_frontend()
165 if_frequency = state->if_frequency; in af9013_set_frontend()
168 dev_dbg(&client->dev, "if_frequency %u\n", if_frequency); in af9013_set_frontend()
170 sampling_freq = if_frequency; in af9013_set_frontend()
1474 state->if_frequency = pdata->if_frequency; in af9013_probe()
Dzd1301_demod.c52 u32 if_frequency; in zd1301_demod_set_frontend() local
64 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in zd1301_demod_set_frontend()
72 dev_dbg(&pdev->dev, "if_frequency=%u\n", if_frequency); in zd1301_demod_set_frontend()
73 if (if_frequency != 36150000) { in zd1301_demod_set_frontend()
Dmn88472.c215 u32 if_frequency; in mn88472_set_frontend() local
298 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in mn88472_set_frontend()
302 dev_dbg(&client->dev, "get_if_frequency=%d\n", if_frequency); in mn88472_set_frontend()
325 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x1000000, dev->clk); in mn88472_set_frontend()
Dmn88473.c33 u32 if_frequency; in mn88473_set_frontend() local
101 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in mn88473_set_frontend()
105 dev_dbg(&client->dev, "get_if_frequency=%u\n", if_frequency); in mn88473_set_frontend()
112 uitmp = DIV_ROUND_CLOSEST_ULL((u64) if_frequency * 0x1000000, dev->clk); in mn88473_set_frontend()
Drtl2830.c176 u32 if_ctl, if_frequency; in rtl2830_set_frontend() local
230 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in rtl2830_set_frontend()
236 num = if_frequency % dev->pdata->clk; in rtl2830_set_frontend()
242 if_frequency, if_ctl); in rtl2830_set_frontend()
Daf9033.c371 u32 if_frequency; in af9033_set_frontend() local
439 fe->ops.tuner_ops.get_if_frequency(fe, &if_frequency); in af9033_set_frontend()
441 if_frequency = 0; in af9033_set_frontend()
443 utmp = DIV_ROUND_CLOSEST_ULL((u64)if_frequency * 0x800000, in af9033_set_frontend()
446 if (!dev->cfg.spec_inv && if_frequency) in af9033_set_frontend()
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Daf9015.c461 state->af9013_pdata[i].if_frequency = val << 8; in af9015_read_config()
468 state->af9013_pdata[i].if_frequency += val; in af9015_read_config()
469 state->af9013_pdata[i].if_frequency *= 1000; in af9015_read_config()
471 i, state->af9013_pdata[i].if_frequency); in af9015_read_config()
541 state->af9013_pdata[0].if_frequency = 4570000; in af9015_read_config()