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


  1 /* SPDX-License-Identifier: GPL-2.0-only */         1 /* SPDX-License-Identifier: GPL-2.0-only */
  2 /*                                                  2 /*
  3  * HID Sensors Driver                               3  * HID Sensors Driver
  4  * Copyright (c) 2012, Intel Corporation.           4  * Copyright (c) 2012, Intel Corporation.
  5  */                                                 5  */
  6 #ifndef _HID_SENSORS_IDS_H                          6 #ifndef _HID_SENSORS_IDS_H
  7 #define _HID_SENSORS_IDS_H                          7 #define _HID_SENSORS_IDS_H
  8                                                     8 
  9 #define HID_MAX_PHY_DEVICES                         9 #define HID_MAX_PHY_DEVICES                                     0xFF
 10                                                    10 
 11 #define HID_USAGE_SENSOR_COLLECTION                11 #define HID_USAGE_SENSOR_COLLECTION                             0x200001
 12                                                    12 
 13 /* Accel 3D (200073) */                            13 /* Accel 3D (200073) */
 14 #define HID_USAGE_SENSOR_ACCEL_3D                  14 #define HID_USAGE_SENSOR_ACCEL_3D                               0x200073
 15 #define HID_USAGE_SENSOR_DATA_ACCELERATION         15 #define HID_USAGE_SENSOR_DATA_ACCELERATION                      0x200452
 16 #define HID_USAGE_SENSOR_ACCEL_X_AXIS              16 #define HID_USAGE_SENSOR_ACCEL_X_AXIS                           0x200453
 17 #define HID_USAGE_SENSOR_ACCEL_Y_AXIS              17 #define HID_USAGE_SENSOR_ACCEL_Y_AXIS                           0x200454
 18 #define HID_USAGE_SENSOR_ACCEL_Z_AXIS              18 #define HID_USAGE_SENSOR_ACCEL_Z_AXIS                           0x200455
 19                                                    19 
 20 /* ALS (200041) */                                 20 /* ALS (200041) */
 21 #define HID_USAGE_SENSOR_ALS                       21 #define HID_USAGE_SENSOR_ALS                                    0x200041
 22 #define HID_USAGE_SENSOR_DATA_LIGHT                22 #define HID_USAGE_SENSOR_DATA_LIGHT                             0x2004d0
 23 #define HID_USAGE_SENSOR_LIGHT_ILLUM               23 #define HID_USAGE_SENSOR_LIGHT_ILLUM                            0x2004d1
 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                                                    24 
 29 /* PROX (200011) */                                25 /* PROX (200011) */
 30 #define HID_USAGE_SENSOR_PROX                      26 #define HID_USAGE_SENSOR_PROX                                   0x200011
 31 #define HID_USAGE_SENSOR_DATA_PRESENCE             27 #define HID_USAGE_SENSOR_DATA_PRESENCE                          0x2004b0
 32 #define HID_USAGE_SENSOR_HUMAN_PRESENCE            28 #define HID_USAGE_SENSOR_HUMAN_PRESENCE                         0x2004b1
 33                                                    29 
 34 /* Pressure (200031) */                            30 /* Pressure (200031) */
 35 #define HID_USAGE_SENSOR_PRESSURE                  31 #define HID_USAGE_SENSOR_PRESSURE                               0x200031
 36 #define HID_USAGE_SENSOR_DATA_ATMOSPHERIC_PRES     32 #define HID_USAGE_SENSOR_DATA_ATMOSPHERIC_PRESSURE              0x200430
 37 #define HID_USAGE_SENSOR_ATMOSPHERIC_PRESSURE      33 #define HID_USAGE_SENSOR_ATMOSPHERIC_PRESSURE                   0x200431
 38                                                    34 
 39 /* Tempreture (200033) */                          35 /* Tempreture (200033) */
 40 #define HID_USAGE_SENSOR_TEMPERATURE               36 #define HID_USAGE_SENSOR_TEMPERATURE                            0x200033
 41 #define HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TE     37 #define HID_USAGE_SENSOR_DATA_ENVIRONMENTAL_TEMPERATURE         0x200434
 42                                                    38 
 43 /* humidity */                                     39 /* humidity */
 44 #define HID_USAGE_SENSOR_HUMIDITY                  40 #define HID_USAGE_SENSOR_HUMIDITY                              0x200032
 45 #define HID_USAGE_SENSOR_ATMOSPHERIC_HUMIDITY      41 #define HID_USAGE_SENSOR_ATMOSPHERIC_HUMIDITY                  0x200433
 46                                                    42 
 47 /* Gyro 3D: (200076) */                            43 /* Gyro 3D: (200076) */
 48 #define HID_USAGE_SENSOR_GYRO_3D                   44 #define HID_USAGE_SENSOR_GYRO_3D                                0x200076
 49 #define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY        45 #define HID_USAGE_SENSOR_DATA_ANGL_VELOCITY                     0x200456
 50 #define HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS      46 #define HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS                   0x200457
 51 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS      47 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Y_AXIS                   0x200458
 52 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS      48 #define HID_USAGE_SENSOR_ANGL_VELOCITY_Z_AXIS                   0x200459
 53                                                    49 
 54 /* Gravity vector */                               50 /* Gravity vector */
 55 #define HID_USAGE_SENSOR_GRAVITY_VECTOR            51 #define HID_USAGE_SENSOR_GRAVITY_VECTOR                         0x20007B
 56                                                    52 
 57 /* ORIENTATION: Compass 3D: (200083) */            53 /* ORIENTATION: Compass 3D: (200083) */
 58 #define HID_USAGE_SENSOR_COMPASS_3D                54 #define HID_USAGE_SENSOR_COMPASS_3D                             0x200083
 59 #define HID_USAGE_SENSOR_DATA_ORIENTATION          55 #define HID_USAGE_SENSOR_DATA_ORIENTATION                       0x200470
 60 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING       56 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING                    0x200471
 61 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X     57 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_X                  0x200472
 62 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Y     58 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Y                  0x200473
 63 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Z     59 #define HID_USAGE_SENSOR_ORIENT_MAGN_HEADING_Z                  0x200474
 64                                                    60 
 65 #define HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORT     61 #define HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH                 0x200475
 66 #define HID_USAGE_SENSOR_ORIENT_COMP_TRUE_NORT     62 #define HID_USAGE_SENSOR_ORIENT_COMP_TRUE_NORTH                 0x200476
 67 #define HID_USAGE_SENSOR_ORIENT_MAGN_NORTH         63 #define HID_USAGE_SENSOR_ORIENT_MAGN_NORTH                      0x200477
 68 #define HID_USAGE_SENSOR_ORIENT_TRUE_NORTH         64 #define HID_USAGE_SENSOR_ORIENT_TRUE_NORTH                      0x200478
 69                                                    65 
 70 #define HID_USAGE_SENSOR_ORIENT_DISTANCE           66 #define HID_USAGE_SENSOR_ORIENT_DISTANCE                        0x200479
 71 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_X         67 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_X                      0x20047A
 72 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Y         68 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Y                      0x20047B
 73 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Z         69 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_Z                      0x20047C
 74 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_OUT_O     70 #define HID_USAGE_SENSOR_ORIENT_DISTANCE_OUT_OF_RANGE           0x20047D
 75                                                    71 
 76 /* ORIENTATION: Inclinometer 3D: (200086) */       72 /* ORIENTATION: Inclinometer 3D: (200086) */
 77 #define HID_USAGE_SENSOR_INCLINOMETER_3D           73 #define HID_USAGE_SENSOR_INCLINOMETER_3D                        0x200086
 78 #define HID_USAGE_SENSOR_ORIENT_TILT               74 #define HID_USAGE_SENSOR_ORIENT_TILT                            0x20047E
 79 #define HID_USAGE_SENSOR_ORIENT_TILT_X             75 #define HID_USAGE_SENSOR_ORIENT_TILT_X                          0x20047F
 80 #define HID_USAGE_SENSOR_ORIENT_TILT_Y             76 #define HID_USAGE_SENSOR_ORIENT_TILT_Y                          0x200480
 81 #define HID_USAGE_SENSOR_ORIENT_TILT_Z             77 #define HID_USAGE_SENSOR_ORIENT_TILT_Z                          0x200481
 82                                                    78 
 83 #define HID_USAGE_SENSOR_DEVICE_ORIENTATION        79 #define HID_USAGE_SENSOR_DEVICE_ORIENTATION                     0x20008A
 84 #define HID_USAGE_SENSOR_RELATIVE_ORIENTATION      80 #define HID_USAGE_SENSOR_RELATIVE_ORIENTATION                   0x20008E
 85 #define HID_USAGE_SENSOR_GEOMAGNETIC_ORIENTATI     81 #define HID_USAGE_SENSOR_GEOMAGNETIC_ORIENTATION                0x2000C1
 86 #define HID_USAGE_SENSOR_ORIENT_ROTATION_MATRI     82 #define HID_USAGE_SENSOR_ORIENT_ROTATION_MATRIX                 0x200482
 87 #define HID_USAGE_SENSOR_ORIENT_QUATERNION         83 #define HID_USAGE_SENSOR_ORIENT_QUATERNION                      0x200483
 88 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX          84 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX                       0x200484
 89                                                    85 
 90 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AX     86 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AXIS                0x200485
 91 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Y_AX     87 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Y_AXIS                0x200486
 92 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Z_AX     88 #define HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_Z_AXIS                0x200487
 93                                                    89 
 94 /* Time (2000a0) */                                90 /* Time (2000a0) */
 95 #define HID_USAGE_SENSOR_TIME                      91 #define HID_USAGE_SENSOR_TIME                                   0x2000a0
 96 #define HID_USAGE_SENSOR_TIME_YEAR                 92 #define HID_USAGE_SENSOR_TIME_YEAR                              0x200521
 97 #define HID_USAGE_SENSOR_TIME_MONTH                93 #define HID_USAGE_SENSOR_TIME_MONTH                             0x200522
 98 #define HID_USAGE_SENSOR_TIME_DAY                  94 #define HID_USAGE_SENSOR_TIME_DAY                               0x200523
 99 #define HID_USAGE_SENSOR_TIME_HOUR                 95 #define HID_USAGE_SENSOR_TIME_HOUR                              0x200525
