Lines Matching refs:frequency
117 u32 frequency; member
261 unsigned *frequency, u8 *config, u8 *cb) in simple_config_lookup() argument
267 if (*frequency > t_params->ranges[i].limit) in simple_config_lookup()
273 *frequency, t_params->ranges[i - 1].limit); in simple_config_lookup()
274 *frequency = t_params->ranges[--i].limit; in simple_config_lookup()
280 *frequency / 16, *frequency % 16 * 100 / 16, *frequency, in simple_config_lookup()
583 i = simple_config_lookup(fe, t_params, ¶ms->frequency, in simple_set_tv_freq()
586 div = params->frequency + IFPCoff + offset; in simple_set_tv_freq()
589 params->frequency / 16, params->frequency % 16 * 100 / 16, in simple_set_tv_freq()
673 unsigned int freq = params->frequency; in simple_set_radio_freq()
782 priv->frequency = params->frequency * 125 / 2; in simple_set_params()
788 priv->frequency = params->frequency * 62500; in simple_set_params()
798 const u32 frequency, in simple_set_dvb() argument
807 frequency >= 158870000) in simple_set_dvb()
812 buf[3] |= (frequency < 161000000) ? 1 : in simple_set_dvb()
813 (frequency < 444000000) ? 2 : 4; in simple_set_dvb()
856 u32 frequency = freq / 62500; in simple_dvb_configure() local
867 ret = simple_config_lookup(fe, t_params, &frequency, &config, &cb); in simple_dvb_configure()
871 div = ((frequency + t_params->iffreq) * 62500 + offset + in simple_dvb_configure()
895 u32 frequency; in simple_dvb_calc_regs() local
900 frequency = simple_dvb_configure(fe, buf+1, delsys, c->frequency, bw); in simple_dvb_calc_regs()
901 if (frequency == 0) in simple_dvb_calc_regs()
906 priv->frequency = frequency; in simple_dvb_calc_regs()
917 u32 freq = c->frequency; in simple_dvb_set_params()
919 u32 frequency; in simple_dvb_set_params() local
927 prev_freq = priv->frequency; in simple_dvb_set_params()
930 frequency = simple_dvb_configure(fe, buf+1, delsys, freq, bw); in simple_dvb_set_params()
931 if (frequency == 0) in simple_dvb_set_params()
936 priv->frequency = frequency; in simple_dvb_set_params()
955 priv->frequency = prev_freq; in simple_dvb_set_params()
1021 static int simple_get_frequency(struct dvb_frontend *fe, u32 *frequency) in simple_get_frequency() argument
1024 *frequency = priv->frequency; in simple_get_frequency()