• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/common/tuners/

Lines Matching refs:t_params

258 				struct tuner_params *t_params,
264 for (i = 0; i < t_params->count; i++) {
265 if (*frequency > t_params->ranges[i].limit)
269 if (i == t_params->count) {
271 *frequency, t_params->ranges[i - 1].limit);
272 *frequency = t_params->ranges[--i].limit;
274 *config = t_params->ranges[i].config;
275 *cb = t_params->ranges[i].cb;
551 struct tuner_params *t_params;
580 t_params = simple_tuner_params(fe, desired_type);
582 i = simple_config_lookup(fe, t_params, &params->frequency,
596 if (t_params->cb_first_if_lower_freq && div < priv->last_div) {
608 if (t_params->has_tda9887) {
620 if (t_params->port1_active ^ t_params->port1_invert_for_secam_lc)
622 if (t_params->port2_active ^ t_params->port2_invert_for_secam_lc)
625 if (t_params->port1_active)
627 if (t_params->port2_active)
630 if (t_params->intercarrier_mode)
633 if (i == 0 && t_params->default_top_secam_low)
634 tda_config |= TDA9887_TOP(t_params->default_top_secam_low);
635 else if (i == 1 && t_params->default_top_secam_mid)
636 tda_config |= TDA9887_TOP(t_params->default_top_secam_mid);
637 else if (t_params->default_top_secam_high)
638 tda_config |= TDA9887_TOP(t_params->default_top_secam_high);
640 if (i == 0 && t_params->default_top_low)
641 tda_config |= TDA9887_TOP(t_params->default_top_low);
642 else if (i == 1 && t_params->default_top_mid)
643 tda_config |= TDA9887_TOP(t_params->default_top_mid);
644 else if (t_params->default_top_high)
645 tda_config |= TDA9887_TOP(t_params->default_top_high);
647 if (t_params->default_pll_gating_18)
672 struct tuner_params *t_params;
680 /* default t_params (j=0) will be used if desired type wasn't found */
681 t_params = &tun->params[j];
684 switch (t_params->radio_if) {
696 t_params->radio_if);
700 buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) |
711 if (t_params->cb_first_if_lower_freq && div < priv->last_div) {
725 if (t_params->has_tda9887) {
732 if (t_params->port1_active &&
733 !t_params->port1_fm_high_sensitivity)
735 if (t_params->port2_active &&
736 !t_params->port2_fm_high_sensitivity)
738 if (t_params->intercarrier_mode)
740 /* if (t_params->port1_set_for_fm_mono)
742 if (t_params->fm_gain_normal)
744 if (t_params->radio_if == 2)
834 static struct tuner_params *t_params;
849 t_params = simple_tuner_params(fe, TUNER_PARAM_TYPE_DIGITAL);
850 ret = simple_config_lookup(fe, t_params, &frequency, &config, &cb);
854 div = ((frequency + t_params->iffreq) * 62500 + offset +
868 return (div * tun->stepsize) - t_params->iffreq;