Lines Matching refs:mclk
873 sym /= (state->internal->mclk >> 12); in stv090x_set_srate()
876 sym /= (state->internal->mclk >> 10); in stv090x_set_srate()
879 sym /= (state->internal->mclk >> 7); in stv090x_set_srate()
900 sym /= (state->internal->mclk >> 12); in stv090x_set_max_srate()
903 sym /= (state->internal->mclk >> 10); in stv090x_set_max_srate()
906 sym /= (state->internal->mclk >> 7); in stv090x_set_max_srate()
934 sym /= (state->internal->mclk >> 12); in stv090x_set_min_srate()
937 sym /= (state->internal->mclk >> 10); in stv090x_set_min_srate()
940 sym /= (state->internal->mclk >> 7); in stv090x_set_min_srate()
1470 freq_abs /= (state->internal->mclk / 1000); in stv090x_start_search()
1480 freq_abs /= (state->internal->mclk / 1000); in stv090x_start_search()
1634 freq_step = (1000000 * 256) / (state->internal->mclk / 256); in stv090x_get_agc2_min_level()
1799 srate_coarse = stv090x_get_srate(state, state->internal->mclk); in stv090x_srate_srch_coarse()
1851 srate_coarse = stv090x_get_srate(state, state->internal->mclk); in stv090x_srate_srch_coarse()
1866 srate_coarse = stv090x_get_srate(state, state->internal->mclk); in stv090x_srate_srch_fine()
1903 sym /= (state->internal->mclk / 1000); in stv090x_srate_srch_fine()
1910 sym /= (state->internal->mclk / 1000); in stv090x_srate_srch_fine()
1916 sym /= (state->internal->mclk / 1000); in stv090x_srate_srch_fine()
1924 sym /= (state->internal->mclk / 100); in stv090x_srate_srch_fine()
1931 sym /= (state->internal->mclk / 100); in stv090x_srate_srch_fine()
1937 sym /= (state->internal->mclk / 100); in stv090x_srate_srch_fine()
2268 car_max /= (state->internal->mclk / 1000); in stv090x_get_loop_params()
2274 inc /= state->internal->mclk / 1000; in stv090x_get_loop_params()
2335 car_max /= state->internal->mclk / 1000; in stv090x_chk_signal()
2360 car_max /= (state->internal->mclk / 1000); in stv090x_search_car_loop()
2539 static s32 stv090x_get_car_freq(struct stv090x_state *state, u32 mclk) in stv090x_get_car_freq() argument
2548 int_1 = mclk >> 12; in stv090x_get_car_freq()
2552 tmp_1 = mclk % 0x1000; in stv090x_get_car_freq()
2634 offst_freq = stv090x_get_car_freq(state, state->internal->mclk) / 1000; in stv090x_get_sig_params()
2862 srate = stv090x_get_srate(state, state->internal->mclk); in stv090x_optimize_track()
3255 if (stv090x_set_max_srate(state, state->internal->mclk, in stv090x_algo()
3258 if (stv090x_set_min_srate(state, state->internal->mclk, in stv090x_algo()
4268 static int stv090x_set_mclk(struct stv090x_state *state, u32 mclk, u32 clk) in stv090x_set_mclk() argument
4276 div = ((clk_sel * mclk) / config->xtal) - 1; in stv090x_set_mclk()
4283 state->internal->mclk = stv090x_get_mclk(state); in stv090x_set_mclk()
4286 div = state->internal->mclk / 704000; in stv090x_set_mclk()
4490 speed = state->internal->mclk / in stv0900_set_tspath()
4499 speed = state->internal->mclk / in stv0900_set_tspath()
4522 speed = state->internal->mclk / in stv0900_set_tspath()
4531 speed = state->internal->mclk / in stv0900_set_tspath()
4645 speed = state->internal->mclk / in stv0903_set_tspath()
4654 speed = state->internal->mclk / in stv0903_set_tspath()
4690 if (state->internal->mclk == 0) { in stv090x_init()
4965 state->internal->mclk = 0; in stv090x_attach()