Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003 
0004     Types and defines needed for RDS. This is included by
0005     saa6588.c and every driver (e.g. bttv-driver.c) that wants
0006     to use the saa6588 module.
0007 
0008     (c) 2005 by Hans J. Koch
0009 
0010 
0011 */
0012 
0013 #ifndef _SAA6588_H
0014 #define _SAA6588_H
0015 
0016 struct saa6588_command {
0017     unsigned int  block_count;
0018     bool          nonblocking;
0019     int           result;
0020     unsigned char __user *buffer;
0021     struct file   *instance;
0022     poll_table    *event_list;
0023     __poll_t      poll_mask;
0024 };
0025 
0026 /* These ioctls are internal to the kernel */
0027 #define SAA6588_CMD_CLOSE   _IOW('R', 2, int)
0028 #define SAA6588_CMD_READ    _IOR('R', 3, int)
0029 #define SAA6588_CMD_POLL    _IOR('R', 4, int)
0030 
0031 #endif