Thomas Gleixner | 74ba920 | 2019-05-20 09:19:02 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
John Anthony Kazos Jr | 121e70b | 2007-05-09 08:30:57 +0200 | [diff] [blame] | 9 | * Copyright (C) 2001-2002 AlcĂ´ve <www.alcove.com> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 20 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #ifndef _SONYPI_H_ |
| 22 | #define _SONYPI_H_ |
| 23 | |
David Howells | 607ca46 | 2012-10-13 10:46:48 +0100 | [diff] [blame] | 24 | #include <uapi/linux/sonypi.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 25 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | #endif /* _SONYPI_H_ */ |