summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx18/cx18-mailbox.h
diff options
context:
space:
mode:
authorAndy Walls <awalls@radix.net>2008-11-23 17:16:44 -0500
committerAndy Walls <awalls@radix.net>2008-11-23 17:16:44 -0500
commit4a31b6de97b5e45eaff001a1e7a813964660f436 (patch)
tree6771fffac49f3bd1cbd26bdf7e22475f4c68f051 /linux/drivers/media/video/cx18/cx18-mailbox.h
parent75db59d39a9a9df4b32e034d483c126aed873c1a (diff)
downloadmediapointer-dvb-s2-4a31b6de97b5e45eaff001a1e7a813964660f436.tar.gz
mediapointer-dvb-s2-4a31b6de97b5e45eaff001a1e7a813964660f436.tar.bz2
cx18: Use a known open task handle when setting stream CX2341x parameters
From: Andy Walls <awalls@radix.net> cx18: Use a known open task handle when setting stream CX2341x parameters Sometimes, we might only have VBI or YUV stream open instead of an MPEG stream. Let's make sure we use a valid task handle to perform the CX2341x control settings. Priority: normal Signed-off-by: Andy Walls <awalls@radix.net>
Diffstat (limited to 'linux/drivers/media/video/cx18/cx18-mailbox.h')
-rw-r--r--linux/drivers/media/video/cx18/cx18-mailbox.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx18/cx18-mailbox.h b/linux/drivers/media/video/cx18/cx18-mailbox.h
index 35104458e..a667f1ae4 100644
--- a/linux/drivers/media/video/cx18/cx18-mailbox.h
+++ b/linux/drivers/media/video/cx18/cx18-mailbox.h
@@ -79,6 +79,13 @@ struct cx18_mailbox {
u32 error;
};
+struct cx18_stream;
+
+struct cx18_api_func_private {
+ struct cx18 *cx;
+ struct cx18_stream *s;
+};
+
int cx18_api(struct cx18 *cx, u32 cmd, int args, u32 data[]);
int cx18_vapi_result(struct cx18 *cx, u32 data[MAX_MB_ARGUMENTS], u32 cmd,
int args, ...);