summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885/cx23885-reg.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-09-12 15:20:14 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-09-12 15:20:14 -0300
commit501a54f0edea703168f8fb7d5e27e915087906e6 (patch)
treebbbe1072fcfd0aaa02d66c9b91a0cab076a37b69 /linux/drivers/media/video/cx23885/cx23885-reg.h
parent995f38acadb5dae1fb1b2769714d5e45aeb9db5c (diff)
parentd97a5c24bb8f480281d7bedce89525dab393b142 (diff)
downloadmediapointer-dvb-s2-501a54f0edea703168f8fb7d5e27e915087906e6.tar.gz
mediapointer-dvb-s2-501a54f0edea703168f8fb7d5e27e915087906e6.tar.bz2
merge: http://linuxtv.org/hg/~mcisely/pvrusb2
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/cx23885/cx23885-reg.h')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-reg.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-reg.h b/linux/drivers/media/video/cx23885/cx23885-reg.h
index 63ab0fb26..162169f90 100644
--- a/linux/drivers/media/video/cx23885/cx23885-reg.h
+++ b/linux/drivers/media/video/cx23885/cx23885-reg.h
@@ -237,13 +237,12 @@ Channel manager Data Structure entry = 20 DWORD
#define VID_B_INT_MSTAT 0x00040038
#define VID_B_INT_SSTAT 0x0004003C
-#define VID_C_MSK_BAD_PKT (1 << 20)
-#define VID_C_MSK_OPC_ERR (1 << 16)
-#define VID_C_MSK_SYNC (1 << 12)
-#define VID_C_MSK_OF (1 << 8)
-#define VID_C_MSK_RISCI2 (1 << 4)
-#define VID_C_MSK_RISCI1 1
-#define VID_C_INT_MSK 0x00040040
+#define VID_B_MSK_BAD_PKT (1 << 20)
+#define VID_B_MSK_OPC_ERR (1 << 16)
+#define VID_B_MSK_SYNC (1 << 12)
+#define VID_B_MSK_OF (1 << 8)
+#define VID_B_MSK_RISCI2 (1 << 4)
+#define VID_B_MSK_RISCI1 1
#define VID_C_MSK_BAD_PKT (1 << 20)
#define VID_C_MSK_OPC_ERR (1 << 16)
@@ -251,6 +250,16 @@ Channel manager Data Structure entry = 20 DWORD
#define VID_C_MSK_OF (1 << 8)
#define VID_C_MSK_RISCI2 (1 << 4)
#define VID_C_MSK_RISCI1 1
+
+/* A superset for testing purposes */
+#define VID_BC_MSK_BAD_PKT (1 << 20)
+#define VID_BC_MSK_OPC_ERR (1 << 16)
+#define VID_BC_MSK_SYNC (1 << 12)
+#define VID_BC_MSK_OF (1 << 8)
+#define VID_BC_MSK_RISCI2 (1 << 4)
+#define VID_BC_MSK_RISCI1 1
+
+#define VID_C_INT_MSK 0x00040040
#define VID_C_INT_STAT 0x00040044
#define VID_C_INT_MSTAT 0x00040048
#define VID_C_INT_SSTAT 0x0004004C
@@ -344,8 +353,8 @@ Channel manager Data Structure entry = 20 DWORD
#define VBI_B_DMA 0x00130108
#define VID_B_GPCNT 0x00130120
#define VBI_B_GPCNT 0x00130124
-#define VID_B_GPCNT_CTL 0x00130130
-#define VBI_B_GPCNT_CTL 0x00130134
+#define VID_B_GPCNT_CTL 0x00130134
+#define VBI_B_GPCNT_CTL 0x00130138
#define VID_B_DMA_CTL 0x00130140
#define VID_B_SRC_SEL 0x00130144
#define VID_B_LNGTH 0x00130150