1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * Sony Programmable I/O Control Device driver for VAIO
4  *
5  * Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net>
6  *
7  * Copyright (C) 2005 Narayanan R S <nars@kadamba.org>
8 
9  * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
10  *
11  * Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au>
12  *
13  * Copyright (C) 2001 Junichi Morita <jun1m@mars.dti.ne.jp>
14  *
15  * Copyright (C) 2000 Takaya Kinjo <t-kinjo@tc4.so-net.ne.jp>
16  *
17  * Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com>
18  *
19  * Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras.
20  */
21 #ifndef _SONYPI_H_
22 #define _SONYPI_H_
23 
24 #include <uapi/linux/sonypi.h>
25 
26 
27 /* used only for communication between v4l and sonypi */
28 
29 #define SONYPI_COMMAND_GETCAMERA		 1	/* obsolete */
30 #define SONYPI_COMMAND_SETCAMERA		 2
31 #define SONYPI_COMMAND_GETCAMERABRIGHTNESS	 3	/* obsolete */
32 #define SONYPI_COMMAND_SETCAMERABRIGHTNESS	 4
33 #define SONYPI_COMMAND_GETCAMERACONTRAST	 5	/* obsolete */
34 #define SONYPI_COMMAND_SETCAMERACONTRAST	 6
35 #define SONYPI_COMMAND_GETCAMERAHUE		 7	/* obsolete */
36 #define SONYPI_COMMAND_SETCAMERAHUE		 8
37 #define SONYPI_COMMAND_GETCAMERACOLOR		 9	/* obsolete */
38 #define SONYPI_COMMAND_SETCAMERACOLOR		10
39 #define SONYPI_COMMAND_GETCAMERASHARPNESS	11	/* obsolete */
40 #define SONYPI_COMMAND_SETCAMERASHARPNESS	12
41 #define SONYPI_COMMAND_GETCAMERAPICTURE		13	/* obsolete */
42 #define SONYPI_COMMAND_SETCAMERAPICTURE		14
43 #define SONYPI_COMMAND_GETCAMERAAGC		15	/* obsolete */
44 #define SONYPI_COMMAND_SETCAMERAAGC		16
45 #define SONYPI_COMMAND_GETCAMERADIRECTION	17	/* obsolete */
46 #define SONYPI_COMMAND_GETCAMERAROMVERSION	18	/* obsolete */
47 #define SONYPI_COMMAND_GETCAMERAREVISION	19	/* obsolete */
48 
49 #endif				/* _SONYPI_H_ */
50