xref: /linux/include/uapi/linux/ivtvfb.h (revision 498495dba268b20e8eadd7fe93c140c68b6cc9d2)
1*e2be04c7SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2607ca46eSDavid Howells /*
3607ca46eSDavid Howells     On Screen Display cx23415 Framebuffer driver
4607ca46eSDavid Howells 
5607ca46eSDavid Howells     Copyright (C) 2006, 2007  Ian Armstrong <ian@iarmst.demon.co.uk>
6607ca46eSDavid Howells 
7607ca46eSDavid Howells     This program is free software; you can redistribute it and/or modify
8607ca46eSDavid Howells     it under the terms of the GNU General Public License as published by
9607ca46eSDavid Howells     the Free Software Foundation; either version 2 of the License, or
10607ca46eSDavid Howells     (at your option) any later version.
11607ca46eSDavid Howells 
12607ca46eSDavid Howells     This program is distributed in the hope that it will be useful,
13607ca46eSDavid Howells     but WITHOUT ANY WARRANTY; without even the implied warranty of
14607ca46eSDavid Howells     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15607ca46eSDavid Howells     GNU General Public License for more details.
16607ca46eSDavid Howells 
17607ca46eSDavid Howells     You should have received a copy of the GNU General Public License
18607ca46eSDavid Howells     along with this program; if not, write to the Free Software
19607ca46eSDavid Howells     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20607ca46eSDavid Howells  */
21607ca46eSDavid Howells 
22607ca46eSDavid Howells #ifndef __LINUX_IVTVFB_H__
23607ca46eSDavid Howells #define __LINUX_IVTVFB_H__
24607ca46eSDavid Howells 
25607ca46eSDavid Howells #include <linux/compiler.h>
26607ca46eSDavid Howells #include <linux/types.h>
27607ca46eSDavid Howells 
28607ca46eSDavid Howells /* Framebuffer external API */
29607ca46eSDavid Howells 
30607ca46eSDavid Howells struct ivtvfb_dma_frame {
31607ca46eSDavid Howells 	void __user *source;
32607ca46eSDavid Howells 	unsigned long dest_offset;
33607ca46eSDavid Howells 	int count;
34607ca46eSDavid Howells };
35607ca46eSDavid Howells 
36607ca46eSDavid Howells #define IVTVFB_IOC_DMA_FRAME 	_IOW('V', BASE_VIDIOC_PRIVATE+0, struct ivtvfb_dma_frame)
37607ca46eSDavid Howells 
38607ca46eSDavid Howells #endif
39