Lines Matching refs:freq_khz
49 static struct vco freq_to_vco(unsigned int freq_khz, int factor) in freq_to_vco() argument
54 freq_khz *= factor; in freq_to_vco()
57 f = freq_khz * cc_divisor[s2od[i]]; in freq_to_vco()
73 unsigned int integrator_validatespeed(unsigned int freq_khz) in integrator_validatespeed() argument
77 if (freq_khz < 12000) in integrator_validatespeed()
78 freq_khz = 12000; in integrator_validatespeed()
79 if (freq_khz > 160000) in integrator_validatespeed()
80 freq_khz = 160000; in integrator_validatespeed()
82 vco = freq_to_vco(freq_khz, 1); in integrator_validatespeed()
90 void integrator_setspeed(unsigned int freq_khz) in integrator_setspeed() argument
92 struct vco vco = freq_to_vco(freq_khz, 1); in integrator_setspeed()