sony-laptop.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _SONYLAPTOP_H_
  2. #define _SONYLAPTOP_H_
  3. #include <linux/types.h>
  4. #ifdef __KERNEL__
  5. /* used only for communication between v4l and sony-laptop */
  6. #define SONY_PIC_COMMAND_GETCAMERA 1 /* obsolete */
  7. #define SONY_PIC_COMMAND_SETCAMERA 2
  8. #define SONY_PIC_COMMAND_GETCAMERABRIGHTNESS 3 /* obsolete */
  9. #define SONY_PIC_COMMAND_SETCAMERABRIGHTNESS 4
  10. #define SONY_PIC_COMMAND_GETCAMERACONTRAST 5 /* obsolete */
  11. #define SONY_PIC_COMMAND_SETCAMERACONTRAST 6
  12. #define SONY_PIC_COMMAND_GETCAMERAHUE 7 /* obsolete */
  13. #define SONY_PIC_COMMAND_SETCAMERAHUE 8
  14. #define SONY_PIC_COMMAND_GETCAMERACOLOR 9 /* obsolete */
  15. #define SONY_PIC_COMMAND_SETCAMERACOLOR 10
  16. #define SONY_PIC_COMMAND_GETCAMERASHARPNESS 11 /* obsolete */
  17. #define SONY_PIC_COMMAND_SETCAMERASHARPNESS 12
  18. #define SONY_PIC_COMMAND_GETCAMERAPICTURE 13 /* obsolete */
  19. #define SONY_PIC_COMMAND_SETCAMERAPICTURE 14
  20. #define SONY_PIC_COMMAND_GETCAMERAAGC 15 /* obsolete */
  21. #define SONY_PIC_COMMAND_SETCAMERAAGC 16
  22. #define SONY_PIC_COMMAND_GETCAMERADIRECTION 17 /* obsolete */
  23. #define SONY_PIC_COMMAND_GETCAMERAROMVERSION 18 /* obsolete */
  24. #define SONY_PIC_COMMAND_GETCAMERAREVISION 19 /* obsolete */
  25. int sony_pic_camera_command(int command, u8 value);
  26. #endif /* __KERNEL__ */
  27. #endif /* _SONYLAPTOP_H_ */