summaryrefslogtreecommitdiffstats
path: root/include/media/cx25840.h
diff options
context:
space:
mode:
authorSteven Toth <stoth@hauppauge.com>2008-01-10 05:22:39 +0100
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 22:04:47 +0100
commitf234081bc564c69eb0e2cd4e957ad1cbae4a6144 (patch)
tree4dd6400872df3f73e4f4b63c7303564fe3264c1d /include/media/cx25840.h
parentV4L/DVB (6997): Replace a very dirty hack on videobuf for a clean wait_event (diff)
downloadlinux-f234081bc564c69eb0e2cd4e957ad1cbae4a6144.tar.xz
linux-f234081bc564c69eb0e2cd4e957ad1cbae4a6144.zip
V4L/DVB (7002): cx25840: Add basic CX23885 AVCore support
The cx23885/7/8 PCIe bridge has an internal AVCore modelled on the cx2584x family. Many of the registers positions are identical but some moved. The register values are also different because the different bridges run at different clock rates. Signed-off-by: Steven Toth <stoth@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/cx25840.h')
-rw-r--r--include/media/cx25840.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/media/cx25840.h b/include/media/cx25840.h
index 8e7e52d659a0..cd599ad29fb2 100644
--- a/include/media/cx25840.h
+++ b/include/media/cx25840.h
@@ -49,6 +49,25 @@ enum cx25840_video_input {
CX25840_SVIDEO2 = 0x620,
CX25840_SVIDEO3 = 0x730,
CX25840_SVIDEO4 = 0x840,
+
+ /* Allow frames to specify specific input configurations */
+ CX25840_VIN1_CH1 = 0x80000000,
+ CX25840_VIN2_CH1 = 0x80000001,
+ CX25840_VIN3_CH1 = 0x80000002,
+ CX25840_VIN4_CH1 = 0x80000003,
+ CX25840_VIN5_CH1 = 0x80000004,
+ CX25840_VIN6_CH1 = 0x80000005,
+ CX25840_VIN7_CH1 = 0x80000006,
+ CX25840_VIN8_CH1 = 0x80000007,
+ CX25840_VIN4_CH2 = 0x80000000,
+ CX25840_VIN5_CH2 = 0x80000010,
+ CX25840_VIN6_CH2 = 0x80000020,
+ CX25840_NONE_CH2 = 0x80000030,
+ CX25840_VIN7_CH3 = 0x80000000,
+ CX25840_VIN8_CH3 = 0x80000040,
+ CX25840_NONE0_CH3 = 0x80000080,
+ CX25840_NONE1_CH3 = 0x800000c0,
+ CX25840_SVIDEO_ON = 0x80000100,
};
enum cx25840_audio_input {