Lines Matching refs:snr
69 u32 snr; /* Result of last SNR calculation */
448 We re-write the snr equation as:
468 static int or51132_read_snr(struct dvb_frontend* fe, u16* snr)
511 state->snr = calculate_snr(noise, c) - usK;
512 *snr = (state->snr) >> 16;
514 dprintk("%s: noise = 0x%08x, snr = %d.%02d dB\n", __FUNCTION__, noise,
515 state->snr >> 24, (((state->snr>>8) & 0xffff) * 100) >> 16);
526 u16 snr;
529 ret = fe->ops.read_snr(fe, &snr);
532 /* Rather than use the 8.8 value snr, use state->snr which is 8.24 */
534 if (state->snr >= 8960 * 0x10000)
537 *strength = state->snr / 8960;