Lines Matching refs:freq_mhz
70 u32 freq_mhz; in stb6000_set_params() local
82 freq_mhz = p->frequency / 1000; in stb6000_set_params()
88 if ((freq_mhz > 949) && (freq_mhz < 2151)) { in stb6000_set_params()
91 if (freq_mhz < 1950) in stb6000_set_params()
93 if (freq_mhz < 1800) in stb6000_set_params()
95 if (freq_mhz < 1650) in stb6000_set_params()
97 if (freq_mhz < 1530) in stb6000_set_params()
99 if (freq_mhz < 1470) in stb6000_set_params()
101 if (freq_mhz < 1370) in stb6000_set_params()
103 if (freq_mhz < 1300) in stb6000_set_params()
105 if (freq_mhz < 1200) in stb6000_set_params()
107 if (freq_mhz < 1075) in stb6000_set_params()
109 if (freq_mhz < 1000) in stb6000_set_params()
111 if (freq_mhz < 1075) { in stb6000_set_params()
112 n = freq_mhz / 8; /* vco=lo*4 */ in stb6000_set_params()
115 n = freq_mhz / 16; /* vco=lo*2 */ in stb6000_set_params()
120 (m * freq_mhz - n * 16) | 0x60); in stb6000_set_params()
161 priv->frequency = freq_mhz * 1000; in stb6000_set_params()