Lines Matching refs:freq_hz
79 u32 freq_hz, freq_offset; member
384 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
388 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
390 if ((freq_hz > xc4000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency()
391 (freq_hz < xc4000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency()
394 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
496 static int xc_tune_channel(struct xc4000_priv *priv, u32 freq_hz) in xc_tune_channel() argument
501 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
505 result = xc_set_rf_frequency(priv, freq_hz); in xc_tune_channel()
1196 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
1199 __func__, priv->freq_hz); in xc4000_set_params()
1244 xc_tune_channel(priv, priv->freq_hz); in xc4000_set_params()
1268 priv->freq_hz = params->frequency * 125L / 2; in xc4000_set_analog_params()
1287 priv->freq_hz = params->frequency * 62500; in xc4000_set_analog_params()
1439 xc_tune_channel(priv, priv->freq_hz); in xc4000_set_analog_params()
1518 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()