130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng/*
230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    On Screen Display cx23415 Framebuffer driver
330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    Copyright (C) 2006, 2007  Ian Armstrong <ian@iarmst.demon.co.uk>
530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    This program is free software; you can redistribute it and/or modify
730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    it under the terms of the GNU General Public License as published by
830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    the Free Software Foundation; either version 2 of the License, or
930692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    (at your option) any later version.
1030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
1130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    This program is distributed in the hope that it will be useful,
1230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    but WITHOUT ANY WARRANTY; without even the implied warranty of
1330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    GNU General Public License for more details.
1530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
1630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    You should have received a copy of the GNU General Public License
1730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    along with this program; if not, write to the Free Software
1830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
1930692c65c4174412c90e79489e98ab85c1a7412fBen Cheng */
2030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
2130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#ifndef __LINUX_IVTVFB_H__
2230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define __LINUX_IVTVFB_H__
2330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
2430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#include <linux/compiler.h>
2530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#include <linux/types.h>
2630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
2730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng/* Framebuffer external API */
2830692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
2930692c65c4174412c90e79489e98ab85c1a7412fBen Chengstruct ivtvfb_dma_frame {
3030692c65c4174412c90e79489e98ab85c1a7412fBen Cheng	void __user *source;
3130692c65c4174412c90e79489e98ab85c1a7412fBen Cheng	unsigned long dest_offset;
3230692c65c4174412c90e79489e98ab85c1a7412fBen Cheng	int count;
3330692c65c4174412c90e79489e98ab85c1a7412fBen Cheng};
3430692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
3530692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#define IVTVFB_IOC_DMA_FRAME 	_IOW('V', BASE_VIDIOC_PRIVATE+0, struct ivtvfb_dma_frame)
3630692c65c4174412c90e79489e98ab85c1a7412fBen Cheng
3730692c65c4174412c90e79489e98ab85c1a7412fBen Cheng#endif
38