Searched refs:offst_tmg (Results 1 – 1 of 1) sorted by relevance
2675 s32 offst_tmg; in stv090x_get_tmgoffst() local2677 offst_tmg = STV090x_READ_DEMOD(state, TMGREG2) << 16; in stv090x_get_tmgoffst()2678 offst_tmg |= STV090x_READ_DEMOD(state, TMGREG1) << 8; in stv090x_get_tmgoffst()2679 offst_tmg |= STV090x_READ_DEMOD(state, TMGREG0); in stv090x_get_tmgoffst()2681 offst_tmg = comp2(offst_tmg, 24); /* 2's complement */ in stv090x_get_tmgoffst()2682 if (!offst_tmg) in stv090x_get_tmgoffst()2683 offst_tmg = 1; in stv090x_get_tmgoffst()2685 offst_tmg = ((s32) srate * 10) / ((s32) 0x1000000 / offst_tmg); in stv090x_get_tmgoffst()2686 offst_tmg /= 320; in stv090x_get_tmgoffst()2688 return offst_tmg; in stv090x_get_tmgoffst()