Lines Matching refs:offst_tmg
2663 s32 offst_tmg;
2665 offst_tmg = STV090x_READ_DEMOD(state, TMGREG2) << 16;
2666 offst_tmg |= STV090x_READ_DEMOD(state, TMGREG1) << 8;
2667 offst_tmg |= STV090x_READ_DEMOD(state, TMGREG0);
2669 offst_tmg = comp2(offst_tmg, 24); /* 2's complement */
2670 if (!offst_tmg)
2671 offst_tmg = 1;
2673 offst_tmg = ((s32) srate * 10) / ((s32) 0x1000000 / offst_tmg);
2674 offst_tmg /= 320;
2676 return offst_tmg;