Home
last modified time | relevance | path

Searched refs:derot_freq (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/media/dvb/frontends/
Dstb0899_algo.c211 short int derot_step, derot_freq = 0, derot_limit, next_loop = 3; in stb0899_search_tmg() local
223 derot_freq += index * internal->direction * derot_step; /* next derot zig zag position */ in stb0899_search_tmg()
225 if (abs(derot_freq) > derot_limit) in stb0899_search_tmg()
229 STB0899_SETFIELD_VAL(CFRM, cfr[0], MSB(state->config->inversion * derot_freq)); in stb0899_search_tmg()
230 STB0899_SETFIELD_VAL(CFRL, cfr[1], LSB(state->config->inversion * derot_freq)); in stb0899_search_tmg()
238 internal->derot_freq = state->config->inversion * MAKEWORD16(cfr[0], cfr[1]); in stb0899_search_tmg()
239 dprintk(state->verbose, FE_DEBUG, 1, "------->TIMING OK ! Derot Freq = %d", internal->derot_freq); in stb0899_search_tmg()
281 short int derot_freq = 0, last_derot_freq = 0, derot_limit, next_loop = 3; in stb0899_search_carrier() local
288 derot_freq = internal->derot_freq; in stb0899_search_carrier()
295 dprintk(state->verbose, FE_DEBUG, 1, "Derot Freq=%d, mclk=%d", derot_freq, internal->mclk); in stb0899_search_carrier()
[all …]
Dstv0299.c595 s32 derot_freq; in stv0299_get_frontend() local
598 derot_freq = (s32)(s16) ((stv0299_readreg (state, 0x22) << 8) in stv0299_get_frontend()
601 derot_freq *= (state->config->mclk >> 16); in stv0299_get_frontend()
602 derot_freq += 500; in stv0299_get_frontend()
603 derot_freq /= 1000; in stv0299_get_frontend()
605 p->frequency += derot_freq; in stv0299_get_frontend()
Dstb0899_priv.h176 s16 derot_freq; /* Current derotator frequency (Hz) */ member