]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - include/media/i2c/saa6588.h
Merge branch 'spi-5.3' into spi-linus
[mirror_ubuntu-focal-kernel.git] / include / media / i2c / saa6588.h
CommitLineData
74ba9207 1/* SPDX-License-Identifier: GPL-2.0-or-later */
10b89ee3
MCC
2/*
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
10b89ee3
MCC
8 (c) 2005 by Hans J. Koch
9
10b89ee3
MCC
10
11*/
12
b9218f2f
HV
13#ifndef _SAA6588_H
14#define _SAA6588_H
10b89ee3 15
b9218f2f 16struct saa6588_command {
10b89ee3 17 unsigned int block_count;
09092787 18 bool nonblocking;
10b89ee3 19 int result;
ae8aed03 20 unsigned char __user *buffer;
10b89ee3
MCC
21 struct file *instance;
22 poll_table *event_list;
37b3c6a6 23 __poll_t poll_mask;
10b89ee3
MCC
24};
25
b9218f2f 26/* These ioctls are internal to the kernel */
b9218f2f
HV
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)
10b89ee3
MCC
30
31#endif