Home
last modified time | relevance | path

Searched refs:if_freq (Results 1 – 25 of 48) sorted by relevance

12

/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-tuner.c41 enum mxl_if_freq if_freq; member
143 u32 if_freq; in mxl1x1sf_tuner_set_if_output_freq()
146 state->cfg->invert_spectrum, state->cfg->if_freq); in mxl1x1sf_tuner_set_if_output_freq()
151 ctrl |= state->cfg->if_freq; in mxl1x1sf_tuner_set_if_output_freq()
158 if_freq /= 1000000; in mxl1x1sf_tuner_set_if_output_freq()
161 if_freq += 0.5; in mxl1x1sf_tuner_set_if_output_freq()
163 if (MXL_IF_LO == state->cfg->if_freq) { in mxl1x1sf_tuner_set_if_output_freq()
165 iffcw = (u16)(if_freq / (108 * 4096)); in mxl1x1sf_tuner_set_if_output_freq()
166 } else if (MXL_IF_HI == state->cfg->if_freq) { in mxl1x1sf_tuner_set_if_output_freq()
168 iffcw = (u16)(if_freq / (216 * 4096)); in mxl1x1sf_tuner_set_if_output_freq()
[all …]
Dmxl111sf-tuner.h50 enum mxl_if_freq if_freq; member
/drivers/media/tuners/
Dtda18271-maps.c1190 .fm_radio = { .if_freq = 1250, .fm_rfn = 1, .agc_mode = 3, .std = 0,
1192 .atv_b = { .if_freq = 6750, .fm_rfn = 0, .agc_mode = 1, .std = 6,
1194 .atv_dk = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1196 .atv_gh = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1198 .atv_i = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1200 .atv_l = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1202 .atv_lc = { .if_freq = 1250, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1204 .atv_mn = { .if_freq = 5750, .fm_rfn = 0, .agc_mode = 1, .std = 5,
1206 .atsc_6 = { .if_freq = 3250, .fm_rfn = 0, .agc_mode = 3, .std = 4,
1208 .dvbt_6 = { .if_freq = 3300, .fm_rfn = 0, .agc_mode = 3, .std = 4,
[all …]
Dtda827x.c164 int i, tuner_freq, if_freq; in tda827xo_set_params() local
169 if_freq = 5000000; in tda827xo_set_params()
171 if_freq = 4000000; in tda827xo_set_params()
173 if_freq = 4500000; in tda827xo_set_params()
175 if_freq = 5000000; in tda827xo_set_params()
186 tuner_freq += if_freq; in tda827xo_set_params()
524 int i, tuner_freq, if_freq, rc; in tda827xa_set_params() local
533 if_freq = 5000000; in tda827xa_set_params()
535 if_freq = 4000000; in tda827xa_set_params()
537 if_freq = 4500000; in tda827xa_set_params()
[all …]
Dmxl5007t.c168 enum mxl5007t_if_freq if_freq; member
243 enum mxl5007t_if_freq if_freq, in mxl5007t_set_if_freq_bits() argument
248 switch (if_freq) { in mxl5007t_set_if_freq_bits()
291 state->if_freq = if_freq; in mxl5007t_set_if_freq_bits()
741 switch (state->if_freq) { in mxl5007t_get_if_frequency()
Dtda18271-fe.c166 N = map->if_freq * 1000 + freq; in tda18271_channel_configuration()
903 freq, map->if_freq, bw, map->agc_mode, map->std); in tda18271_tune()
988 priv->if_freq = map->if_freq; in tda18271_set_params()
1044 priv->if_freq = map->if_freq; in tda18271_set_analog_params()
1084 *frequency = (u32)priv->if_freq * 1000; in tda18271_get_if_frequency()
1091 if (map->std_cfg.if_freq + \
1102 name, std->std_cfg.if_freq, \
Dtda18271.h28 u16 if_freq; member
Dmxl5005s.h43 u32 if_freq; member
/drivers/media/pci/saa7134/
Dsaa7134-dvb.c225 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
395 .if_freq = TDA10046_FREQ_3617,
407 .if_freq = TDA10046_FREQ_3617,
503 .if_freq = TDA10046_FREQ_052,
514 .if_freq = TDA10046_FREQ_3613,
525 .if_freq = TDA10046_FREQ_3617,
661 .if_freq = TDA10046_FREQ_045,
673 .if_freq = TDA10046_FREQ_045,
687 .if_freq = TDA10046_FREQ_045,
700 .if_freq = TDA10046_FREQ_045,
[all …]
/drivers/media/dvb-frontends/
Dcxd2820r_c.c30 u32 if_freq; in cxd2820r_set_frontend_c() local
72 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in cxd2820r_set_frontend_c()
76 if_freq = 0; in cxd2820r_set_frontend_c()
78 dev_dbg(&priv->i2c->dev, "%s: if_freq=%d\n", __func__, if_freq); in cxd2820r_set_frontend_c()
80 num = if_freq / 1000; /* Hz => kHz */ in cxd2820r_set_frontend_c()
Dcxd2820r_t.c29 u32 if_freq, if_ctl; in cxd2820r_set_frontend_t() local
96 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in cxd2820r_set_frontend_t()
100 if_freq = 0; in cxd2820r_set_frontend_t()
102 dev_dbg(&priv->i2c->dev, "%s: if_freq=%d\n", __func__, if_freq); in cxd2820r_set_frontend_t()
104 num = if_freq / 1000; /* Hz => kHz */ in cxd2820r_set_frontend_t()
Dcxd2820r_t2.c29 u32 if_freq, if_ctl; in cxd2820r_set_frontend_t2() local
113 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in cxd2820r_set_frontend_t2()
117 if_freq = 0; in cxd2820r_set_frontend_t2()
119 dev_dbg(&priv->i2c->dev, "%s: if_freq=%d\n", __func__, if_freq); in cxd2820r_set_frontend_t2()
121 num = if_freq / 1000; /* Hz => kHz */ in cxd2820r_set_frontend_t2()
Ds5h1409.c44 int if_freq; member
385 state->if_freq = KHz; in s5h1409_set_if_freq()
412 if (state->if_freq != S5H1409_VSB_IF_FREQ) in s5h1409_enable_modulation()
420 if (state->if_freq != S5H1409_QAM_IF_FREQ) in s5h1409_enable_modulation()
747 s5h1409_set_if_freq(fe, state->if_freq); in s5h1409_init()
969 state->if_freq = S5H1409_VSB_IF_FREQ; in s5h1409_attach()
Dhd29l2.c348 u32 if_freq, if_ctl; in hd29l2_search() local
367 fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in hd29l2_search()
369 if_freq = 0; in hd29l2_search()
371 if (if_freq) { in hd29l2_search()
375 num64 = if_freq; in hd29l2_search()
403 __func__, if_freq, if_ctl); in hd29l2_search()
Dtda1004x.c267 if ((state->config->if_freq == TDA10046_FREQ_045) || in tda10046h_set_bandwidth()
268 (state->config->if_freq == TDA10046_FREQ_052)) in tda10046h_set_bandwidth()
280 if (state->config->if_freq == TDA10046_FREQ_045) { in tda10046h_set_bandwidth()
293 if (state->config->if_freq == TDA10046_FREQ_045) { in tda10046h_set_bandwidth()
306 if (state->config->if_freq == TDA10046_FREQ_045) { in tda10046h_set_bandwidth()
436 if ((state->config->if_freq == TDA10046_FREQ_045) || in tda10046_init_plls()
437 (state->config->if_freq == TDA10046_FREQ_052)) in tda10046_init_plls()
462 switch (state->config->if_freq) { in tda10046_init_plls()
Dmb86a20s.c44 u32 if_freq; member
1804 fe->ops.tuner_ops.get_if_frequency(fe, &state->if_freq); in mb86a20s_initfe()
1806 if (!state->if_freq) in mb86a20s_initfe()
1807 state->if_freq = 3300000; in mb86a20s_initfe()
1809 pll = (((u64)1) << 34) * state->if_freq; in mb86a20s_initfe()
1825 __func__, fclk, state->if_freq, (long long)pll); in mb86a20s_initfe()
1828 pll = state->if_freq * 1677721600L; in mb86a20s_initfe()
1843 __func__, state->if_freq, (long long)pll); in mb86a20s_initfe()
1879 int rc, if_freq; in mb86a20s_set_frontend() local
1915 fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in mb86a20s_set_frontend()
Drtl2832.c261 static int rtl2832_set_if(struct dvb_frontend *fe, u32 if_freq) in rtl2832_set_if() argument
267 u8 en_bbin = (if_freq == 0 ? 0x1 : 0x0); in rtl2832_set_if()
273 pset_iffreq = if_freq % dev->pdata->clk; in rtl2832_set_if()
279 if_freq, (unsigned)pset_iffreq); in rtl2832_set_if()
501 u32 if_freq; in rtl2832_set_frontend() local
503 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in rtl2832_set_frontend()
507 ret = rtl2832_set_if(fe, if_freq); in rtl2832_set_frontend()
Datbm8830.h53 u32 if_freq; /* in kHz */ member
Dlgs8gxx.h61 u32 if_freq; /* in kHz */ member
Dtdhd1.h39 .if_freq = TDA10046_FREQ_3617,
/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.c326 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
328 .dvbt_7 = { .if_freq = 3800, .agc_mode = 3, .std = 5,
330 .dvbt_8 = { .if_freq = 4300, .agc_mode = 3, .std = 6,
426 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
428 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c81 .dvbt_6 = { .if_freq = 4000, .agc_mode = 3, .std = 4,
83 .dvbt_7 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
85 .dvbt_8 = { .if_freq = 4000, .agc_mode = 3, .std = 6,
90 .dvbt_6 = { .if_freq = 4000, .agc_mode = 3, .std = 4,
130 .atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4,
132 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
Dcx231xx-avcore.c1522 void cx231xx_set_Colibri_For_LowIF(struct cx231xx *dev, u32 if_freq, in cx231xx_set_Colibri_For_LowIF() argument
1554 cx231xx_set_DIF_bandpass(dev, (if_freq+colibri_carrier_offset), in cx231xx_set_Colibri_For_LowIF()
1576 void cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq, in cx231xx_set_DIF_bandpass() argument
1585 if_freq, spectral_invert, mode); in cx231xx_set_DIF_bandpass()
1594 pll_freq_word = if_freq; in cx231xx_set_DIF_bandpass()
1602 if_freq -= 400000; in cx231xx_set_DIF_bandpass()
1610 if_freq += 400000; in cx231xx_set_DIF_bandpass()
1619 if_freq = (if_freq / 100000) * 100000; in cx231xx_set_DIF_bandpass()
1621 if (if_freq < 3000000) in cx231xx_set_DIF_bandpass()
1622 if_freq = 3000000; in cx231xx_set_DIF_bandpass()
[all …]
/drivers/media/pci/cx23885/
Dcx23885-dvb.c313 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
315 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
320 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
322 .dvbt_7 = { .if_freq = 3800, .agc_mode = 3, .std = 5,
324 .dvbt_8 = { .if_freq = 4300, .agc_mode = 3, .std = 6,
351 .atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4,
353 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
535 .if_freq = 5380, /* 5.38 MHz */
767 .if_freq = 6500, /* 6.50 MHz */
787 .if_freq = 0, /* zero IF */
[all …]
/drivers/media/pci/cx18/
Dcx18-dvb.c56 .if_freq = IF_FREQ_5380000HZ,
97 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
99 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,

12