V4L/DVB (6193): cx23885: define Video B Interrupt Status register bit values
authorMichael Krufky <mkrufky@linuxtv.org>
Sat, 8 Sep 2007 14:25:37 +0000 (11:25 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:14:28 +0000 (22:14 -0300)
- define missing register bit values for VID_B
- corrected VID/VBI_B_GPCNT_CTL register addresses

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx23885/cx23885-reg.h

index 63ab0fb..3f1afbe 100644 (file)
@@ -237,6 +237,13 @@ Channel manager Data Structure entry = 20 DWORD
 #define VID_B_INT_MSTAT        0x00040038
 #define VID_B_INT_SSTAT        0x0004003C
 
+#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)
 #define VID_C_MSK_SYNC    (1 << 12)
@@ -344,8 +351,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