Lines Matching refs:freq_hz
79 u32 freq_hz, freq_offset; member
386 static int xc_set_rf_frequency(struct xc4000_priv *priv, u32 freq_hz) in xc_set_rf_frequency() argument
390 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_set_rf_frequency()
392 if ((freq_hz > xc4000_tuner_ops.info.frequency_max_hz) || in xc_set_rf_frequency()
393 (freq_hz < xc4000_tuner_ops.info.frequency_min_hz)) in xc_set_rf_frequency()
396 freq_code = (u16)(freq_hz / 15625); in xc_set_rf_frequency()
498 static int xc_tune_channel(struct xc4000_priv *priv, u32 freq_hz) in xc_tune_channel() argument
503 dprintk(1, "%s(%u)\n", __func__, freq_hz); in xc_tune_channel()
507 result = xc_set_rf_frequency(priv, freq_hz); in xc_tune_channel()
1198 priv->freq_hz = c->frequency - priv->freq_offset; in xc4000_set_params()
1201 __func__, priv->freq_hz); in xc4000_set_params()
1246 xc_tune_channel(priv, priv->freq_hz); in xc4000_set_params()
1270 priv->freq_hz = params->frequency * 125L / 2; in xc4000_set_analog_params()
1289 priv->freq_hz = params->frequency * 62500; in xc4000_set_analog_params()
1441 xc_tune_channel(priv, priv->freq_hz); in xc4000_set_analog_params()
1520 *freq = priv->freq_hz + priv->freq_offset; in xc4000_get_frequency()