Lines Matching refs:snr
52 u32 snr; /* Result of last SNR calculation */
438 We re-write the snr equation as:
458 static int or51132_read_snr(struct dvb_frontend* fe, u16* snr)
501 state->snr = calculate_snr(noise, c) - usK;
502 *snr = (state->snr) >> 16;
504 dprintk("%s: noise = 0x%08x, snr = %d.%02d dB\n", __func__, noise,
505 state->snr >> 24, (((state->snr>>8) & 0xffff) * 100) >> 16);
516 u16 snr;
519 ret = fe->ops.read_snr(fe, &snr);
522 /* Rather than use the 8.8 value snr, use state->snr which is 8.24 */
524 if (state->snr >= 8960 * 0x10000)
527 *strength = state->snr / 8960;