diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2007-08-23 05:32:46 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:47 -0400 |
commit | 33c0fcad2160bc211272295e862c6f708118d006 (patch) | |
tree | 1627d21d1042a1ede7fc9c8f55356ab314a6a63e /drivers/media/video/ivtv/ivtv-irq.h | |
parent | 612570f2c4794bbf4e5bfa8648b61fbfc9cd8501 (diff) |
V4L/DVB (6092): ivtv: more cleanups, merged ivtv-audio.c and ivtv-video.c into ivtv-routing.c
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-irq.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-irq.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-irq.h b/drivers/media/video/ivtv/ivtv-irq.h index e180bd348989..f879a5822e71 100644 --- a/drivers/media/video/ivtv/ivtv-irq.h +++ b/drivers/media/video/ivtv/ivtv-irq.h | |||
@@ -22,6 +22,28 @@ | |||
22 | #ifndef IVTV_IRQ_H | 22 | #ifndef IVTV_IRQ_H |
23 | #define IVTV_IRQ_H | 23 | #define IVTV_IRQ_H |
24 | 24 | ||
25 | #define IVTV_IRQ_ENC_START_CAP (0x1 << 31) | ||
26 | #define IVTV_IRQ_ENC_EOS (0x1 << 30) | ||
27 | #define IVTV_IRQ_ENC_VBI_CAP (0x1 << 29) | ||
28 | #define IVTV_IRQ_ENC_VIM_RST (0x1 << 28) | ||
29 | #define IVTV_IRQ_ENC_DMA_COMPLETE (0x1 << 27) | ||
30 | #define IVTV_IRQ_ENC_PIO_COMPLETE (0x1 << 25) | ||
31 | #define IVTV_IRQ_DEC_AUD_MODE_CHG (0x1 << 24) | ||
32 | #define IVTV_IRQ_DEC_DATA_REQ (0x1 << 22) | ||
33 | #define IVTV_IRQ_DEC_DMA_COMPLETE (0x1 << 20) | ||
34 | #define IVTV_IRQ_DEC_VBI_RE_INSERT (0x1 << 19) | ||
35 | #define IVTV_IRQ_DMA_ERR (0x1 << 18) | ||
36 | #define IVTV_IRQ_DMA_WRITE (0x1 << 17) | ||
37 | #define IVTV_IRQ_DMA_READ (0x1 << 16) | ||
38 | #define IVTV_IRQ_DEC_VSYNC (0x1 << 10) | ||
39 | |||
40 | /* IRQ Masks */ | ||
41 | #define IVTV_IRQ_MASK_INIT (IVTV_IRQ_DMA_ERR|IVTV_IRQ_ENC_DMA_COMPLETE|\ | ||
42 | IVTV_IRQ_DMA_READ|IVTV_IRQ_ENC_PIO_COMPLETE) | ||
43 | |||
44 | #define IVTV_IRQ_MASK_CAPTURE (IVTV_IRQ_ENC_START_CAP | IVTV_IRQ_ENC_EOS) | ||
45 | #define IVTV_IRQ_MASK_DECODE (IVTV_IRQ_DEC_DATA_REQ|IVTV_IRQ_DEC_AUD_MODE_CHG) | ||
46 | |||
25 | irqreturn_t ivtv_irq_handler(int irq, void *dev_id); | 47 | irqreturn_t ivtv_irq_handler(int irq, void *dev_id); |
26 | 48 | ||
27 | void ivtv_irq_work_handler(struct work_struct *work); | 49 | void ivtv_irq_work_handler(struct work_struct *work); |