| /linux/drivers/iio/accel/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "Analog Devices ADIS16201 Dual-Axis Digital Inclinometer and Accelerometer" 15 Say Y here to build support for Analog Devices adis16201 dual-axis 22 tristate "Analog Devices ADIS16209 Dual-Axis Digital Inclinometer and Accelerometer" 27 Say Y here to build support for Analog Devices adis16209 dual-axis digital inclinometer 37 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer I2C Driver" 42 Say Y here if you want to build i2c support for the Analog Devices 43 ADXL313 3-axis digital accelerometer. 50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver" 55 Say Y here if you want to build spi support for the Analog Devices [all …]
|
| /linux/Documentation/devicetree/bindings/iio/accel/ |
| H A D | lis302.txt | 8 - compatible: should be set to "st,lis3lv02d-spi" 9 - reg: the chipselect index 10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless 12 - interrupts: the interrupt generated by the device 15 - compatible: should be set to "st,lis3lv02d" 16 - reg: i2c slave address 17 - Vdd-supply: The input supply for Vdd 18 - Vdd_IO-supply: The input supply for Vdd_IO 23 - st,click-single-{x,y,z}: if present, tells the device to issue an 25 x/y/z axis. [all …]
|
| /linux/Documentation/devicetree/bindings/iio/ |
| H A D | mount-matrix.txt | 2 * is the definition of +/- values practical or counterintuitive? 13 that produce three-dimensional data in relation to the world where it is 21 of the (x,y,z) triplets, such as different registers to read these coordinates, 28 reference to (x,y,z) orientation, with (x,y) corresponding to these axes on the 29 screen and (z) being depth, the axis perpendicular to the screen. 32 to positive on the right, (y) from negative on the bottom to positive on top 37 reference. This means that the sensor may be flipped upside-down, left-right, 47 Device-to-world examples for some three-dimensional sensor types: 49 - Accelerometers have their world frame of reference toward the center of 50 gravity, usually to the core of the planet. A reading of the (x,y,z) values [all …]
|
| /linux/drivers/iio/imu/ |
| H A D | adis16400.c | 1 // SPDX-License-Identifier: GPL-2.0-only 31 #define ADIS16400_XGYRO_OUT 0x04 /* X-axis gyroscope output */ 32 #define ADIS16400_YGYRO_OUT 0x06 /* Y-axis gyroscope output */ 33 #define ADIS16400_ZGYRO_OUT 0x08 /* Z-axis gyroscope output */ 34 #define ADIS16400_XACCL_OUT 0x0A /* X-axis accelerometer output */ 35 #define ADIS16400_YACCL_OUT 0x0C /* Y-axis accelerometer output */ 36 #define ADIS16400_ZACCL_OUT 0x0E /* Z-axis accelerometer output */ 37 #define ADIS16400_XMAGN_OUT 0x10 /* X-axis magnetometer measurement */ 38 #define ADIS16400_YMAGN_OUT 0x12 /* Y-axis magnetometer measurement */ 39 #define ADIS16400_ZMAGN_OUT 0x14 /* Z-axis magnetometer measurement */ [all …]
|
| /linux/Documentation/input/ |
| H A D | multi-touch-protocol.rst | 4 Multi-touch (MT) Protocol 7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se> 11 ------------ 13 In order to utilize the full power of the new multi-touch and multi-user 16 document describes the multi-touch (MT) protocol which allows kernel 30 -------------- 34 packet. Since these events are ignored by current single-touch (ST) 48 All drivers mark the end of a multi-touch transfer by calling the usual 67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id 68 is interpreted as a contact, and the value -1 denotes an unused slot. A [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-lg3ff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include "hid-lg.h" 21 * 0 - seems to be command field 22 * 1 - 30 deal with the x axis 23 * 31 -60 deal with the y axis 25 * Field 1 is x axis constant force 26 * Field 31 is y axis constant force 28 * other interesting fields 1,2,3,4 on x axis 29 * (same for 31,32,33,34 on y axis) 36 * -127 0 -127 -127 makes the joystick loose on the left, [all …]
|
| H A D | hid-udraw-ps3.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "hid-ids.h" 21 * https://vvvv.org/contribution/udraw-hid 26 * - the touch area which works as a touchpad 27 * - the tablet area which works as a touchpad/drawing tablet 28 * - a joypad with a d-pad, and 7 buttons 29 * - an accelerometer device 47 * in order, X, Y and Z 66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET) 76 * The device's two-finger support is pretty unreliable, as [all …]
|
| /linux/Documentation/input/joydev/ |
| H A D | joystick.rst | 3 .. _joystick-doc: 14 linux-input@vger.kernel.org 16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it. 25 --------- 29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on. 35 ------------ 48 ln -s input/js0 js0 49 ln -s input/js1 js1 50 ln -s input/js2 js2 51 ln -s input/js3 js3 [all …]
|
| H A D | joystick-api.rst | 1 .. _joystick-api: 7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998 18 driver now reports only any changes of its state. See joystick-api.txt, 57 __u8 number; /* axis/button number */ 65 ------------- 86 --------------- 88 The values of ``number`` correspond to the axis or button that 90 is, you have both an axis 0 and a button 0). Generally, 93 Axis number 95 1st Axis X 0 [all …]
|
| /linux/Documentation/iio/ |
| H A D | adis16475.rst | 1 .. SPDX-License-Identifier: GPL-2.0 62 +-------------------------------------------+------------------------------------------------------… 63 | 3-Axis Accelerometer related device files | Description … 64 +-------------------------------------------+------------------------------------------------------… 66 +-------------------------------------------+------------------------------------------------------… 67 | in_accel_x_calibbias | Calibration offset for the X-axis accelerometer chann… 68 +-------------------------------------------+------------------------------------------------------… 69 | in_accel_x_raw | Raw X-axis accelerometer channel value. … 70 +-------------------------------------------+------------------------------------------------------… 71 | in_accel_y_calibbias | Calibration offset for the Y-axis accelerometer chann… [all …]
|
| H A D | adxl313.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 The ADXL313is a low noise density, low power, 3-axis accelerometer with 32 +---------------------------------------------------+----------------------------------------------… 33 | 3-Axis Accelerometer related device files | Description … 34 +---------------------------------------------------+----------------------------------------------… 36 +---------------------------------------------------+----------------------------------------------… 37 | in_accel_x_calibbias | Calibration offset for the X-axis acceleromet… 38 +---------------------------------------------------+----------------------------------------------… 39 | in_accel_x_raw | Raw X-axis accelerometer channel value. … 40 +---------------------------------------------------+----------------------------------------------… [all …]
|
| /linux/include/linux/input/ |
| H A D | adxl34x.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 20 * X,Y,Z Axis Offset: 30 * TAP_X/Y/Z Enable: Setting TAP_X, Y, or Z Enable enables X, 31 * Y, or Z participation in Tap detection. A '0' excludes the 32 * selected axis from participation in Tap detection. 89 * X/Y/Z Enable: A '1' enables X, Y, or Z participation in activity 90 * or inactivity detection. A '0' excludes the selected axis from 152 * result in the function appearing un-responsive if the 162 * holds the threshold value for Free-Fall detection. 163 * The data format is unsigned. The root-sum-square(RSS) value [all …]
|
| H A D | kxtj9.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 unsigned int min_interval; /* minimum poll interval (in milli-seconds) */ 14 unsigned int init_interval; /* initial poll interval (in milli-seconds) */ 17 * By default, x is axis 0, y is axis 1, z is axis 2; these can be 25 * Each axis can be negated to account for sensor orientation within 32 /* CTRL_REG1: set resolution, g-range, data ready enable */ 33 /* Output resolution: 8-bit valid or 12-bit valid */ 37 /* Output g-range: +/-2g, 4g, or 8g */
|
| /linux/Documentation/input/devices/ |
| H A D | iforce-protocol.rst | 7 Home page at `<http://web.archive.org/web/*/http://www.esil.univ-mrs.fr>`_ 16 specify force effects to I-Force 2.0 devices. None of this information comes 25 send data to your I-Force device based on what you read in this document. 30 All values are hexadecimal with big-endian encoding (msb on the left). Beware, 31 values inside packets are encoded using little-endian. Bytes whose roles are 35 ------------------------ 60 axis:: 64 00 X-Axis lsb 65 01 X-Axis msb 66 02 Y-Axis lsb, or gas pedal for a wheel [all …]
|
| H A D | cma3000_d0x.rst | 1 CMA3000-D0x Accelerometer 5 * VTI CMA3000-D0x 8 CMA3000-D0X Product Family Specification 8281000A.02.pdf 15 ----------- 17 CMA3000 Tri-axis accelerometer supports Motion detect, Measurement and 25 This mode is used to read the acceleration data on X,Y,Z 26 axis and supports 400, 100, 40 Hz sample frequency. 47 ------------- 50 Noise on X Axis 53 Noise on Y Axis [all …]
|
| H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 67 --------------------------- 71 button being pressed or released, or motion in either axis exceeding a 75 significantly more than the threshold delta x or y. This may happen since no 84 ; where y is the right button state 87 Y ; delta y as twos complement integer [all …]
|
| /linux/include/linux/ |
| H A D | lis3lv02d.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * struct lis3lv02d_platform_data - lis3 chip family platform data 8 * @click_thresh_x: Click detection unit x axis threshold 9 * @click_thresh_y: Click detection unit y axis threshold 10 * @click_thresh_z: Click detection unit z axis threshold 26 * @axis_x: Sensor orientation remapping for x-axis 27 * @axis_y: Sensor orientation remapping for y-axis 28 * @axis_z: Sensor orientation remapping for z-axis 111 #define LIS3_INV_DEV_X -1 112 #define LIS3_INV_DEV_Y -2 [all …]
|
| H A D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 77 __u32 serial; /* Serial Number - Integer */ 84 __u16 input; /* display type - see FB_DISP_* */ 85 __u16 dpms; /* DPMS support - see FB_DPMS_ */ 86 __u16 signal; /* Signal Type - see FB_SIGNAL_* */ 89 __u16 gamma; /* Gamma - in fractions of 100 */ 91 __u16 misc; /* Misc flags - see FB_MISC_* */ 133 /* only used by mach-pxa/am200epd.c */ 149 DECLARE_BITMAP(y, FB_MAX_BLIT_HEIGHT); 197 /* Format: test_bit(width - 1, blit_x) */ [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | hdaps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hdaps.c - driver for IBM's Hard Drive Active Protection System 9 * starting with the R40, T41, and X40. It provides a basic two-axis 31 #define HDAPS_NR_PORTS 0x30 /* number of ports: 0x1600 - 0x162f */ 34 #define HDAPS_PORT_YPOS 0x1612 /* y-axis position */ 35 #define HDAPS_PORT_XPOS 0x1614 /* x-axis position */ 37 #define HDAPS_PORT_YVAR 0x1617 /* y-axis variance (what is this?) */ 38 #define HDAPS_PORT_XVAR 0x1619 /* x-axis variance (what is this?) */ 71 * __get_latch - Get the value from a given port. Callers must hold hdaps_mtx. 79 * __check_latch - Check a port latch for a given value. Returns zero if the [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_cr_defs_client.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 7 /* clang-format off */ 10 * This register controls the anti-aliasing mode of the Tiling Co-Processor, independent control is 11 * provided in both X & Y axis. 15 * 2xmsaa is achieved by enabling Y - TE does AA on Y plane only 16 * 4xmsaa is achieved by enabling Y and X - TE does AA on X and Y plane 20 * 2xmsaa is achieved by enabling X2 - does not affect TE 21 * 4xmsaa is achieved by enabling Y and X2 - TE does AA on Y plane only 22 * 8xmsaa is achieved by enabling Y, X and X2 - TE does AA on X and Y plane 26 * 2xmsaa is achieved by enabling X2 - does not affect TE [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-n9.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n9.dts - Device Tree file for Nokia N9 8 /dts-v1/; 10 #include "omap3-n950-n9.dtsi" 11 #include <dt-bindings/input/input.h> 15 compatible = "nokia,omap3-n9", "ti,omap3630", "ti,omap3"; 23 vana-supply = <&vaux3>; 25 clock-frequency = <9600000>; 26 flash-leds = <&as3645a_flash &as3645a_indicator>; 29 link-frequencies = /bits/ 64 <199200000 210000000 499200000>; [all …]
|
| /linux/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | hideep.txt | 4 - compatible : must be "hideep,hideep-ts" 5 - reg : I2C slave address, (e.g. 0x6C). 6 - interrupts : Interrupt to which the chip is connected. 9 - vdd-supply : It is the controller supply for controlling 11 - vid-supply : It is the controller supply for controlling 13 - reset-gpios : Define for reset gpio pin. 15 - touchscreen-size-x : X axis size of touchscreen 16 - touchscreen-size-y : Y axis size of touchscreen 17 - linux,keycodes : Specifies an array of numeric keycode values to 23 #include "dt-bindings/input/input.h" [all …]
|
| /linux/Documentation/devicetree/bindings/iio/magnetometer/ |
| H A D | ti,tmag5273.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TI TMAG5273 Low-Power Linear 3D Hall-Effect Sensor 10 - Gerald Loacker <gerald.loacker@wolfvision.net> 13 The TI TMAG5273 is a low-power linear 3D Hall-effect sensor. This device 14 integrates three independent Hall-effect sensors in the X, Y, and Z axes. 19 on-axis and off-axis angle measurement topologies. The angle calculation is 20 performed using two user-selected magnetic axes. 29 "#io-channel-cells": [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | elan,ekth3000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Torokhov <dmitry.torokhov@gmail.com> 13 - $ref: touchscreen/touchscreen.yaml# 25 wakeup-source: 29 vcc-supply: 40 elan,middle-button: 46 description: number of antennas on the x axis 50 description: number of antennas on the y axis [all …]
|
| /linux/drivers/iio/magnetometer/ |
| H A D | mmc35240.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MMC35240 - MEMSIC 3-axis Magnetic Sensor 7 * IIO driver for MMC35240 (7-bit I2C slave address 0x30). 60 * #define OTP_CONVERT(REG) ((float)((REG) >=32 ? (32 - (REG)) : (REG)) * 0.006 61 * 1) For X axis, the COEFFICIENT is always 1. 62 * 2) For Y axis, the COEFFICIENT is as below: 65 * 3) For Z axis, the COEFFICIENT is as below: 70 /* scale = 1000 here for Y otp */ 71 #define MMC35240_OTP_CONVERT_Y(REG) (((REG) >= 32 ? (32 - (REG)) : (REG)) * 6) 74 #define MMC35240_OTP_CONVERT_Z(REG) (((REG) >= 32 ? (32 - (REG)) : (REG)) * 81) [all …]
|