diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-08-18 05:57:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:05:54 -0400 |
commit | 8ddac9ee4b6f08d7cacf79202ab882eefc55b0c0 (patch) | |
tree | 7b14520928ff9417c1ea9d0de1cbff73068dcb73 /drivers/media/video/cx88/cx88-reg.h | |
parent | 7c03a4488bf6d28078488c70c82357d4286cacc5 (diff) |
V4L/DVB (6064): cx88: Add symbolic names for the PCI interrupt bits
Used for the PCI_INTMSK and PCI_INT_STAT registers.
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/cx88/cx88-reg.h')
-rw-r--r-- | drivers/media/video/cx88/cx88-reg.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/media/video/cx88/cx88-reg.h b/drivers/media/video/cx88/cx88-reg.h index d3bf5b17b1d4..2b1d102cd220 100644 --- a/drivers/media/video/cx88/cx88-reg.h +++ b/drivers/media/video/cx88/cx88-reg.h | |||
@@ -582,6 +582,28 @@ | |||
582 | /* ---------------------------------------------------------------------- */ | 582 | /* ---------------------------------------------------------------------- */ |
583 | /* various constants */ | 583 | /* various constants */ |
584 | 584 | ||
585 | // DMA | ||
586 | /* Interrupt mask/status */ | ||
587 | #define PCI_INT_VIDINT (1 << 0) | ||
588 | #define PCI_INT_AUDINT (1 << 1) | ||
589 | #define PCI_INT_TSINT (1 << 2) | ||
590 | #define PCI_INT_VIPINT (1 << 3) | ||
591 | #define PCI_INT_HSTINT (1 << 4) | ||
592 | #define PCI_INT_TM1INT (1 << 5) | ||
593 | #define PCI_INT_SRCDMAINT (1 << 6) | ||
594 | #define PCI_INT_DSTDMAINT (1 << 7) | ||
595 | #define PCI_INT_RISC_RD_BERRINT (1 << 10) | ||
596 | #define PCI_INT_RISC_WR_BERRINT (1 << 11) | ||
597 | #define PCI_INT_BRDG_BERRINT (1 << 12) | ||
598 | #define PCI_INT_SRC_DMA_BERRINT (1 << 13) | ||
599 | #define PCI_INT_DST_DMA_BERRINT (1 << 14) | ||
600 | #define PCI_INT_IPB_DMA_BERRINT (1 << 15) | ||
601 | #define PCI_INT_I2CDONE (1 << 16) | ||
602 | #define PCI_INT_I2CRACK (1 << 17) | ||
603 | #define PCI_INT_IR_SMPINT (1 << 18) | ||
604 | #define PCI_INT_GPIO_INT0 (1 << 19) | ||
605 | #define PCI_INT_GPIO_INT1 (1 << 20) | ||
606 | |||
585 | #define SEL_BTSC 0x01 | 607 | #define SEL_BTSC 0x01 |
586 | #define SEL_EIAJ 0x02 | 608 | #define SEL_EIAJ 0x02 |
587 | #define SEL_A2 0x04 | 609 | #define SEL_A2 0x04 |