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

TOMOYO Linux Cross Reference
Linux/include/linux/hid-sensor-ids.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/hid-sensor-ids.h (Version linux-6.12-rc7) and /include/linux/hid-sensor-ids.h (Version linux-2.4.37.11)


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 
  2 /*                                                
  3  * HID Sensors Driver                             
  4  * Copyright (c) 2012, Intel Corporation.         
  5  */                                               
  6 #ifndef _HID_SENSORS_IDS_H                        
  7 #define _HID_SENSORS_IDS_H                        
  8                                                   
  9 #define HID_MAX_PHY_DEVICES                       
 10                                                   
 11 #define HID_USAGE_SENSOR_COLLECTION               
 12                                                   
 13 /* Accel 3D (200073) */                           
 14 #define HID_USAGE_SENSOR_ACCEL_3D                 
 15 #define HID_USAGE_SENSOR_DATA_ACCELERATION        
 16 #define HID_USAGE_SENSOR_ACCEL_X_AXIS             
 17 #define HID_USAGE_SENSOR_ACCEL_Y_AXIS             
 18 #define HID_USAGE_SENSOR_ACCEL_Z_AXIS             
 19                                                   
 20 /* ALS (200041) */                                
 21 #define HID_USAGE_SENSOR_ALS                      
 22 #define HID_USAGE_SENSOR_DATA_LIGHT               
 23 #define HID_USAGE_SENSOR_LIGHT_ILLUM              
 24 #define HID_USAGE_SENSOR_LIGHT_COLOR_TEMPERATU    
 25 #define HID_USAGE_SENSOR_LIGHT_CHROMATICITY       
 26 #define HID_USAGE_SENSOR_LIGHT_CHROMATICITY_X     
 27 #define HID_USAGE_SENSOR_LIGHT_CHROMATICITY_Y     
 28                                                   
 29 /* PROX (200011) */                               
 30 #define HID_USAGE_SENSOR_PROX                     
 31 #define HID_USAGE_SENSOR_DATA_PRESENCE            
 32 #define HID_USAGE_SENSOR_HUMAN_PRESENCE           
 33                                                   
 34 /* Pressure (200031) */                           
 35 #define HID_USAGE_SENSOR_PRESSURE                 
 36 #define HID_USAGE_SENSOR_DATA_ATMOSPHERIC_PRES    
 37 #define HID_USAGE_SENSOR_ATMOSPHERIC_PRESSURE     
 38                                                   
 39 /* Tempreture (200033) */                         
 40 #define HID_USAGE_SENSOR_TEMPERATURE              
 41 #define HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TE    
 42                                                   
 43 /* humidity */                                    
 44 #define HID_USAGE_SENSOR_HUMIDITY                 
 45 #define HID_USAGE_SENSOR_ATMOSPHERIC_HUMIDITY     
 46                                                   
 47 /* Gyro 3D: (200076) */                           
 48 #define HID_USAGE_SENSOR_GYRO_3D                  
 49 #define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY       
 50 #define HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS     
 51 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS     
 52 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS     
 53                                                   
 54 /* Gravity vector */                              
 55 #define HID_USAGE_SENSOR_GRAVITY_VECTOR           
 56                                                   
 57 /* ORIENTATION: Compass 3D: (200083) */           
 58 #define HID_USAGE_SENSOR_COMPASS_3D               
 59 #define HID_USAGE_SENSOR_DATA_ORIENTATION         
 60 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING      
 61 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X    
 62 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Y    
 63 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Z    
 64                                                   
 65 #define HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORT    
 66 #define HID_USAGE_SENSOR_ORIENT_COMP_TRUE_NORT    
 67 #define HID_USAGE_SENSOR_ORIENT_MAGN_NORTH        
 68 #define HID_USAGE_SENSOR_ORIENT_TRUE_NORTH        
 69                                                   
 70 #define HID_USAGE_SENSOR_ORIENT_DISTANCE          
 71 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_X        
 72 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Y        
 73 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Z        
 74 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_OUT_O    
 75                                                   
 76 /* ORIENTATION: Inclinometer 3D: (200086) */      
 77 #define HID_USAGE_SENSOR_INCLINOMETER_3D          
 78 #define HID_USAGE_SENSOR_ORIENT_TILT              
 79 #define HID_USAGE_SENSOR_ORIENT_TILT_X            
 80 #define HID_USAGE_SENSOR_ORIENT_TILT_Y            
 81 #define HID_USAGE_SENSOR_ORIENT_TILT_Z            
 82                                                   
 83 #define HID_USAGE_SENSOR_DEVICE_ORIENTATION       
 84 #define HID_USAGE_SENSOR_RELATIVE_ORIENTATION     
 85 #define HID_USAGE_SENSOR_GEOMAGNETIC_ORIENTATI    
 86 #define HID_USAGE_SENSOR_ORIENT_ROTATION_MATRI    
 87 #define HID_USAGE_SENSOR_ORIENT_QUATERNION        
 88 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX         
 89                                                   
 90 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AX    
 91 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Y_AX    
 92 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Z_AX    
 93                                                   
 94 /* Time (2000a0) */                               
 95 #define HID_USAGE_SENSOR_TIME                     
 96 #define HID_USAGE_SENSOR_TIME_YEAR                
 97 #define HID_USAGE_SENSOR_TIME_MONTH               
 98 #define HID_USAGE_SENSOR_TIME_DAY                 
 99 #define HID_USAGE_SENSOR_TIME_HOUR                
