summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx88/cx88-reg.h
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-08-18 02:57:55 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-08-18 02:57:55 -0700
commit17436676851595daf49b90f156dc96e5748cb8ce (patch)
treeadb6096b5314abf034b529684d0784d50f51250e /linux/drivers/media/video/cx88/cx88-reg.h
parent8fd7ec8843e4d0228a4fa95f4caf2cbdfee9c475 (diff)
downloadmediapointer-dvb-s2-17436676851595daf49b90f156dc96e5748cb8ce.tar.gz
mediapointer-dvb-s2-17436676851595daf49b90f156dc96e5748cb8ce.tar.bz2
cx88: Add symbolic names for the PCI interrupt bits
From: Trent Piepho <xyzzy@speakeasy.org> Used for the PCI_INTMSK and PCI_INT_STAT registers. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-reg.h')
-rw-r--r--linux/drivers/media/video/cx88/cx88-reg.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-reg.h b/linux/drivers/media/video/cx88/cx88-reg.h
index c8c2d9957..214ec5cf2 100644
--- a/linux/drivers/media/video/cx88/cx88-reg.h
+++ b/linux/drivers/media/video/cx88/cx88-reg.h
@@ -582,6 +582,28 @@
/* ---------------------------------------------------------------------- */
/* various constants */
+// DMA
+/* Interrupt mask/status */
+#define PCI_INT_VIDINT (1 << 0)
+#define PCI_INT_AUDINT (1 << 1)
+#define PCI_INT_TSINT (1 << 2)
+#define PCI_INT_VIPINT (1 << 3)
+#define PCI_INT_HSTINT (1 << 4)
+#define PCI_INT_TM1INT (1 << 5)
+#define PCI_INT_SRCDMAINT (1 << 6)
+#define PCI_INT_DSTDMAINT (1 << 7)
+#define PCI_INT_RISC_RD_BERRINT (1 << 10)
+#define PCI_INT_RISC_WR_BERRINT (1 << 11)
+#define PCI_INT_BRDG_BERRINT (1 << 12)
+#define PCI_INT_SRC_DMA_BERRINT (1 << 13)
+#define PCI_INT_DST_DMA_BERRINT (1 << 14)
+#define PCI_INT_IPB_DMA_BERRINT (1 << 15)
+#define PCI_INT_I2CDONE (1 << 16)
+#define PCI_INT_I2CRACK (1 << 17)
+#define PCI_INT_IR_SMPINT (1 << 18)
+#define PCI_INT_GPIO_INT0 (1 << 19)
+#define PCI_INT_GPIO_INT1 (1 << 20)
+
#define SEL_BTSC 0x01
#define SEL_EIAJ 0x02
#define SEL_A2 0x04