Lines Matching refs:mclk
56 max_carrier /= intp->mclk / 1000; in stv0900_check_signal_presence()
83 max_carrier /= intp->mclk / 1000; in stv0900_get_sw_loop_params()
89 freq_inc /= intp->mclk >> 10; in stv0900_get_sw_loop_params()
149 max_carrier /= intp->mclk / 1000; in stv0900_search_carr_sw_loop()
309 u32 mclk, in stv0900_get_symbol_rate() argument
324 intval1 = (mclk) >> 16; in stv0900_get_symbol_rate()
327 rem1 = (mclk) % 0x10000; in stv0900_get_symbol_rate()
337 u32 mclk, u32 srate, in stv0900_set_symbol_rate() argument
342 dprintk("%s: Mclk %d, SR %d, Dmd %d\n", __func__, mclk, in stv0900_set_symbol_rate()
347 symb /= (mclk >> 12); in stv0900_set_symbol_rate()
350 symb /= (mclk >> 10); in stv0900_set_symbol_rate()
353 symb /= (mclk >> 7); in stv0900_set_symbol_rate()
361 u32 mclk, u32 srate, in stv0900_set_max_symbol_rate() argument
370 symb /= (mclk >> 12); in stv0900_set_max_symbol_rate()
373 symb /= (mclk >> 10); in stv0900_set_max_symbol_rate()
376 symb /= (mclk >> 7); in stv0900_set_max_symbol_rate()
389 u32 mclk, u32 srate, in stv0900_set_min_symbol_rate() argument
397 symb /= (mclk >> 12); in stv0900_set_min_symbol_rate()
401 symb /= (mclk >> 10); in stv0900_set_min_symbol_rate()
405 symb /= (mclk >> 7); in stv0900_set_min_symbol_rate()
622 freq = (tuner_freq * 65536) / (intp->mclk / 1000); in stv0900_get_demod_cold_lock()
842 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_track_optimization()
947 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_track_optimization()
1139 static s32 stv0900_get_carr_freq(struct stv0900_internal *intp, u32 mclk, in stv0900_get_carr_freq() argument
1153 intval1 = mclk >> 12; in stv0900_get_carr_freq()
1155 rem1 = mclk % 0x1000; in stv0900_get_carr_freq()
1218 offsetFreq = stv0900_get_carr_freq(intp, intp->mclk, d) / 1000; in stv0900_get_signal_params()
1220 result->symbol_rate = stv0900_get_symbol_rate(intp, intp->mclk, d); in stv0900_get_signal_params()
1294 srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_dvbs1_acq_workaround()
1297 stv0900_set_symbol_rate(intp, intp->mclk, srate, demod); in stv0900_dvbs1_acq_workaround()
1357 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_blind_check_agc2_min_level()
1367 freq_step = (1000000 << 8) / (intp->mclk >> 8); in stv0900_blind_check_agc2_min_level()
1484 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1515 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_coarse()
1532 coarse_srate = stv0900_get_symbol_rate(intp, intp->mclk, demod); in stv0900_search_srate_fine()
1537 symbmax /= (intp->mclk / 1000); in stv0900_search_srate_fine()
1541 symbmin /= (intp->mclk / 1000); in stv0900_search_srate_fine()
1544 symb /= (intp->mclk / 1000); in stv0900_search_srate_fine()
1548 symbmax /= (intp->mclk / 100); in stv0900_search_srate_fine()
1552 symbmin /= (intp->mclk / 100); in stv0900_search_srate_fine()
1555 symb /= (intp->mclk / 100); in stv0900_search_srate_fine()
1857 stv0900_set_symbol_rate(intp, intp->mclk, 1000000, demod); in stv0900_algo()
1891 stv0900_set_symbol_rate(intp, intp->mclk, in stv0900_algo()
1893 stv0900_set_max_symbol_rate(intp, intp->mclk, in stv0900_algo()
1895 stv0900_set_min_symbol_rate(intp, intp->mclk, in stv0900_algo()