summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/stv090x_reg.h
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2009-05-03 01:26:58 +0400
committerManu Abraham <manu@linuxtv.org>2009-05-03 01:26:58 +0400
commit3d2b4c935e8804f2ed232614079f41ab6360aad2 (patch)
tree0ea5e89aed42983c0449824593625d133a8c5707 /linux/drivers/media/dvb/frontends/stv090x_reg.h
parent072a6b98300f11462d16d85cbf83239a6957cd91 (diff)
downloadmediapointer-dvb-s2-3d2b4c935e8804f2ed232614079f41ab6360aad2.tar.gz
mediapointer-dvb-s2-3d2b4c935e8804f2ed232614079f41ab6360aad2.tar.bz2
STV0900/STV0903: 1. Support Silicon Cut >= 3.0
2. Remove support for obsolete cuts: 1.0. 1.1. 1.2 3. Try to catch more error cases Driver doesn't now attach to obsolete silcon cuts, It just simply quits. Results in code simplification, with removal of the obsolete cuts. From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/stv090x_reg.h')
-rw-r--r--linux/drivers/media/dvb/frontends/stv090x_reg.h72
1 files changed, 63 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv090x_reg.h b/linux/drivers/media/dvb/frontends/stv090x_reg.h
index 55737074e..57b6abbbd 100644
--- a/linux/drivers/media/dvb/frontends/stv090x_reg.h
+++ b/linux/drivers/media/dvb/frontends/stv090x_reg.h
@@ -793,10 +793,16 @@
#define STV090x_Px_DEMOD(__x) (0xF410 - (__x - 1) * 0x200)
#define STV090x_P1_DEMOD STV090x_Px_DEMOD(1)
#define STV090x_P2_DEMOD STV090x_Px_DEMOD(2)
+#define STV090x_OFFST_Px_MANUAL_S2ROLLOFF_FIELD 7
+#define STV090x_WIDTH_Px_MANUAL_S2ROLLOFF_FIELD 1
+#define STV090x_OFFST_Px_DEMOD_STOP_FIELD 6
+#define STV090x_WIDTH_Px_DEMOD_STOP_FIELD 1
#define STV090x_OFFST_Px_SPECINV_CONTROL_FIELD 4
#define STV090x_WIDTH_Px_SPECINV_CONTROL_FIELD 2
-#define STV090x_OFFST_Px_MANUAL_ROLLOFF_FIELD 2
-#define STV090x_WIDTH_Px_MANUAL_ROLLOFF_FIELD 1
+#define STV090x_OFFST_Px_FORCE_ENASAMP_FIELD 3
+#define STV090x_WIDTH_Px_FORCE_ENASAMP_FIELD 1
+#define STV090x_OFFST_Px_MANUAL_SXROLLOFF_FIELD 2
+#define STV090x_WIDTH_Px_MANUAL_SXROLLOFF_FIELD 1
#define STV090x_OFFST_Px_ROLLOFF_CONTROL_FIELD 0
#define STV090x_WIDTH_Px_ROLLOFF_CONTROL_FIELD 2
@@ -1566,6 +1572,42 @@
#define STV090x_OFFST_Px_DIS_QP_1_4_FIELD 4
#define STV090x_WIDTH_Px_DIS_QP_1_4_FIELD 4
+#define STV090x_Px_GAUSSR0(__x) (0xf4c0 - (__x - 1) * 0x200)
+#define STV090x_P1_GAUSSR0 STV090x_Px_GAUSSR0(1)
+#define STV090x_P2_GAUSSR0 STV090x_Px_GAUSSR0(2)
+#define STV090x_OFFST_Px_EN_CCIMODE_FIELD 7
+#define STV090x_WIDTH_Px_EN_CCIMODE_FIELD 1
+#define STV090x_OFFST_Px_R0_GAUSSIEN_FIELD 0
+#define STV090x_WIDTH_Px_R0_GAUSSIEN_FIELD 7
+
+#define STV090x_Px_CCIR0(__x) (0xf4c1 - (__x - 1) * 0x200)
+#define STV090x_P1_CCIR0 STV090x_Px_CCIR0(1)
+#define STV090x_P2_CCIR0 STV090x_Px_CCIR0(2)
+#define STV090x_OFFST_Px_CCIDETECT_PLH_FIELD 7
+#define STV090x_WIDTH_Px_CCIDETECT_PLH_FIELD 1
+#define STV090x_OFFST_Px_R0_CCI_FIELD 0
+#define STV090x_WIDTH_Px_R0_CCI_FIELD 7
+
+#define STV090x_Px_CCIQUANT(__x) (0xf4c2 - (__x - 1) * 0x200)
+#define STV090x_P1_CCIQUANT STV090x_Px_CCIQUANT(1)
+#define STV090x_P2_CCIQUANT STV090x_Px_CCIQUANT(2)
+#define STV090x_OFFST_Px_CCI_BETA_FIELD 5
+#define STV090x_WIDTH_Px_CCI_BETA_FIELD 3
+#define STV090x_OFFST_Px_CCI_QUANT_FIELD 0
+#define STV090x_WIDTH_Px_CCI_QUANT_FIELD 5
+
+#define STV090x_Px_CCITHRESH(__x) (0xf4c3 - (__x - 1) * 0x200)
+#define STV090x_P1_CCITHRESH STV090x_Px_CCITHRESH(1)
+#define STV090x_P2_CCITHRESH STV090x_Px_CCITHRESH(2)
+#define STV090x_OFFST_Px_CCI_THRESHOLD_FIELD 0
+#define STV090x_WIDTH_Px_CCI_THRESHOLD_FIELD 8
+
+#define STV090x_Px_CCIACC(__x) (0xf4c4 - (__x - 1) * 0x200)
+#define STV090x_P1_CCIACC STV090x_Px_CCIACC(1)
+#define STV090x_P2_CCIACC STV090x_Px_CCIACC(1)
+#define STV090x_OFFST_Px_CCI_VALUE_FIELD 0
+#define STV090x_WIDTH_Px_CCI_VALUE_FIELD 8
+
#define STV090x_Px_DMDRESCFG(__x) (0xF4C6 - (__x - 1) * 0x200)
#define STV090x_P1_DMDRESCFG STV090x_Px_DMDRESCFG(1)
#define STV090x_P2_DMDRESCFG STV090x_Px_DMDRESCFG(2)
@@ -1847,16 +1889,28 @@
#define STV090x_Px_PDELCTRL2(__x) (0xf551 - (__x - 1) * 0x200)
#define STV090x_P1_PDELCTRL2 STV090x_Px_PDELCTRL2(1)
#define STV090x_P2_PDELCTRL2 STV090x_Px_PDELCTRL2(2)
+#define STV090x_OFFST_Px_FORCE_CONTINUOUS 7
+#define STV090x_WIDTH_Px_FORCE_CONTINUOUS 1
+#define STV090x_OFFST_Px_RESET_UPKO_COUNT 6
+#define STV090x_WIDTH_Px_RESET_UPKO_COUNT 1
+#define STV090x_OFFST_Px_USER_PKTDELIN_NB 5
+#define STV090x_WIDTH_Px_USER_PKTDELIN_NB 1
+#define STV090x_OFFST_Px_FORCE_LOCKED 4
+#define STV090x_WIDTH_Px_FORCE_LOCKED 1
+#define STV090x_OFFST_Px_DATA_UNBBSCRAM 3
+#define STV090x_WIDTH_Px_DATA_UNBBSCRAM 1
+#define STV090x_OFFST_Px_FORCE_LONGPACKET 2
+#define STV090x_WIDTH_Px_FORCE_LONGPACKET 1
#define STV090x_OFFST_Px_FRAME_MODE_FIELD 1
#define STV090x_WIDTH_Px_FRAME_MODE_FIELD 1
-#define STV090x_Px_HYSTTHRESH(__x) (0xf554 - (__x - 1) * 0x200)
-#define STV090x_P1_HYSTTHRESH STV090x_Px_HYSTTHRESH(1)
-#define STV090x_P2_HYSTTHRESH STV090x_Px_HYSTTHRESH(2)
-#define STV090x_OFFST_Px_UNLCK_THRESH_FIELD 4
-#define STV090x_WIDTH_Px_UNLCK_THRESH_FIELD 4
-#define STV090x_OFFST_Px_DELIN_LCK_THRESH_FIELD 0
-#define STV090x_WIDTH_Px_DELIN_LCK_THRESH_FIELD 4
+#define STV090x_Px_HYSTTHRESH(__x) (0xf554 - (__x - 1) * 0x200)
+#define STV090x_P1_HYSTTHRESH STV090x_Px_HYSTTHRESH(1)
+#define STV090x_P2_HYSTTHRESH STV090x_Px_HYSTTHRESH(2)
+#define STV090x_OFFST_Px_UNLCK_THRESH_FIELD 4
+#define STV090x_WIDTH_Px_UNLCK_THRESH_FIELD 4
+#define STV090x_OFFST_Px_DELIN_LCK_THRESH_FIELD 0
+#define STV090x_WIDTH_Px_DELIN_LCK_THRESH_FIELD 4
#define STV090x_Px_ISIENTRY(__x) (0xf55e - (__x - 1) * 0x200)
#define STV090x_P1_ISIENTRY STV090x_Px_ISIENTRY(1)