Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/media/dvb-frontends/
Dstb0899_algo.c212 short int derot_step, derot_freq = 0, derot_limit, next_loop = 3; in stb0899_search_tmg() local
224 derot_freq += index * internal->direction * derot_step; /* next derot zig zag position */ in stb0899_search_tmg()
226 if (abs(derot_freq) > derot_limit) in stb0899_search_tmg()
230 STB0899_SETFIELD_VAL(CFRM, cfr[0], MSB(internal->inversion * derot_freq)); in stb0899_search_tmg()
231 STB0899_SETFIELD_VAL(CFRL, cfr[1], LSB(internal->inversion * derot_freq)); in stb0899_search_tmg()
239 internal->derot_freq = internal->inversion * MAKEWORD16(cfr[0], cfr[1]); in stb0899_search_tmg()
240 dprintk(state->verbose, FE_DEBUG, 1, "------->TIMING OK ! Derot Freq = %d", internal->derot_freq); in stb0899_search_tmg()
282 short int derot_freq = 0, last_derot_freq = 0, derot_limit, next_loop = 3; in stb0899_search_carrier() local
289 derot_freq = internal->derot_freq; in stb0899_search_carrier()
296 dprintk(state->verbose, FE_DEBUG, 1, "Derot Freq=%d, mclk=%d", derot_freq, internal->mclk); in stb0899_search_carrier()
[all …]
Dstv0299.c609 s32 derot_freq; in stv0299_get_frontend() local
612 derot_freq = (s32)(s16) ((stv0299_readreg (state, 0x22) << 8) in stv0299_get_frontend()
615 derot_freq *= (state->config->mclk >> 16); in stv0299_get_frontend()
616 derot_freq += 500; in stv0299_get_frontend()
617 derot_freq /= 1000; in stv0299_get_frontend()
619 p->frequency += derot_freq; in stv0299_get_frontend()
Dstb0899_priv.h176 s16 derot_freq; /* Current derotator frequency (Hz) */ member