100 #define HID_USAGE_SENSOR_TIME_MINUTE               96 #define HID_USAGE_SENSOR_TIME_MINUTE                            0x200526
101 #define HID_USAGE_SENSOR_TIME_SECOND               97 #define HID_USAGE_SENSOR_TIME_SECOND                            0x200527
102 #define HID_USAGE_SENSOR_TIME_TIMESTAMP            98 #define HID_USAGE_SENSOR_TIME_TIMESTAMP                         0x200529
103                                                    99 
104 /* Units */                                       100 /* Units */
105 #define HID_USAGE_SENSOR_UNITS_NOT_SPECIFIED      101 #define HID_USAGE_SENSOR_UNITS_NOT_SPECIFIED                    0x00
106 #define HID_USAGE_SENSOR_UNITS_LUX                102 #define HID_USAGE_SENSOR_UNITS_LUX                              0x01
107 #define HID_USAGE_SENSOR_UNITS_KELVIN             103 #define HID_USAGE_SENSOR_UNITS_KELVIN                           0x01000100
108 #define HID_USAGE_SENSOR_UNITS_FAHRENHEIT         104 #define HID_USAGE_SENSOR_UNITS_FAHRENHEIT                       0x03000100
109 #define HID_USAGE_SENSOR_UNITS_PASCAL             105 #define HID_USAGE_SENSOR_UNITS_PASCAL                           0xF1E1
110 #define HID_USAGE_SENSOR_UNITS_NEWTON             106 #define HID_USAGE_SENSOR_UNITS_NEWTON                           0x11E1
111 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SECO    107 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SECOND                0x11F0
112 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SEC_    108 #define HID_USAGE_SENSOR_UNITS_METERS_PER_SEC_SQRD              0x11E0
113 #define HID_USAGE_SENSOR_UNITS_FARAD              109 #define HID_USAGE_SENSOR_UNITS_FARAD                            0xE14F2000
114 #define HID_USAGE_SENSOR_UNITS_AMPERE             110 #define HID_USAGE_SENSOR_UNITS_AMPERE                           0x01001000
115 #define HID_USAGE_SENSOR_UNITS_WATT               111 #define HID_USAGE_SENSOR_UNITS_WATT                             0x21d1
116 #define HID_USAGE_SENSOR_UNITS_HENRY              112 #define HID_USAGE_SENSOR_UNITS_HENRY                            0x21E1E000
117 #define HID_USAGE_SENSOR_UNITS_OHM                113 #define HID_USAGE_SENSOR_UNITS_OHM                              0x21D1E000
118 #define HID_USAGE_SENSOR_UNITS_VOLT               114 #define HID_USAGE_SENSOR_UNITS_VOLT                             0x21D1F000
119 #define HID_USAGE_SENSOR_UNITS_HERTZ              115 #define HID_USAGE_SENSOR_UNITS_HERTZ                            0x01F0
120 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SEC    116 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SEC_SQRD             0x14E0
121 #define HID_USAGE_SENSOR_UNITS_RADIANS            117 #define HID_USAGE_SENSOR_UNITS_RADIANS                          0x12
122 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SEC    118 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SECOND               0x12F0
123 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SEC    119 #define HID_USAGE_SENSOR_UNITS_RADIANS_PER_SEC_SQRD             0x12E0
124 #define HID_USAGE_SENSOR_UNITS_SECOND             120 #define HID_USAGE_SENSOR_UNITS_SECOND                           0x0110
125 #define HID_USAGE_SENSOR_UNITS_GAUSS              121 #define HID_USAGE_SENSOR_UNITS_GAUSS                            0x01E1F000
126 #define HID_USAGE_SENSOR_UNITS_GRAM               122 #define HID_USAGE_SENSOR_UNITS_GRAM                             0x0101
127 #define HID_USAGE_SENSOR_UNITS_CENTIMETER         123 #define HID_USAGE_SENSOR_UNITS_CENTIMETER                       0x11
128 #define HID_USAGE_SENSOR_UNITS_G                  124 #define HID_USAGE_SENSOR_UNITS_G                                0x1A
129 #define HID_USAGE_SENSOR_UNITS_MILLISECOND        125 #define HID_USAGE_SENSOR_UNITS_MILLISECOND                      0x19
130 #define HID_USAGE_SENSOR_UNITS_PERCENT            126 #define HID_USAGE_SENSOR_UNITS_PERCENT                          0x17
131 #define HID_USAGE_SENSOR_UNITS_DEGREES            127 #define HID_USAGE_SENSOR_UNITS_DEGREES                          0x14
132 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SEC    128 #define HID_USAGE_SENSOR_UNITS_DEGREES_PER_SECOND               0x15
133                                                   129 
134 /* Common selectors */                            130 /* Common selectors */
135 #define HID_USAGE_SENSOR_PROP_DESC                131 #define HID_USAGE_SENSOR_PROP_DESC                              0x200300
136 #define HID_USAGE_SENSOR_PROP_FRIENDLY_NAME       132 #define HID_USAGE_SENSOR_PROP_FRIENDLY_NAME                     0x200301
137 #define HID_USAGE_SENSOR_PROP_SERIAL_NUM          133 #define HID_USAGE_SENSOR_PROP_SERIAL_NUM                        0x200307
138 #define HID_USAGE_SENSOR_PROP_MANUFACTURER        134 #define HID_USAGE_SENSOR_PROP_MANUFACTURER                      0x200305
139 #define HID_USAGE_SENSOR_PROP_MODEL            << 
140 #define HID_USAGE_SENSOR_PROP_REPORT_INTERVAL     135 #define HID_USAGE_SENSOR_PROP_REPORT_INTERVAL                   0x20030E
141 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_ABS     136 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_ABS                   0x20030F
142 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_RANG    137 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_RANGE_PCT             0x200310
143 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_REL_    138 #define HID_USAGE_SENSOR_PROP_SENSITIVITY_REL_PCT               0x200311
144 #define HID_USAGE_SENSOR_PROP_ACCURACY            139 #define HID_USAGE_SENSOR_PROP_ACCURACY                          0x200312
145 #define HID_USAGE_SENSOR_PROP_RESOLUTION          140 #define HID_USAGE_SENSOR_PROP_RESOLUTION                        0x200313
146 #define HID_USAGE_SENSOR_PROP_RANGE_MAXIMUM       141 #define HID_USAGE_SENSOR_PROP_RANGE_MAXIMUM                     0x200314
147 #define HID_USAGE_SENSOR_PROP_RANGE_MINIMUM       142 #define HID_USAGE_SENSOR_PROP_RANGE_MINIMUM                     0x200315
148 #define HID_USAGE_SENSOR_PROP_REPORT_STATE        143 #define HID_USAGE_SENSOR_PROP_REPORT_STATE                      0x200316
149 #define HID_USAGE_SENSOR_PROY_POWER_STATE         144 #define HID_USAGE_SENSOR_PROY_POWER_STATE                       0x200319
150                                                   145 
151 /* Batch mode selectors */                        146 /* Batch mode selectors */
152 #define HID_USAGE_SENSOR_PROP_REPORT_LATENCY      147 #define HID_USAGE_SENSOR_PROP_REPORT_LATENCY                    0x20031B
153                                                   148 
154 /* Per data field properties */                   149 /* Per data field properties */
155 #define HID_USAGE_SENSOR_DATA_MOD_NONE            150 #define HID_USAGE_SENSOR_DATA_MOD_NONE                                  0x00
156 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSI    151 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_ABS                0x1000
157 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSI    152 #define HID_USAGE_SENSOR_DATA_MOD_CHANGE_SENSITIVITY_REL_PCT            0xE000
158                                                   153 
159 /* Power state enumerations */                    154 /* Power state enumerations */
160 #define HID_USAGE_SENSOR_PROP_POWER_STATE_UNDE    155 #define HID_USAGE_SENSOR_PROP_POWER_STATE_UNDEFINED_ENUM        0x200850
161 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D0_F    156 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D0_FULL_POWER_ENUM    0x200851
162 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D1_L    157 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D1_LOW_POWER_ENUM     0x200852
163 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D2_S    158 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D2_STANDBY_WITH_WAKE_ENUM 0x200853
164 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D3_S    159 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D3_SLEEP_WITH_WAKE_ENUM 0x200854
165 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D4_P    160 #define HID_USAGE_SENSOR_PROP_POWER_STATE_D4_POWER_OFF_ENUM     0x200855
166                                                   161 
167 /* Report State enumerations */                   162 /* Report State enumerations */
168 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_    163 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_NO_EVENTS_ENUM    0x200840
169 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_    164 #define HID_USAGE_SENSOR_PROP_REPORTING_STATE_ALL_EVENTS_ENUM   0x200841
170                                                   165 
171 /* Custom Sensor (2000e1) */                      166 /* Custom Sensor (2000e1) */
172 #define HID_USAGE_SENSOR_HINGE                    167 #define HID_USAGE_SENSOR_HINGE                                  0x20020B
173 #define HID_USAGE_SENSOR_DATA_FIELD_LOCATION      168 #define HID_USAGE_SENSOR_DATA_FIELD_LOCATION                    0x200400
174 #define HID_USAGE_SENSOR_DATA_FIELE_TIME_SINCE    169 #define HID_USAGE_SENSOR_DATA_FIELE_TIME_SINCE_SYS_BOOT         0x20052B
175 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_USA    170 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_USAGE                0x200541
176 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VAL    171 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VALUE_BASE           0x200543
177 /* Custom Sensor data 28=>x>=0 */                 172 /* Custom Sensor data 28=>x>=0 */
178 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VAL    173 #define HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VALUE(x)                            \
179         (HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VA    174         (HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VALUE_BASE + (x))
180                                                   175 
181 #endif                                            176 #endif
182                                                   177 

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