WIP FPC-III support
[linux/fpc-iii.git] / include / media / i2c / saa6588.h
blobbbec05a31d5a9d008b9fee5accd74b3cf69f4071
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
4 Types and defines needed for RDS. This is included by
5 saa6588.c and every driver (e.g. bttv-driver.c) that wants
6 to use the saa6588 module.
8 (c) 2005 by Hans J. Koch
13 #ifndef _SAA6588_H
14 #define _SAA6588_H
16 struct saa6588_command {
17 unsigned int block_count;
18 bool nonblocking;
19 int result;
20 unsigned char __user *buffer;
21 struct file *instance;
22 poll_table *event_list;
23 __poll_t poll_mask;
26 /* These ioctls are internal to the kernel */
27 #define SAA6588_CMD_CLOSE _IOW('R', 2, int)
28 #define SAA6588_CMD_READ _IOR('R', 3, int)
29 #define SAA6588_CMD_POLL _IOR('R', 4, int)
31 #endif