Lines Matching refs:snr
1235 static int lg2160_read_snr(struct dvb_frontend *fe, u16 *snr) in lg2160_read_snr() argument
1241 *snr = 0; in lg2160_read_snr()
1252 *snr = 0; in lg2160_read_snr()
1255 *snr = ((snr1 >> 4) * 100) + ((snr1 & 0x0f) * 10) + (snr2 >> 4); in lg2160_read_snr()
1257 *snr = (snr2 | (snr1 << 8)); in lg2160_read_snr()
1263 static int lg2161_read_snr(struct dvb_frontend *fe, u16 *snr) in lg2161_read_snr() argument
1269 *snr = 0; in lg2161_read_snr()
1280 *snr = 0; in lg2161_read_snr()
1283 *snr = ((snr1 >> 4) * 100) + ((snr1 & 0x0f) * 10) + (snr2 & 0x0f); in lg2161_read_snr()
1300 u16 snr; in lg216x_read_signal_strength()
1305 ret = fe->ops.read_snr(fe, &snr); in lg216x_read_signal_strength()
1310 if (state->snr >= 8960 * 0x10000) in lg216x_read_signal_strength()
1313 *strength = state->snr / 8960; in lg216x_read_signal_strength()