Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)     Types and defines needed for RDS. This is included by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)     saa6588.c and every driver (e.g. bttv-driver.c) that wants
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)     to use the saa6588 module.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)     (c) 2005 by Hans J. Koch
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #ifndef _SAA6588_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #define _SAA6588_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct saa6588_command {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	unsigned int  block_count;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	bool          nonblocking;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	int           result;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	unsigned char __user *buffer;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	struct file   *instance;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 	poll_table    *event_list;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 	__poll_t      poll_mask;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) /* These ioctls are internal to the kernel */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #define SAA6588_CMD_CLOSE	_IOW('R', 2, int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #define SAA6588_CMD_READ	_IOR('R', 3, int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) #define SAA6588_CMD_POLL	_IOR('R', 4, int)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #endif