Searched refs:snr_reading (Results 1 – 2 of 2) sorted by relevance
549 u8 snr_reading, snr_value; in ds3000_read_snr() local575 snr_reading = ds3000_readreg(state, 0xff); in ds3000_read_snr()576 snr_reading /= 8; in ds3000_read_snr()577 if (snr_reading == 0) in ds3000_read_snr()580 if (snr_reading > 20) in ds3000_read_snr()581 snr_reading = 20; in ds3000_read_snr()582 snr_value = dvbs_snr_tab[snr_reading - 1] * 10 / 23026; in ds3000_read_snr()588 snr_reading, *snr); in ds3000_read_snr()607 snr_reading = tmp / dvbs2_noise_reading; in ds3000_read_snr()608 if (snr_reading > 80) in ds3000_read_snr()[all …]
755 u8 snr_reading; in cx24116_read_snr_pct() local764 snr_reading = cx24116_readreg(state, CX24116_REG_QUALITY0); in cx24116_read_snr_pct()766 if (snr_reading >= 0xa0 /* 100% */) in cx24116_read_snr_pct()769 *snr = snr_tab[(snr_reading & 0xf0) >> 4] + in cx24116_read_snr_pct()770 (snr_tab[(snr_reading & 0x0f)] >> 4); in cx24116_read_snr_pct()773 snr_reading, *snr); in cx24116_read_snr_pct()