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

TOMOYO Linux Cross Reference
Linux/include/drm/i2c/ch7006.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/drm/i2c/ch7006.h (Version linux-6.12-rc7) and /include/drm/i2c/ch7006.h (Version linux-4.18.20)


  1 /*                                                  1 /*
  2  * Copyright (C) 2009 Francisco Jerez.              2  * Copyright (C) 2009 Francisco Jerez.
  3  * All Rights Reserved.                             3  * All Rights Reserved.
  4  *                                                  4  *
  5  * Permission is hereby granted, free of charg      5  * Permission is hereby granted, free of charge, to any person obtaining
  6  * a copy of this software and associated docu      6  * a copy of this software and associated documentation files (the
  7  * "Software"), to deal in the Software withou      7  * "Software"), to deal in the Software without restriction, including
  8  * without limitation the rights to use, copy,      8  * without limitation the rights to use, copy, modify, merge, publish,
  9  * distribute, sublicense, and/or sell copies       9  * distribute, sublicense, and/or sell copies of the Software, and to
 10  * permit persons to whom the Software is furn     10  * permit persons to whom the Software is furnished to do so, subject to
 11  * the following conditions:                       11  * the following conditions:
 12  *                                                 12  *
 13  * The above copyright notice and this permiss     13  * The above copyright notice and this permission notice (including the
 14  * next paragraph) shall be included in all co     14  * next paragraph) shall be included in all copies or substantial
 15  * portions of the Software.                       15  * portions of the Software.
 16  *                                                 16  *
 17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT W     17  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 18  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMIT     18  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR P     19  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 20  * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AN     20  * IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
 21  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIAB     21  * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
 22  * OF CONTRACT, TORT OR OTHERWISE, ARISING FRO     22  * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 23  * WITH THE SOFTWARE OR THE USE OR OTHER DEALI     23  * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 24  *                                                 24  *
 25  */                                                25  */
 26                                                    26 
 27 #ifndef __DRM_I2C_CH7006_H__                       27 #ifndef __DRM_I2C_CH7006_H__
 28 #define __DRM_I2C_CH7006_H__                       28 #define __DRM_I2C_CH7006_H__
 29                                                    29 
 30 /**                                                30 /**
 31  * struct ch7006_encoder_params                    31  * struct ch7006_encoder_params
 32  *                                                 32  *
 33  * Describes how the ch7006 is wired up with t     33  * Describes how the ch7006 is wired up with the GPU. It should be
 34  * used as the @params parameter of its @set_c     34  * used as the @params parameter of its @set_config method.
 35  *                                                 35  *
 36  * See "http://www.chrontel.com/pdf/7006.pdf"      36  * See "http://www.chrontel.com/pdf/7006.pdf" for their precise
 37  * meaning.                                        37  * meaning.
 38  */                                                38  */
 39 struct ch7006_encoder_params {                     39 struct ch7006_encoder_params {
 40         /* private: FIXME: document the member << 
 41         enum {                                     40         enum {
 42                 CH7006_FORMAT_RGB16 = 0,           41                 CH7006_FORMAT_RGB16 = 0,
 43                 CH7006_FORMAT_YCrCb24m16,          42                 CH7006_FORMAT_YCrCb24m16,
 44                 CH7006_FORMAT_RGB24m16,            43                 CH7006_FORMAT_RGB24m16,
 45                 CH7006_FORMAT_RGB15,               44                 CH7006_FORMAT_RGB15,
 46                 CH7006_FORMAT_RGB24m12C,           45                 CH7006_FORMAT_RGB24m12C,
 47                 CH7006_FORMAT_RGB24m12I,           46                 CH7006_FORMAT_RGB24m12I,
 48                 CH7006_FORMAT_RGB24m8,             47                 CH7006_FORMAT_RGB24m8,
 49                 CH7006_FORMAT_RGB16m8,             48                 CH7006_FORMAT_RGB16m8,
 50                 CH7006_FORMAT_RGB15m8,             49                 CH7006_FORMAT_RGB15m8,
 51                 CH7006_FORMAT_YCrCb24m8,           50                 CH7006_FORMAT_YCrCb24m8,
 52         } input_format;                            51         } input_format;
 53                                                    52 
 54         enum {                                     53         enum {
 55                 CH7006_CLOCK_SLAVE = 0,            54                 CH7006_CLOCK_SLAVE = 0,
 56                 CH7006_CLOCK_MASTER,               55                 CH7006_CLOCK_MASTER,
 57         } clock_mode;                              56         } clock_mode;
 58                                                    57 
 59         enum {                                     58         enum {
 60                 CH7006_CLOCK_EDGE_NEG = 0,         59                 CH7006_CLOCK_EDGE_NEG = 0,
 61                 CH7006_CLOCK_EDGE_POS,             60                 CH7006_CLOCK_EDGE_POS,
 62         } clock_edge;                              61         } clock_edge;
 63                                                    62 
 64         int xcm, pcm;                              63         int xcm, pcm;
 65                                                    64 
 66         enum {                                     65         enum {
 67                 CH7006_SYNC_SLAVE = 0,             66                 CH7006_SYNC_SLAVE = 0,
 68                 CH7006_SYNC_MASTER,                67                 CH7006_SYNC_MASTER,
 69         } sync_direction;                          68         } sync_direction;
 70                                                    69 
 71         enum {                                     70         enum {
 72                 CH7006_SYNC_SEPARATED = 0,         71                 CH7006_SYNC_SEPARATED = 0,
 73                 CH7006_SYNC_EMBEDDED,              72                 CH7006_SYNC_EMBEDDED,
 74         } sync_encoding;                           73         } sync_encoding;
 75                                                    74 
 76         enum {                                     75         enum {
 77                 CH7006_POUT_1_8V = 0,              76                 CH7006_POUT_1_8V = 0,
 78                 CH7006_POUT_3_3V,                  77                 CH7006_POUT_3_3V,
 79         } pout_level;                              78         } pout_level;
 80                                                    79 
 81         enum {                                     80         enum {
 82                 CH7006_ACTIVE_HSYNC = 0,           81                 CH7006_ACTIVE_HSYNC = 0,
 83                 CH7006_ACTIVE_DSTART,              82                 CH7006_ACTIVE_DSTART,
 84         } active_detect;                           83         } active_detect;
 85 };                                                 84 };
 86                                                    85 
 87 #endif                                             86 #endif
 88                                                    87 

~ [ 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