Home
last modified time | relevance | path

Searched refs:snr_reading (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/dvb-frontends/
H A Dds3000.c537 u8 snr_reading, snr_value; in ds3000_read_snr() local
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()
576 snr_reading, *snr); in ds3000_read_snr()
596 if (snr_reading > 80) in ds3000_read_snr()
597 snr_reading = 80; in ds3000_read_snr()
604 if (snr_reading > 80) in ds3000_read_snr()
605 snr_reading = 80; in ds3000_read_snr()
[all …]
H A Dcx24116.c743 u8 snr_reading; in cx24116_read_snr_pct() local
757 snr_reading = ret; in cx24116_read_snr_pct()
759 if (snr_reading >= 0xa0 /* 100% */) in cx24116_read_snr_pct()
762 *snr = snr_tab[(snr_reading & 0xf0) >> 4] + in cx24116_read_snr_pct()
763 (snr_tab[(snr_reading & 0x0f)] >> 4); in cx24116_read_snr_pct()
766 snr_reading, *snr); in cx24116_read_snr_pct()