Home
last modified time | relevance | path

Searched +full:3 +full:- +full:axis (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/linux/drivers/iio/accel/
H A DKconfig1 # 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"
43 ADXL313 3-axis digital accelerometer.
50 tristate "Analog Devices ADXL313 3-Axis Digital Accelerometer SPI Driver"
56 ADXL313 3-axis digital accelerometer.
66 tristate "Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver"
[all …]
H A Dmsa311.c1 // SPDX-License-Identifier: GPL-2.0
3 * MEMSensing digital 3-Axis accelerometer
5 * MSA311 is a tri-axial, low-g accelerometer with I2C digital output for
6 * sensitivity consumer applications. It has dynamic user-selectable full
7 * scales range of +-2g/+-4g/+-8g/+-16g and allows acceleration measurements
11 * and is guaranteed to operate over -40C to +85C.
14 * - IIO interface
15 * - Different power modes: NORMAL, SUSPEND
16 * - ODR (Output Data Rate) selection
17 * - Scale selection
[all …]
H A Dda280.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * IIO driver for the MiraMEMS DA217 and DA280 3-axis accelerometer and
4 * IIO driver for the MiraMEMS DA226 2-axis accelerometer
27 * a value of + or -4096 corresponds to + or - 1G
33 #define DA280_CHANNEL(reg, axis) { \ argument
37 .channel2 = IIO_MOD_##axis, \
73 ret = i2c_smbus_read_word_data(data->client, chan->address); in da280_read_raw()
87 return -EINVAL; in da280_read_raw()
109 return (ret < 0) ? ret : -ENODEV; in da280_probe()
113 dev_err(&client->dev, "Error match-data not set\n"); in da280_probe()
[all …]
/linux/drivers/iio/magnetometer/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Voltafield AF8133J 3-Axis Magnetometer"
17 Say yes here to build support for Voltafield AF8133J I2C-based
18 3-axis magnetometer chip.
24 tristate "Asahi Kasei AK8974 3-Axis Magnetometer"
31 AMI306 I2C-based 3-axis magnetometer chips.
37 tristate "Asahi Kasei AK8975 3-Axis Magnetometer"
44 AK09911, AK09912, AK09916 or AK09918 3-Axis Magnetometer.
50 tristate "Asahi Kasei AK09911 3-axis Compass"
97 tristate "Freescale MAG3110 3-Axis Magnetometer"
[all …]
H A Dyamaha-yas530.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * YAS530 MS-3E (2011 Samsung Galaxy S Advance)
8 * YAS532 MS-3R (2011 Samsung Galaxy S4)
9 * YAS533 MS-3F (Vivo 1633, 1707, V3, Y21L)
11 * YAS535 MS-6C
12 * YAS536 MS-3W
13 * YAS537 MS-3T (2015 Samsung Galaxy S6, Note 5, Galaxy S7)
14 * YAS539 MS-3S (2018 Samsung Galaxy A7 SM-A750FN)
57 #define YAS530_OFFSET_X 0x85 /* [-31 .. 31] */
58 #define YAS530_OFFSET_Y1 0x86 /* [-31 .. 31] */
[all …]
H A Dak8974.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
38 * 16-bit registers are little-endian. LSB is at the address defined below
65 #define AK8974_INT_THRES 0x26 /* Absolute any axis value threshold */
68 /* AK8974-specific offsets */
72 /* AMI305-specific offsets */
81 /* AMI306-specific control register */
86 /* fine axis sensitivity */
91 /* axis sensitivity */
96 /* axis cross-interference */
[all …]
/linux/Documentation/devicetree/bindings/
H A Dtrivial-devices.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/trivial-devices.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
27 spi-max-frequency: true
32 - enum:
34 - acbel,fsg032
35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
36 - ad,ad7414 # Deprecated, use adi,ad7414
[all …]
/linux/drivers/iio/gyro/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
45 tristate "Analog Devices ADXRS290 Dual-Axis MEMS Gyroscope SPI driver"
57 tristate "Analog Devices ADXRS450/3 Digital Output Gyroscope SPI driver"
74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
116 tristate "HID Gyroscope 3D"
119 Gyroscope 3D.
136 inv-mpu3050-i2c.
139 tristate "STMicroelectronics gyroscopes 3-Axis Driver"
151 tristate "STMicroelectronics gyroscopes 3-Axis I2C Interface"
[all …]
/linux/sound/pci/
H A Dazt3328.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 /* "PU" == "power-up value", as tested on PCI168 PCI rev. 10
85 …REQ_SUSPECTED_66200 0x06 | SOUNDFORMAT_XTAL2 /* 66200 (13240 * 5); 64000 may have been nicer :-\ */
111 #define IDX_IO_TIMER_VALUE 0x60 /* found this timer area by pure luck :-) */
122 /* some IRQ bit in here might also be used to signal a power-management timer
150 * in case playback is active? Or is this driver-induced?
156 /* bit 5: enabling this will activate permanent counting of bytes 2/3
157 * at gameport I/O (0xb402/3) (equal values each) and cause
175 * still lets us evaluate button states, but not axis states */
179 * --> FIFO/timing settings???) */
[all …]
/linux/Documentation/devicetree/bindings/pci/
H A Daxis,artpec6-pcie.txt1 * Axis ARTPEC-6 PCIe interface
4 and thus inherits all the common properties defined in snps,dw-pcie.yaml.
7 - compatible: "axis,artpec6-pcie", "snps,dw-pcie" for ARTPEC-6 in RC mode;
8 "axis,artpec6-pcie-ep", "snps,dw-pcie" for ARTPEC-6 in EP mode;
9 "axis,artpec7-pcie", "snps,dw-pcie" for ARTPEC-7 in RC mode;
10 "axis,artpec7-pcie-ep", "snps,dw-pcie" for ARTPEC-7 in EP mode;
11 - reg: base addresses and lengths of the PCIe controller (DBI),
13 - reg-names: Must include the following entries:
14 - "dbi"
15 - "phy"
[all …]
/linux/drivers/input/misc/
H A Dadxl34x.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ADXL345/346 Three-Axis Digital Accelerometers
25 #define OFSX 0x1E /* R/W X-axis offset */
26 #define OFSY 0x1F /* R/W Y-axis offset */
27 #define OFSZ 0x20 /* R/W Z-axis offset */
34 #define ACT_INACT_CTL 0x27 /* R/W Axis enable control for activity and */
36 #define THRESH_FF 0x28 /* R/W Free-fall threshold */
37 #define TIME_FF 0x29 /* R/W Free-fall time */
38 #define TAP_AXES 0x2A /* R/W Axis control for tap/double tap */
46 #define DATAX0 0x32 /* R X-Axis Data 0 */
[all …]
/linux/Documentation/devicetree/bindings/iio/
H A Dmount-matrix.txt2 * is the definition of +/- values practical or counterintuitive?
13 that produce three-dimensional data in relation to the world where it is
29 screen and (z) being depth, the axis perpendicular to the screen.
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
55 9.81 m/s^2 upwards along the (z) axis, i.e. out of the screen when the device
57 as the gravity vector is projected 1:1 onto the sensors (z)-axis.
67 +--------+ +--------+
69 +--------+ +--------+
[all …]
/linux/include/linux/
H A Dlis3lv02d.h1 /* 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
33 * @st_min_limits[3]: Selftest acceptance minimum values
34 * @st_max_limits[3]: Selftest acceptance maximum values
[all …]
/linux/drivers/staging/media/atomisp/pci/isp/kernels/tnr/tnr3/
H A Dia_css_tnr3_types.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 Copyright (c) 2010 - 2015, Intel Corporation.
20 * CSS-API header file for Temporal Noise Reduction v3 (TNR3) kernel
26 * The number of such segments is fixed at 3.
28 #define TNR3_NUM_SEGMENTS 3
33 * each. Each line graph has Luma values on the x axis and sigma values for
34 * each plane on the y axis. The three linear segments may have a different
37 * specified each on the Luma axis and the per plane Sigma axis. On the Luma
38 * axis two points are fixed (namely 0 and maximum luma value - depending on
41 * the per plane sigma axis are also specified at the interface.
[all …]
/linux/Documentation/iio/
H A Dadis16480.rst1 .. SPDX-License-Identifier: GPL-2.0
58 +------------------------------------------+-------------------------------------------------------…
59 | 3-Axis Magnetometer related device files | Description …
60 +------------------------------------------+-------------------------------------------------------…
62 +------------------------------------------+-------------------------------------------------------…
63 | in_magn_x_calibbias | Calibration offset for the X-axis magnetometer channel…
64 +------------------------------------------+-------------------------------------------------------…
65 | in_magn_x_filter_low_pass_3db_frequency | Bandwidth for the X-axis magnetometer channel. …
66 +------------------------------------------+-------------------------------------------------------…
67 | in_magn_x_raw | Raw X-axis magnetometer channel value. …
[all …]
/linux/Documentation/input/devices/
H A Diforce-protocol.rst7 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 Dcma3000_d0x.rst1 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
26 axis and supports 400, 100, 40 Hz sample frequency.
47 -------------
50 Noise on X Axis
53 Noise on Y Axis
56 Noise on Z Axis
[all …]
/linux/Documentation/input/joydev/
H A Djoystick.rst3 .. _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 ------------
47 mknod input/js3 c 13 3
48 ln -s input/js0 js0
49 ln -s input/js1 js1
50 ln -s input/js2 js2
[all …]
H A Djoystick-api.rst1 .. _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/drivers/iio/imu/
H A Dadis16400.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * 3d 2g Linear Accelerometers,
5 * 3d Gyroscopes,
6 * 3d Magnetometers via SPI
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 */
[all …]
/linux/drivers/hid/
H A Dhid-lg3ff.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include "hid-lg.h"
20 * There are 63 fields (only 3 of them currently used)
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)
[all …]
/linux/arch/arm/boot/dts/axis/
H A Dartpec6.dtsi2 * Device Tree Source for the Axis ARTPEC-6 SoC
4 * This file is dual-licensed: you can use it either under the terms
43 #include <dt-bindings/interrupt-controller/arm-gic.h>
44 #include <dt-bindings/dma/nbpfaxi.h>
45 #include <dt-bindings/clock/axis,artpec6-clkctrl.h>
48 #address-cells = <1>;
49 #size-cells = <1>;
50 compatible = "axis,artpec6";
51 interrupt-parent = <&intc>;
54 #address-cells = <1>;
[all …]
/linux/drivers/iio/common/scmi_sensors/
H A Dscmi_iio.c1 // SPDX-License-Identifier: GPL-2.0
24 #define SCMI_IIO_NUM_OF_AXIS 3
49 if (sensor_update->readings_count == 0) in scmi_iio_sensor_update_cb()
54 for (i = 0; i < sensor_update->readings_count; i++) in scmi_iio_sensor_update_cb()
55 sensor->iio_buf[i] = sensor_update->readings[i].value; in scmi_iio_sensor_update_cb()
57 if (!sensor->sensor_info->timestamped) { in scmi_iio_sensor_update_cb()
58 time_ns = ktime_to_ns(sensor_update->timestamp); in scmi_iio_sensor_update_cb()
62 * We are just using the values from the Axis 0 here. in scmi_iio_sensor_update_cb()
64 time = sensor_update->readings[0].timestamp; in scmi_iio_sensor_update_cb()
68 * time * power-of-10 multiplier(tstamp_scale) seconds. in scmi_iio_sensor_update_cb()
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-h.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 #include "sun50i-h700-anbernic-rg35xx-plus.dts"
11 compatible = "anbernic,rg35xx-h", "allwinner,sun50i-h700";
13 adc-joystick {
14 compatible = "adc-joystick";
15 io-channels = <&adc_mux 0>,
18 <&adc_mux 3>;
19 pinctrl-0 = <&joy_mux_pin>;
20 pinctrl-names = "default";
21 poll-interval = <60>;
[all …]
/linux/include/linux/input/
H A Dkxtj9.h1 /* 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 */
39 #define KXTJ9_G_4G (1 << 3)

12345678910>>...14