Lines Matching refs:freq
53 unsigned int freq; /* keep track of the current settings */ member
591 unsigned int freq, unsigned int norm) in mt2032_set_tv_freq() argument
607 mt2032_set_if_freq(c, freq*62500 /* freq*1000*1000/16 */, in mt2032_set_tv_freq()
613 static void set_tv_freq(struct i2c_client *c, unsigned int freq) in set_tv_freq() argument
627 mt2032_set_tv_freq(c,freq,t->mode); in set_tv_freq()
631 if (freq < tv_range[0]*16 || freq > tv_range[1]*16) { in set_tv_freq()
637 freq/16,freq%16*100/16,tv_range[0],tv_range[1]); in set_tv_freq()
642 if (freq < tun->thresh1) in set_tv_freq()
644 else if (freq < tun->thresh2) in set_tv_freq()
724 div=freq + tun->IFPCoff; in set_tv_freq()
725 if (t->type == TUNER_PHILIPS_SECAM && freq < t->freq) { in set_tv_freq()
744 static void mt2032_set_radio_freq(struct i2c_client *c, unsigned int freq) in mt2032_set_radio_freq() argument
750 mt2032_set_if_freq(c, freq*62500 /* freq*1000*1000/16 */, in mt2032_set_radio_freq()
754 static void set_radio_freq(struct i2c_client *c, unsigned int freq) in set_radio_freq() argument
762 if (freq < radio_range[0]*16 || freq > radio_range[1]*16) { in set_radio_freq()
764 freq/16,freq%16*100/16, in set_radio_freq()
774 mt2032_set_radio_freq(c,freq); in set_radio_freq()
779 div = freq + (int)(16*10.7); in set_radio_freq()
931 if (t->freq) in tuner_command()
932 set_tv_freq(client,t->freq); in tuner_command()
948 t->freq = *v; in tuner_command()