Lines Matching refs:snr
398 u16 *snr) in mxl111sf_demod_calc_snr() argument
403 *snr = 0; in mxl111sf_demod_calc_snr()
412 *snr = CALCULATE_SNR(val1 | ((val2 & 0x03) << 8)); in mxl111sf_demod_calc_snr()
417 static int mxl111sf_demod_read_snr(struct dvb_frontend *fe, u16 *snr) in mxl111sf_demod_read_snr() argument
421 int ret = mxl111sf_demod_calc_snr(state, snr); in mxl111sf_demod_read_snr()
425 *snr /= 10; /* 0.1 dB */ in mxl111sf_demod_read_snr()
472 u16 snr; in mxl111sf_demod_read_signal_strength() local
474 ret = mxl111sf_demod_calc_snr(state, &snr); in mxl111sf_demod_read_signal_strength()
483 *signal_strength = (snr >= 1300) ? in mxl111sf_demod_read_signal_strength()
484 min(65535, snr * 44) : snr * 38; in mxl111sf_demod_read_signal_strength()
487 *signal_strength = (snr >= 1500) ? in mxl111sf_demod_read_signal_strength()
488 min(65535, snr * 38) : snr * 33; in mxl111sf_demod_read_signal_strength()
491 *signal_strength = (snr >= 2000) ? in mxl111sf_demod_read_signal_strength()
492 min(65535, snr * 29) : snr * 25; in mxl111sf_demod_read_signal_strength()