Linux Audio

Check our new training course

Loading...
v4.10.11
 
 1/*
 2 * Sony Programmable I/O Control Device driver for VAIO
 3 *
 4 * Copyright (C) 2001-2005 Stelian Pop <stelian@popies.net>
 5 *
 6 * Copyright (C) 2005 Narayanan R S <nars@kadamba.org>
 7
 8 * Copyright (C) 2001-2002 Alcôve <www.alcove.com>
 9 *
10 * Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au>
11 *
12 * Copyright (C) 2001 Junichi Morita <jun1m@mars.dti.ne.jp>
13 *
14 * Copyright (C) 2000 Takaya Kinjo <t-kinjo@tc4.so-net.ne.jp>
15 *
16 * Copyright (C) 2000 Andrew Tridgell <tridge@valinux.com>
17 *
18 * Earlier work by Werner Almesberger, Paul `Rusty' Russell and Paul Mackerras.
19 *
20 * This program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 *
34 */
35#ifndef _SONYPI_H_
36#define _SONYPI_H_
37
38#include <uapi/linux/sonypi.h>
39
40
41/* used only for communication between v4l and sonypi */
42
43#define SONYPI_COMMAND_GETCAMERA		 1	/* obsolete */
44#define SONYPI_COMMAND_SETCAMERA		 2
45#define SONYPI_COMMAND_GETCAMERABRIGHTNESS	 3	/* obsolete */
46#define SONYPI_COMMAND_SETCAMERABRIGHTNESS	 4
47#define SONYPI_COMMAND_GETCAMERACONTRAST	 5	/* obsolete */
48#define SONYPI_COMMAND_SETCAMERACONTRAST	 6
49#define SONYPI_COMMAND_GETCAMERAHUE		 7	/* obsolete */
50#define SONYPI_COMMAND_SETCAMERAHUE		 8
51#define SONYPI_COMMAND_GETCAMERACOLOR		 9	/* obsolete */
52#define SONYPI_COMMAND_SETCAMERACOLOR		10
53#define SONYPI_COMMAND_GETCAMERASHARPNESS	11	/* obsolete */
54#define SONYPI_COMMAND_SETCAMERASHARPNESS	12
55#define SONYPI_COMMAND_GETCAMERAPICTURE		13	/* obsolete */
56#define SONYPI_COMMAND_SETCAMERAPICTURE		14
57#define SONYPI_COMMAND_GETCAMERAAGC		15	/* obsolete */
58#define SONYPI_COMMAND_SETCAMERAAGC		16
59#define SONYPI_COMMAND_GETCAMERADIRECTION	17	/* obsolete */
60#define SONYPI_COMMAND_GETCAMERAROMVERSION	18	/* obsolete */
61#define SONYPI_COMMAND_GETCAMERAREVISION	19	/* obsolete */
62
63#endif				/* _SONYPI_H_ */
v6.2
 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_ */