summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/si2165_priv.h
diff options
context:
space:
mode:
authorMatthias Schwarzott2017-11-05 15:25:02 +0100
committerMauro Carvalho Chehab2017-12-12 11:52:57 +0100
commit1e5fde1bc224267ea2c58f9ff8db19c2f67efebf (patch)
tree4e3cba1abce0b7e399f5d9a8702599cb6e78dbff /drivers/media/dvb-frontends/si2165_priv.h
parentmedia: si2165: Use constellation from property cache instead of hardcoded QAM256 (diff)
downloadkernel-qcow2-linux-1e5fde1bc224267ea2c58f9ff8db19c2f67efebf.tar.gz
kernel-qcow2-linux-1e5fde1bc224267ea2c58f9ff8db19c2f67efebf.tar.xz
kernel-qcow2-linux-1e5fde1bc224267ea2c58f9ff8db19c2f67efebf.zip
media: si2165: improve read_status
Use check_signal register for DVB-T additionally. For DVB-C use ps_lock additionally. Signed-off-by: Matthias Schwarzott <zzam@gentoo.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2165_priv.h')
-rw-r--r--drivers/media/dvb-frontends/si2165_priv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2165_priv.h b/drivers/media/dvb-frontends/si2165_priv.h
index da8bbda8a4e3..47f18ff69fe5 100644
--- a/drivers/media/dvb-frontends/si2165_priv.h
+++ b/drivers/media/dvb-frontends/si2165_priv.h
@@ -93,6 +93,8 @@ struct si2165_config {
#define REG_GP_REG0_LSB 0x0384
#define REG_GP_REG0_MSB 0x0387
#define REG_CRC 0x037a
+#define REG_CHECK_SIGNAL 0x03a8
+#define REG_PS_LOCK 0x0440
#define REG_BER_PKT 0x0470
#define REG_FEC_LOCK 0x04e0
#define REG_TS_DATA_MODE 0x04e4