summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/ivtv-fb.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/include/media/ivtv-fb.h b/include/media/ivtv-fb.h
new file mode 100644
index 000000000000..902b2f3d3cb6
--- /dev/null
+++ b/include/media/ivtv-fb.h
@@ -0,0 +1,35 @@
+/*
+ On Screen Display cx23415 Framebuffer driver
+
+ Copyright (C) 2006 Ian Armstrong <ian@iarmst.demon.co.uk>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#ifndef _LINUX_IVTV_FB_H
+#define _LINUX_IVTV_FB_H
+
+/* Framebuffer external API */
+
+struct ivtvfb_ioctl_dma_host_to_ivtv_args {
+ void __user *source;
+ unsigned long dest_offset;
+ int count;
+};
+
+/* Framebuffer ioctls should use the range 1 - 28 */
+#define IVTVFB_IOCTL_PREP_FRAME _IOW('@', 3, struct ivtvfb_ioctl_dma_host_to_ivtv_args)
+
+#endif