Lines Matching refs:snr
57 u32 snr; /* Result of last SNR calculation */ member
526 state->snr = 0; in lgdt3302_read_snr()
531 state->snr = calculate_snr(noise, c); in lgdt3302_read_snr()
534 state->snr >> 24, (((state->snr >> 8) & 0xffff) * 100) >> 16); in lgdt3302_read_snr()
572 state->snr = 0; in lgdt3303_read_snr()
576 state->snr = calculate_snr(noise, c); in lgdt3303_read_snr()
579 state->snr >> 24, (((state->snr >> 8) & 0xffff) * 100) >> 16); in lgdt3303_read_snr()
584 static int lgdt330x_read_snr(struct dvb_frontend *fe, u16 *snr) in lgdt330x_read_snr() argument
588 *snr = (state->snr) >> 16; /* Convert from 8.24 fixed-point to 8.8 */ in lgdt330x_read_snr()
601 u16 snr; in lgdt330x_read_signal_strength() local
604 ret = fe->ops.read_snr(fe, &snr); in lgdt330x_read_signal_strength()
609 if (state->snr >= 8960 * 0x10000) in lgdt330x_read_signal_strength()
612 *strength = state->snr / 8960; in lgdt330x_read_signal_strength()
695 p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; in lgdt3302_read_status()
801 p->cnr.stat[0].svalue = (((u64)state->snr) * 1000) >> 24; in lgdt3303_read_status()