blob: bbec05a31d5a9d008b9fee5accd74b3cf69f4071 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-or-later */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3
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.
7
8 (c) 2005 by Hans J. Koch
9
Andrew Scullb4b6d4a2019-01-02 15:54:55 +000010
11*/
12
13#ifndef _SAA6588_H
14#define _SAA6588_H
15
16struct 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;
24};
25
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)
30
31#endif