Lines Matching full:freq
179 static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq) in fc0013_set_vhf_track() argument
188 if (freq <= 177500) { /* VHF Track: 7 */ in fc0013_set_vhf_track()
190 } else if (freq <= 184500) { /* VHF Track: 6 */ in fc0013_set_vhf_track()
192 } else if (freq <= 191500) { /* VHF Track: 5 */ in fc0013_set_vhf_track()
194 } else if (freq <= 198500) { /* VHF Track: 4 */ in fc0013_set_vhf_track()
196 } else if (freq <= 205500) { /* VHF Track: 3 */ in fc0013_set_vhf_track()
198 } else if (freq <= 219500) { /* VHF Track: 2 */ in fc0013_set_vhf_track()
200 } else if (freq < 300000) { /* VHF Track: 1 */ in fc0013_set_vhf_track()
214 u32 freq = p->frequency / 1000; in fc0013_set_params() local
223 FC_FE_CALLBACK_VHF_ENABLE, (freq > 300000 ? 0 : 1)); in fc0013_set_params()
245 ret = fc0013_set_vhf_track(priv, freq); in fc0013_set_params()
249 if (freq < 300000) { in fc0013_set_params()
265 } else if (freq <= 862000) { in fc0013_set_params()
300 if (freq < 37084) { /* freq * 96 < 3560000 */ in fc0013_set_params()
304 } else if (freq < 55625) { /* freq * 64 < 3560000 */ in fc0013_set_params()
308 } else if (freq < 74167) { /* freq * 48 < 3560000 */ in fc0013_set_params()
312 } else if (freq < 111250) { /* freq * 32 < 3560000 */ in fc0013_set_params()
316 } else if (freq < 148334) { /* freq * 24 < 3560000 */ in fc0013_set_params()
320 } else if (freq < 222500) { /* freq * 16 < 3560000 */ in fc0013_set_params()
324 } else if (freq < 296667) { /* freq * 12 < 3560000 */ in fc0013_set_params()
328 } else if (freq < 445000) { /* freq * 8 < 3560000 */ in fc0013_set_params()
332 } else if (freq < 593334) { /* freq * 6 < 3560000 */ in fc0013_set_params()
336 } else if (freq < 950000) { /* freq * 4 < 3800000 */ in fc0013_set_params()
346 f_vco = freq * multi; in fc0013_set_params()
353 if (freq >= 45000) { in fc0013_set_params()