2005-09-10 00:04:03 +04:00
|
|
|
/*
|
|
|
|
|
|
|
|
Types and defines needed for RDS. This is included by
|
|
|
|
saa6588.c and every driver (e.g. bttv-driver.c) that wants
|
|
|
|
to use the saa6588 module.
|
|
|
|
|
|
|
|
(c) 2005 by Hans J. Koch
|
|
|
|
|
|
|
|
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., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2010-12-27 18:22:46 +03:00
|
|
|
#ifndef _SAA6588_H
|
|
|
|
#define _SAA6588_H
|
2005-09-10 00:04:03 +04:00
|
|
|
|
2010-12-27 18:22:46 +03:00
|
|
|
struct saa6588_command {
|
2005-09-10 00:04:03 +04:00
|
|
|
unsigned int block_count;
|
2013-12-14 15:28:36 +04:00
|
|
|
bool nonblocking;
|
2005-09-10 00:04:03 +04:00
|
|
|
int result;
|
2005-09-29 03:37:34 +04:00
|
|
|
unsigned char __user *buffer;
|
2005-09-10 00:04:03 +04:00
|
|
|
struct file *instance;
|
|
|
|
poll_table *event_list;
|
|
|
|
};
|
|
|
|
|
2010-12-27 18:22:46 +03:00
|
|
|
/* These ioctls are internal to the kernel */
|
|
|
|
#define SAA6588_CMD_CLOSE _IOW('R', 2, int)
|
|
|
|
#define SAA6588_CMD_READ _IOR('R', 3, int)
|
|
|
|
#define SAA6588_CMD_POLL _IOR('R', 4, int)
|
2005-09-10 00:04:03 +04:00
|
|
|
|
|
|
|
#endif
|