sonypi.h 2.4 KB

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