~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/linux/sony-laptop.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/linux/sony-laptop.h (Version linux-6.12-rc7) and /include/linux/sony-laptop.h (Version linux-4.13.16)


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

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php