Lines Matching refs:snr_reading
537 u8 snr_reading, snr_value; in ds3000_read_snr() local
563 snr_reading = ds3000_readreg(state, 0xff); in ds3000_read_snr()
564 snr_reading /= 8; in ds3000_read_snr()
565 if (snr_reading == 0) in ds3000_read_snr()
568 if (snr_reading > 20) in ds3000_read_snr()
569 snr_reading = 20; in ds3000_read_snr()
570 snr_value = dvbs_snr_tab[snr_reading - 1] * 10 / 23026; in ds3000_read_snr()
576 snr_reading, *snr); in ds3000_read_snr()
595 snr_reading = tmp / dvbs2_noise_reading; in ds3000_read_snr()
596 if (snr_reading > 80) in ds3000_read_snr()
597 snr_reading = 80; in ds3000_read_snr()
598 snr_value = dvbs2_snr_tab[snr_reading - 1] / 1000; in ds3000_read_snr()
603 snr_reading = dvbs2_noise_reading / tmp; in ds3000_read_snr()
604 if (snr_reading > 80) in ds3000_read_snr()
605 snr_reading = 80; in ds3000_read_snr()
606 *snr = -(dvbs2_snr_tab[snr_reading - 1] / 1000); in ds3000_read_snr()
609 snr_reading, *snr); in ds3000_read_snr()