Lines Matching refs:offst_freq
2335 s32 cpt_step = 0, offst_freq, car_max; in stv090x_search_car_loop() local
2346 offst_freq = 0; in stv090x_search_car_loop()
2348 offst_freq = -car_max + inc; in stv090x_search_car_loop()
2353 if (STV090x_WRITE_DEMOD(state, CFRINIT1, ((offst_freq / 256) & 0xff)) < 0) in stv090x_search_car_loop()
2355 if (STV090x_WRITE_DEMOD(state, CFRINIT0, offst_freq & 0xff) < 0) in stv090x_search_car_loop()
2366 if (offst_freq >= 0) in stv090x_search_car_loop()
2367 offst_freq = -offst_freq - 2 * inc; in stv090x_search_car_loop()
2369 offst_freq = -offst_freq; in stv090x_search_car_loop()
2371 offst_freq += 2 * inc; in stv090x_search_car_loop()
2381 ((offst_freq - inc) < car_max) && in stv090x_search_car_loop()
2382 ((offst_freq + inc) > -car_max) && in stv090x_search_car_loop()
2589 s32 i = 0, offst_freq; in stv090x_get_sig_params() local
2615 offst_freq = stv090x_get_car_freq(state, state->internal->mclk) / 1000; in stv090x_get_sig_params()
2616 state->frequency += offst_freq; in stv090x_get_sig_params()
2643 if (abs(offst_freq) <= ((state->search_range / 2000) + 500)) in stv090x_get_sig_params()
2645 else if (abs(offst_freq) <= (stv090x_car_width(state->srate, state->rolloff) / 2000)) in stv090x_get_sig_params()
2648 if (abs(offst_freq) <= ((state->search_range / 2000) + 500)) in stv090x_get_sig_params()