aboutsummaryrefslogtreecommitdiffstats
path: root/include/media/cx2341x.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-21 16:04:13 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-25 01:05:23 -0400
commit45ad9f8b44b06bf1e91b4b3c338406c2233f0482 (patch)
treeb2cccb49543bcb7289d084a803c44354fcb64115 /include/media/cx2341x.h
parent54aa9a21ca03cf41d911ada969e86f27ce58bab9 (diff)
V4L/DVB (4202): allow selecting CX2341x port mode
CX2341X port was always set to 'memory', but 'streaming' is also possible ivtv uses the memory (DMA) interface with the CX2341X, while pvrusb2 and cx88-blackbird use the streaming interface. This setting is now selectable by the driver. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'include/media/cx2341x.h')
-rw-r--r--include/media/cx2341x.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/media/cx2341x.h b/include/media/cx2341x.h
index 0c9292fa5f6d..fb170d4b5235 100644
--- a/include/media/cx2341x.h
+++ b/include/media/cx2341x.h
@@ -19,8 +19,15 @@
19#ifndef CX2341X_H 19#ifndef CX2341X_H
20#define CX2341X_H 20#define CX2341X_H
21 21
22enum cx2341x_port {
23 CX2341X_PORT_MEMORY,
24 CX2341X_PORT_STREAMING,
25 CX2341X_PORT_SERIAL
26};
27
22struct cx2341x_mpeg_params { 28struct cx2341x_mpeg_params {
23 /* misc */ 29 /* misc */
30 enum cx2341x_port port;
24 u16 width; 31 u16 width;
25 u16 height; 32 u16 height;
26 u16 is_50hz; 33 u16 is_50hz;