Lines Matching full:freq
115 static int fc0013_set_vhf_track(struct fc0013_priv *priv, u32 freq) in fc0013_set_vhf_track() argument
124 if (freq <= 177500) { /* VHF Track: 7 */ in fc0013_set_vhf_track()
126 } else if (freq <= 184500) { /* VHF Track: 6 */ in fc0013_set_vhf_track()
128 } else if (freq <= 191500) { /* VHF Track: 5 */ in fc0013_set_vhf_track()
130 } else if (freq <= 198500) { /* VHF Track: 4 */ in fc0013_set_vhf_track()
132 } else if (freq <= 205500) { /* VHF Track: 3 */ in fc0013_set_vhf_track()
134 } else if (freq <= 219500) { /* VHF Track: 2 */ in fc0013_set_vhf_track()
136 } else if (freq < 300000) { /* VHF Track: 1 */ in fc0013_set_vhf_track()
150 u32 freq = p->frequency / 1000; in fc0013_set_params() local
159 FC_FE_CALLBACK_VHF_ENABLE, (freq > 300000 ? 0 : 1)); in fc0013_set_params()
181 ret = fc0013_set_vhf_track(priv, freq); in fc0013_set_params()
185 if (freq < 300000) { in fc0013_set_params()
201 } else if (freq <= 862000) { in fc0013_set_params()
236 if (freq < 37084) { /* freq * 96 < 3560000 */ in fc0013_set_params()
240 } else if (freq < 55625) { /* freq * 64 < 3560000 */ in fc0013_set_params()
244 } else if (freq < 74167) { /* freq * 48 < 3560000 */ in fc0013_set_params()
248 } else if (freq < 111250) { /* freq * 32 < 3560000 */ in fc0013_set_params()
252 } else if (freq < 148334) { /* freq * 24 < 3560000 */ in fc0013_set_params()
256 } else if (freq < 222500) { /* freq * 16 < 3560000 */ in fc0013_set_params()
260 } else if (freq < 296667) { /* freq * 12 < 3560000 */ in fc0013_set_params()
264 } else if (freq < 445000) { /* freq * 8 < 3560000 */ in fc0013_set_params()
268 } else if (freq < 593334) { /* freq * 6 < 3560000 */ in fc0013_set_params()
272 } else if (freq < 950000) { /* freq * 4 < 3800000 */ in fc0013_set_params()
282 f_vco = freq * multi; in fc0013_set_params()
289 if (freq >= 45000) { in fc0013_set_params()