Lines Matching refs:freq_hz
45 u32 freq_hz, freq_offset; member
447 static int xc_set_rf_frequency(struct xc5000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
451 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
453 if ((freq_hz > xc5000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency()
454 (freq_hz < xc5000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency()
457 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
560 static int xc_tune_channel(struct xc5000_priv *priv, u32 freq_hz, int mode) in xc_tune_channel() argument
562 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
564 if (xc_set_rf_frequency(priv, freq_hz) != 0) in xc_tune_channel()
716 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_DIGITAL); in xc5000_tune_digital()
808 priv->freq_hz = freq - priv->freq_offset; in xc5000_set_digital_params()
812 __func__, freq, priv->freq_hz); in xc5000_set_digital_params()
851 priv->freq_hz = params->frequency * 62500; in xc5000_config_tv()
922 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_ANALOG); in xc5000_set_tv_freq()
962 priv->freq_hz = params->frequency * 125 / 2; in xc5000_config_radio()
1008 xc_tune_channel(priv, priv->freq_hz, XC_TUNE_ANALOG); in xc5000_set_radio_freq()
1064 *freq = priv->freq_hz + priv->freq_offset; in xc5000_get_frequency()