Home
last modified time | relevance | path

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

1234567891011

/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 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/Documentation/devicetree/bindings/pci/
H A Daxis,artpec6-pcie.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright 2025 Axis AB
4 ---
5 $id: http://devicetree.org/schemas/pci/axis,artpec6-pcie.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Axis ARTPEC-6 PCIe host controller
11 - Jesper Nilsson <jesper.nilsson@axis.com>
21 - axis,artpec6-pcie
22 - axis,artpec6-pcie-ep
23 - axis,artpec7-pcie
[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 - abb,spi-sensor
36 - acbel,fsg032
37 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
[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/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/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/Documentation/iio/
H A Dadis16480.rst1 .. SPDX-License-Identifier: GPL-2.0
61 +------------------------------------------+-------------------------------------------------------…
62 | 3-Axis Magnetometer related device files | Description …
63 +------------------------------------------+-------------------------------------------------------…
65 +------------------------------------------+-------------------------------------------------------…
66 | in_magn_x_calibbias | Calibration offset for the X-axis magnetometer channel…
67 +------------------------------------------+-------------------------------------------------------…
68 | in_magn_x_filter_low_pass_3db_frequency | Bandwidth for the X-axis magnetometer channel. …
69 +------------------------------------------+-------------------------------------------------------…
70 | in_magn_x_raw | Raw X-axis magnetometer channel value. …
[all …]
H A Dadis16475.rst1 .. 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 Dadis16550.rst1 .. SPDX-License-Identifier: GPL-2.0
43 +-------------------------------------------+------------------------------------------------------…
44 | 3-Axis Accelerometer related device files | Description …
45 +-------------------------------------------+------------------------------------------------------…
47 +-------------------------------------------+------------------------------------------------------…
49 +-------------------------------------------+------------------------------------------------------…
50 | in_accel_x_calibbias | Calibration offset for the X-axis accelerometer chann…
51 +-------------------------------------------+------------------------------------------------------…
52 | in_accel_x_calibscale | Calibration scale for the X-axis accelerometer channe…
53 +-------------------------------------------+------------------------------------------------------…
[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/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)
H A Dadxl34x.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
20 * X,Y,Z Axis Offset:
32 * selected axis from participation in Tap detection.
39 #define ADXL_SUPPRESS (1 << 3)
90 * or inactivity detection. A '0' excludes the selected axis from
116 #define ADXL_INACT_ACDC (1 << 3)
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
167 * result in undesirable behavior if Free-Fall interrupt is
[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/arch/arm/boot/dts/ti/omap/
H A Domap3-n9.dts1 // 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/
H A Dgpio-decoder.txt4 - compatible: should be "gpio-decoder"
5 - gpios: a spec of gpios (at least two) to be decoded to a number with
9 - decoder-max-value: Maximum possible value that can be reported by
11 - linux,axis: the input subsystem axis to map to (ABS_X/ABS_Y).
15 gpio-decoder0 {
16 compatible = "gpio-decoder";
17 gpios = <&pca9536 3 GPIO_ACTIVE_HIGH>,
21 linux,axis = <0>; /* ABS_X */
22 decoder-max-value = <9>;
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-anbernic-rg353x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/pinctrl/rockchip.h>
8 #include "rk3566-anbernic-rgxx3.dtsi"
11 adc-joystick {
12 compatible = "adc-joystick";
13 io-channels = <&adc_mux 0>,
16 <&adc_mux 3>;
[all …]
H A Drk3326-odroid-go3.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
9 #include "rk3326-odroid-go.dtsi"
12 model = "ODROID-GO Super";
13 compatible = "hardkernel,rk3326-odroid-go3", "rockchip,rk3326";
15 joystick_mux_controller: mux-controller {
16 compatible = "gpio-mux";
18 #mux-control-cells = <0>;
20 mux-gpios = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>,
24 joystick_mux: adc-mux {
[all …]

1234567891011