100 #define HID_USAGE_SENSOR_TIME_MINUTE              
101 #define HID_USAGE_SENSOR_TIME_SECOND              
102 #define HID_USAGE_SENSOR_TIME_TIMESTAMP           
103                                                   
104 /* Units */                                       
105 #define HID_USAGE_SENSOR_UNITS_NOT_SPECIFIED      
106 #define HID_USAGE_SENSOR_UNITS_LUX                
107 #define HID_USAGE_SENSOR_UNITS_KELVIN             
108 #define HID_USAGE_SENSOR_UNITS_FAHRENHEIT         
109 #define HID_USAGE_SENSOR_UNITS_PASCAL             
110 #define HID_USAGE_SENSOR_UNITS_NEWTON             
111 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SECO    
112 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SEC_    
113 #define HID_USAGE_SENSOR_UNITS_FARAD              
114 #define HID_USAGE_SENSOR_UNITS_AMPERE             
115 #define HID_USAGE_SENSOR_UNITS_WATT               
116 #define HID_USAGE_SENSOR_UNITS_HENRY              
117 #define HID_USAGE_SENSOR_UNITS_OHM                
118 #define HID_USAGE_SENSOR_UNITS_VOLT               
119 #define HID_USAGE_SENSOR_UNITS_HERTZ              
120 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SEC    
121 #define HID_USAGE_SENSOR_UNITS_RADIANS            
122 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SEC    
123 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SEC    
124 #define HID_USAGE_SENSOR_UNITS_SECOND             
125 #define HID_USAGE_SENSOR_UNITS_GAUSS              
126 #define HID_USAGE_SENSOR_UNITS_GRAM               
127 #define HID_USAGE_SENSOR_UNITS_CENTIMETER         
128 #define HID_USAGE_SENSOR_UNITS_G                  
129 #define HID_USAGE_SENSOR_UNITS_MILLISECOND        
130 #define HID_USAGE_SENSOR_UNITS_PERCENT            
131 #define HID_USAGE_SENSOR_UNITS_DEGREES            
132 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SEC    
133                                                   
134 /* Common selectors */                            
135 #define HID_USAGE_SENSOR_PROP_DESC                
136 #define HID_USAGE_SENSOR_PROP_FRIENDLY_NAME       
137 #define HID_USAGE_SENSOR_PROP_SERIAL_NUM          
138 #define HID_USAGE_SENSOR_PROP_MANUFACTURER        
139 #define HID_USAGE_SENSOR_PROP_MODEL               
140 #define HID_USAGE_SENSOR_PROP_REPORT_INTERVAL     
141 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_ABS     
142 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_RANG    
143 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_REL_    
144 #define HID_USAGE_SENSOR_PROP_ACCURACY            
145 #define HID_USAGE_SENSOR_PROP_RESOLUTION          
146 #define HID_USAGE_SENSOR_PROP_RANGE_MAXIMUM       
147 #define HID_USAGE_SENSOR_PROP_RANGE_MINIMUM       
148 #define HID_USAGE_SENSOR_PROP_REPORT_STATE        
149 #define HID_USAGE_SENSOR_PROY_POWER_STATE         
150                                                   
151 /* Batch mode selectors */                        
152 #define HID_USAGE_SENSOR_PROP_REPORT_LATENCY      
153                                                   
154 /* Per data field properties */                   
155 #define HID_USAGE_SENSOR_DATA_MOD_NONE            
156 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSI    
157 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSI    
158                                                   
159 /* Power state enumerations */                    
160 #define HID_USAGE_SENSOR_PROP_POWER_STATE_UNDE    
161 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D0_F    
162 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D1_L    
163 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D2_S    
164 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D3_S    
165 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D4_P    
166                                                   
167 /* Report State enumerations */                   
168 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_    
169 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_    
170                                                   
171 /* Custom Sensor (2000e1) */                      
172 #define HID_USAGE_SENSOR_HINGE                    
173 #define HID_USAGE_SENSOR_DATA_FIELD_LOCATION      
174 #define HID_USAGE_SENSOR_DATA_FIELE_TIME_SINCE    
175 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_USA    
176 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VAL    
177 /* Custom Sensor data 28=>x>=0 */                 
178 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VAL    
179         (HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VA    
180                                                   
181 #endif                                            
182                                                   

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