Searched refs:snr_reading (Results 1 – 2 of 2) sorted by relevance
537 u8 snr_reading, snr_value; in ds3000_read_snr() local563 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()[all …]
743 u8 snr_reading; in cx24116_read_snr_pct() local752 snr_reading = cx24116_readreg(state, CX24116_REG_QUALITY0); in cx24116_read_snr_pct()754 if (snr_reading >= 0xa0 /* 100% */) in cx24116_read_snr_pct()757 *snr = snr_tab[(snr_reading & 0xf0) >> 4] + in cx24116_read_snr_pct()758 (snr_tab[(snr_reading & 0x0f)] >> 4); in cx24116_read_snr_pct()761 snr_reading, *snr); in cx24116_read_snr_pct()