1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _SONYLAPTOP_H_ 3 #define _SONYLAPTOP_H_ 4 5 #include <linux/types.h> 6 7 #ifdef __KERNEL__ 8 9 /* used only for communication between v4l and 10 11 #define SONY_PIC_COMMAND_GETCAMERA 12 #define SONY_PIC_COMMAND_SETCAMERA 13 #define SONY_PIC_COMMAND_GETCAMERABRIGHTNESS 14 #define SONY_PIC_COMMAND_SETCAMERABRIGHTNESS 15 #define SONY_PIC_COMMAND_GETCAMERACONTRAST 16 #define SONY_PIC_COMMAND_SETCAMERACONTRAST 17 #define SONY_PIC_COMMAND_GETCAMERAHUE 18 #define SONY_PIC_COMMAND_SETCAMERAHUE 19 #define SONY_PIC_COMMAND_GETCAMERACOLOR 20 #define SONY_PIC_COMMAND_SETCAMERACOLOR 21 #define SONY_PIC_COMMAND_GETCAMERASHARPNESS 22 #define SONY_PIC_COMMAND_SETCAMERASHARPNESS 23 #define SONY_PIC_COMMAND_GETCAMERAPICTURE 24 #define SONY_PIC_COMMAND_SETCAMERAPICTURE 25 #define SONY_PIC_COMMAND_GETCAMERAAGC 26 #define SONY_PIC_COMMAND_SETCAMERAAGC 27 #define SONY_PIC_COMMAND_GETCAMERADIRECTION 28 #define SONY_PIC_COMMAND_GETCAMERAROMVERSION 29 #define SONY_PIC_COMMAND_GETCAMERAREVISION 30 31 #if IS_ENABLED(CONFIG_SONY_LAPTOP) 32 int sony_pic_camera_command(int command, u8 va 33 #else 34 static inline int sony_pic_camera_command(int 35 #endif 36 37 #endif /* __KERNEL__ */ 38 39 #endif /* _SONYLAPTOP_H_ */ 40
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.