Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/media/usb/dvb-usb-v2/
Dmxl111sf-tuner.c28 enum mxl_if_freq if_freq; member
130 u32 if_freq; in mxl1x1sf_tuner_set_if_output_freq()
133 state->cfg->invert_spectrum, state->cfg->if_freq); in mxl1x1sf_tuner_set_if_output_freq()
138 ctrl |= state->cfg->if_freq; in mxl1x1sf_tuner_set_if_output_freq()
145 if_freq /= 1000000; in mxl1x1sf_tuner_set_if_output_freq()
148 if_freq += 0.5; in mxl1x1sf_tuner_set_if_output_freq()
150 if (MXL_IF_LO == state->cfg->if_freq) { in mxl1x1sf_tuner_set_if_output_freq()
152 iffcw = (u16)(if_freq / (108 * 4096)); in mxl1x1sf_tuner_set_if_output_freq()
153 } else if (MXL_IF_HI == state->cfg->if_freq) { in mxl1x1sf_tuner_set_if_output_freq()
155 iffcw = (u16)(if_freq / (216 * 4096)); in mxl1x1sf_tuner_set_if_output_freq()
[all …]
Dmxl111sf-tuner.h36 enum mxl_if_freq if_freq; member
/linux-6.6.21/drivers/media/tuners/
Dtda18271-maps.c1174 .fm_radio = { .if_freq = 1250, .fm_rfn = 1, .agc_mode = 3, .std = 0,
1176 .atv_b = { .if_freq = 6750, .fm_rfn = 0, .agc_mode = 1, .std = 6,
1178 .atv_dk = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1180 .atv_gh = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1182 .atv_i = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1184 .atv_l = { .if_freq = 7750, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1186 .atv_lc = { .if_freq = 1250, .fm_rfn = 0, .agc_mode = 1, .std = 7,
1188 .atv_mn = { .if_freq = 5750, .fm_rfn = 0, .agc_mode = 1, .std = 5,
1190 .atsc_6 = { .if_freq = 3250, .fm_rfn = 0, .agc_mode = 3, .std = 4,
1192 .dvbt_6 = { .if_freq = 3300, .fm_rfn = 0, .agc_mode = 3, .std = 4,
[all …]
Dtda827x.c151 int i, tuner_freq, if_freq; in tda827xo_set_params() local
156 if_freq = 5000000; in tda827xo_set_params()
158 if_freq = 4000000; in tda827xo_set_params()
160 if_freq = 4500000; in tda827xo_set_params()
162 if_freq = 5000000; in tda827xo_set_params()
173 tuner_freq += if_freq; in tda827xo_set_params()
511 int i, tuner_freq, if_freq, rc; in tda827xa_set_params() local
520 if_freq = 5000000; in tda827xa_set_params()
522 if_freq = 4000000; in tda827xa_set_params()
524 if_freq = 4500000; in tda827xa_set_params()
[all …]
Dmxl5007t.c153 enum mxl5007t_if_freq if_freq; member
225 enum mxl5007t_if_freq if_freq, in mxl5007t_set_if_freq_bits() argument
230 switch (if_freq) { in mxl5007t_set_if_freq_bits()
273 state->if_freq = if_freq; in mxl5007t_set_if_freq_bits()
717 switch (state->if_freq) { in mxl5007t_get_if_frequency()
Dtda18271-fe.c154 N = map->if_freq * 1000 + freq; in tda18271_channel_configuration()
891 freq, map->if_freq, bw, map->agc_mode, map->std); in tda18271_tune()
976 priv->if_freq = map->if_freq; in tda18271_set_params()
1032 priv->if_freq = map->if_freq; in tda18271_set_analog_params()
1070 *frequency = (u32)priv->if_freq * 1000; in tda18271_get_if_frequency()
1077 if (map->std_cfg.if_freq + \
1088 name, std->std_cfg.if_freq, \
Dtda18271.h16 u16 if_freq; member
Dmxl5005s.h29 u32 if_freq; member
/linux-6.6.21/drivers/media/pci/saa7134/
Dsaa7134-dvb.c212 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
382 .if_freq = TDA10046_FREQ_3617,
394 .if_freq = TDA10046_FREQ_3617,
490 .if_freq = TDA10046_FREQ_052,
501 .if_freq = TDA10046_FREQ_3613,
512 .if_freq = TDA10046_FREQ_3617,
648 .if_freq = TDA10046_FREQ_045,
660 .if_freq = TDA10046_FREQ_045,
674 .if_freq = TDA10046_FREQ_045,
687 .if_freq = TDA10046_FREQ_045,
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/
Dmn88443x.c193 u32 if_freq; member
381 static bool mn88443x_t_is_valid_clk(u32 adckt, u32 if_freq) in mn88443x_t_is_valid_clk() argument
383 if (if_freq == DIRECT_IF_57MHZ) { in mn88443x_t_is_valid_clk()
388 } else if (if_freq == DIRECT_IF_44MHZ) { in mn88443x_t_is_valid_clk()
391 } else if (if_freq >= LOW_IF_4MHZ && if_freq < DIRECT_IF_44MHZ) { in mn88443x_t_is_valid_clk()
418 if (!mn88443x_t_is_valid_clk(adckt, chip->if_freq)) { in mn88443x_t_set_freq()
420 chip->clk_freq, adckt, chip->if_freq); in mn88443x_t_set_freq()
425 if (chip->if_freq == DIRECT_IF_57MHZ || in mn88443x_t_set_freq()
426 chip->if_freq == DIRECT_IF_44MHZ) in mn88443x_t_set_freq()
427 nco = adckt * 2 - chip->if_freq; in mn88443x_t_set_freq()
[all …]
Ds5h1409.c32 int if_freq; member
373 state->if_freq = KHz; in s5h1409_set_if_freq()
400 if (state->if_freq != S5H1409_VSB_IF_FREQ) in s5h1409_enable_modulation()
408 if (state->if_freq != S5H1409_QAM_IF_FREQ) in s5h1409_enable_modulation()
735 s5h1409_set_if_freq(fe, state->if_freq); in s5h1409_init()
957 state->if_freq = S5H1409_VSB_IF_FREQ; in s5h1409_attach()
Dmn88443x.h20 u32 if_freq; member
Dtda1004x.c254 if ((state->config->if_freq == TDA10046_FREQ_045) || in tda10046h_set_bandwidth()
255 (state->config->if_freq == TDA10046_FREQ_052)) in tda10046h_set_bandwidth()
267 if (state->config->if_freq == TDA10046_FREQ_045) { 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()
423 if ((state->config->if_freq == TDA10046_FREQ_045) || in tda10046_init_plls()
424 (state->config->if_freq == TDA10046_FREQ_052)) in tda10046_init_plls()
449 switch (state->config->if_freq) { in tda10046_init_plls()
Datbm8830.h39 u32 if_freq; /* in kHz */ member
Drtl2832.c211 static int rtl2832_set_if(struct dvb_frontend *fe, u32 if_freq) in rtl2832_set_if() argument
217 u8 en_bbin = (if_freq == 0 ? 0x1 : 0x0); in rtl2832_set_if()
223 pset_iffreq = if_freq % dev->pdata->clk; in rtl2832_set_if()
229 if_freq, (unsigned)pset_iffreq); in rtl2832_set_if()
446 u32 if_freq; in rtl2832_set_frontend() local
448 ret = fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in rtl2832_set_frontend()
452 ret = rtl2832_set_if(fe, if_freq); in rtl2832_set_frontend()
Dlgs8gxx.h46 u32 if_freq; /* in kHz */ member
Dmb86a20s.c36 u32 if_freq; member
1786 fe->ops.tuner_ops.get_if_frequency(fe, &state->if_freq); in mb86a20s_initfe()
1788 if (!state->if_freq) in mb86a20s_initfe()
1789 state->if_freq = 3300000; in mb86a20s_initfe()
1791 pll = (((u64)1) << 34) * state->if_freq; in mb86a20s_initfe()
1807 __func__, fclk, state->if_freq, (long long)pll); in mb86a20s_initfe()
1810 pll = state->if_freq * 1677721600L; in mb86a20s_initfe()
1825 __func__, state->if_freq, (long long)pll); in mb86a20s_initfe()
1861 int rc, if_freq; in mb86a20s_set_frontend() local
1897 fe->ops.tuner_ops.get_if_frequency(fe, &if_freq); in mb86a20s_set_frontend()
Dtdhd1.h23 .if_freq = TDA10046_FREQ_3617,
Dtda1004x.h74 enum tda10046_if if_freq; member
Dau8522_dig.c232 static int au8522_set_if(struct dvb_frontend *fe, enum au8522_if_freq if_freq) in au8522_set_if() argument
238 switch (if_freq) { in au8522_set_if()
/linux-6.6.21/drivers/media/usb/pvrusb2/
Dpvrusb2-devattr.c315 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
317 .dvbt_7 = { .if_freq = 3800, .agc_mode = 3, .std = 5,
319 .dvbt_8 = { .if_freq = 4300, .agc_mode = 3, .std = 6,
415 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
417 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
/linux-6.6.21/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c79 .dvbt_6 = { .if_freq = 4000, .agc_mode = 3, .std = 4,
81 .dvbt_7 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
83 .dvbt_8 = { .if_freq = 4000, .agc_mode = 3, .std = 6,
88 .dvbt_6 = { .if_freq = 4000, .agc_mode = 3, .std = 4,
128 .atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4,
130 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
Dcx231xx-avcore.c1533 void cx231xx_set_Colibri_For_LowIF(struct cx231xx *dev, u32 if_freq, in cx231xx_set_Colibri_For_LowIF() argument
1565 cx231xx_set_DIF_bandpass(dev, (if_freq+colibri_carrier_offset), in cx231xx_set_Colibri_For_LowIF()
1587 void cx231xx_set_DIF_bandpass(struct cx231xx *dev, u32 if_freq, in cx231xx_set_DIF_bandpass() argument
1596 if_freq, spectral_invert, mode); in cx231xx_set_DIF_bandpass()
1605 pll_freq_word = if_freq; in cx231xx_set_DIF_bandpass()
1613 if_freq -= 400000; in cx231xx_set_DIF_bandpass()
1621 if_freq += 400000; in cx231xx_set_DIF_bandpass()
1630 if_freq = (if_freq / 100000) * 100000; in cx231xx_set_DIF_bandpass()
1632 if (if_freq < 3000000) in cx231xx_set_DIF_bandpass()
1633 if_freq = 3000000; in cx231xx_set_DIF_bandpass()
[all …]
/linux-6.6.21/drivers/media/pci/cx18/
Dcx18-dvb.c42 .if_freq = IF_FREQ_5380000HZ,
83 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
85 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
/linux-6.6.21/drivers/media/pci/cx23885/
Dcx23885-dvb.c304 .atsc_6 = { .if_freq = 5380, .agc_mode = 3, .std = 3,
306 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 0,
311 .dvbt_6 = { .if_freq = 3300, .agc_mode = 3, .std = 4,
313 .dvbt_7 = { .if_freq = 3800, .agc_mode = 3, .std = 5,
315 .dvbt_8 = { .if_freq = 4300, .agc_mode = 3, .std = 6,
342 .atsc_6 = { .if_freq = 3250, .agc_mode = 3, .std = 4,
344 .qam_6 = { .if_freq = 4000, .agc_mode = 3, .std = 5,
526 .if_freq = 5380, /* 5.38 MHz */
782 .if_freq = 6500, /* 6.50 MHz */
802 .if_freq = 0, /* zero IF */
[all …]

12