Home
last modified time | relevance | path

Searched +full:motion +full:- +full:sensors (Results 1 – 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/iio/common/
Dcros_ec_sensors_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
29 * Good enough for current sensors, they use up to 3 16 bit vectors.
36 * struct cros_ec_sensors_core_state - state data for EC sensors IIO driver
41 * @param: motion sensor parameters structure
42 * @resp: motion sensor response structure
43 * @type: type of motion sensor
44 * @loc: location where the motion sensor is placed
55 * is always 8-byte aligned.
56 * @read_ec_sensors_data: function used for accessing sensors values
127 /* List of extended channel specification for all sensors. */
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-driver-hid-wiimote19 motionp is the official Nintendo Motion+ extension, nunchuck is
24 Starting with kernel-version 3.11 Motion Plus hotplugging is
26 extension. You will get uevent notifications for the motion-plus
40 Other strings for each device-type are available and may be
41 added if new device-specific detections are added.
57 values for all 4 sensors. The values are separated by colons and
59 First, 0kg values for all 4 sensors are written, followed by the
60 17kg values for all 4 sensors and last the 34kg values for all 4
61 sensors.
64 values but may be used by user-space to perform other
[all …]
Dsysfs-bus-iio-mpu60505 Contact: linux-iio@vger.kernel.org
7 This is mounting matrix for motion sensors. Mounting matrix
9 [0, 1, 0; 1, 0, 0; 0, 0, -1]. Using this information, it would be
10 easy to tell the relative positions among sensors as well as their
11 positions relative to the board that holds these sensors. Identity matrix
Dsysfs-bus-iio-cros-ec4 Contact: linux-iio@vger.kernel.org
13 Contact: linux-iio@vger.kernel.org
16 the motion sensor is placed. For example, in a laptop a motion
23 Contact: linux-iio@vger.kernel.org
25 This attribute is exposed by the CrOS EC sensors driver and
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Dimx.rst1 .. SPDX-License-Identifier: GPL-2.0
7 ------------
15 - Image DMA Controller (IDMAC)
16 - Camera Serial Interface (CSI)
17 - Image Converter (IC)
18 - Sensor Multi-FIFO Controller (SMFC)
19 - Image Rotator (IRT)
20 - Video De-Interlacing or Combining Block (VDIC)
26 re-ordering (for example UYVY to YUYV) within the same colorspace, and
27 packed <--> planar conversion. The IDMAC can also perform a simple
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dnxp,fxos8700.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Robert Jones <rjones@gateworks.com>
14 …https://www.nxp.com/products/sensors/motion-sensors/6-axis/digital-motion-sensor-3d-accelerometer-
19 - nxp,fxos8700
28 interrupt-names:
33 - INT1
34 - INT2
36 drive-open-drain:
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6sx-udoo-neo-extended.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx6sx-udoo-neo.dtsi"
20 &i2c4 { /* Onboard Motion sensors */
Dimx6sx-udoo-neo-full.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "imx6sx-udoo-neo.dtsi"
21 phy-handle = <&ethphy1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
28 ethphy1: ethernet-phy@0 {
29 compatible = "ethernet-phy-ieee802.3-c22";
35 &i2c4 { /* Onboard Motion sensors */
Dimx6sx-udoo-neo.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
12 stdout-path = "serial0:115200n8";
16 compatible = "gpio-leds";
19 label = "udoo-neo:red:mmc";
21 default-state = "off";
22 linux,default-trigger = "mmc0";
26 label = "udoo-neo:orange:user";
28 default-state = "keep";
32 reg_sdio_pwr: regulator-sdio-pwr {
33 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/
Dcpia2_devel.rst1 .. SPDX-License-Identifier: GPL-2.0
15 - This is a driver version stripped of the 2.4 back compatibility
26 CMOS sensors - the vvl6410 CIF sensor and the vvl6500 VGA sensor. These will
27 be referred to as the 410 and the 500 sensors, or the CIF and VGA sensors.
47 compressed as Motion JPEG (JPEGA). The VC controls all of the compression
/kernel/linux/linux-5.10/Documentation/hid/
Dhid-sensor.rst2 HID Sensors Framework
9 "Standardization of HID usages for sensors would allow (but not require) sensor
26 Logical Minimum(-32767)
35 The report is indicating "sensor page (0x20)" contains an accelerometer-3D (0x73).
36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity
37 (0x045f) with a logical minimum value of -32767 and logical maximum of 32767. The
45 This specification defines many different types of sensors with different sets of
47 for different sensors. For example an accelerometer can send X,Y and Z data, whereas
51 - Core hid driver
52 - Individual sensor processing part (sensor drivers)
[all …]
/kernel/linux/linux-5.10/drivers/iio/light/
Dcros_ec_light_prox.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_light_prox - Driver for light and prox sensors behing CrosEC.
25 * light sensors to return the what the eye would see. For proximity, we
32 /* Shared by all sensors */
46 int idx = chan->scan_index; in cros_ec_light_prox_read()
48 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
52 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
60 ret = -EINVAL; in cros_ec_light_prox_read()
64 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
71 * pre-processed and represents the ambient light in cros_ec_light_prox_read()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dext-ctrls-camera.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _camera-controls:
10 digital) features of a device such as controllable lenses or sensors.
13 .. _camera-control-id:
23 .. _v4l2-exposure-auto-type:
28 enum v4l2_exposure_auto_type -
36 .. flat-table::
37 :header-rows: 0
38 :stub-columns: 0
40 * - ``V4L2_EXPOSURE_AUTO``
[all …]
/kernel/linux/linux-5.10/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_sensors - Driver for Chrome OS Embedded Controller sensors.
7 * This driver uses the cros-ec interface to communicate with the Chrome OS
8 * EC about sensors data. Data access is presented through iio sysfs.
29 /* Shared by all sensors */
44 int idx = chan->scan_index; in cros_ec_sensors_read()
46 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
50 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read()
57 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read()
58 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read()
[all …]
Dcros_ec_sensors_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_sensors_core - Common function for Chrome OS EC sensor driver.
111 mutex_lock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
112 st->param.cmd = MOTIONSENSE_CMD_EC_RATE; in cros_ec_sensor_set_ec_rate()
113 st->param.ec_rate.data = rate; in cros_ec_sensor_set_ec_rate()
115 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
149 mutex_lock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
150 st->param.cmd = MOTIONSENSE_CMD_EC_RATE; in cros_ec_sensor_get_report_latency()
151 st->param.ec_rate.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_sensor_get_report_latency()
154 latency = st->resp->ec_rate.ret; in cros_ec_sensor_get_report_latency()
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dcros_ec_baro.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_baro - Driver for barometer sensor behind CrosEC.
30 /* Shared by all sensors */
43 int idx = chan->scan_index; in cros_ec_baro_read()
45 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read()
58 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; in cros_ec_baro_read()
59 st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_baro_read()
61 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_baro_read()
65 *val = st->core.resp->sensor_range.ret; in cros_ec_baro_read()
67 /* scale * in_pressure_raw --> kPa */ in cros_ec_baro_read()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
13 can include temperature sensors, voltage sensors, fan speed
14 sensors and various additional features such as the ability to
17 sensors chip(s) below.
20 sensors-detect script from the lm_sensors package. Read
21 <file:Documentation/hwmon/userspace-tools.rst> for details.
49 used to access sensors outside the AB8500 chip.
52 will be called abx500-temp.
74 third revision of the Abit uGuru chip. Only reading the sensors
88 AD7314, ADT7301 and ADT7302 temperature sensors.
[all …]
/kernel/linux/linux-5.10/drivers/iio/accel/
Dsca3000.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sca3000_core.c -- support VTI sca3000 series accelerometers via SPI
44 /* Temp read untested - the e05 doesn't have the sensor */
62 * In motion detection mode the accelerations are band pass filtered
63 * (approx 1 - 25Hz) and then a programmable threshold used to trigger
82 /* Only available for SCA3000-D03 and SCA3000-D01 */
104 * Control which motion detector interrupts are on.
138 * Bypass - Bypass the low-pass filter in the signal channel so as to increase
141 * Narrow - Narrow low-pass filtering of the signal channel and half output
144 * Wide - Widen low-pass filtering of signal channel to increase bandwidth
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dcros_ec_commands.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * NOTE: This file is auto-generated from ChromeOS EC Open Source code from
52 * The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff
73 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
74 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
75 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
77 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */
78 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */
79 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */
80 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/
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>
28 - enum:
29 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
30 - ad,ad7414
31 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
32 - ad,adm9240
[all …]
/kernel/linux/linux-5.10/drivers/input/rmi4/
Drmi_f11.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2011-2015 Synaptics Incorporated
42 * by parsing that sensors query registers.
46 * sensors data registers must be determined by parsing its query registers.
66 * @rezero - writing this to the F11 command register will cause the sensor to
183 * @nr_fingers - describes the maximum number of fingers the 2-D sensor
185 * @has_rel - the sensor supports relative motion reporting.
186 * @has_abs - the sensor supports absolute poition reporting.
187 * @has_gestures - the sensor supports gesture reporting.
188 * @has_sensitivity_adjust - the sensor supports a global sensitivity
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
Dbma150.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * sensors BMA150 and SMB380.
11 * http://www.bosch-sensortec.com/content/language1/downloads/BST-BMA150-DS000-07.pdf
25 #define ABSMIN_ACC_VAL -(ABSMAX_ACC_VAL)
27 /* Each axis is represented by a 2-byte data word */
83 /* Any-motion interrupt register fields */
99 /* High-G interrupt register fields */
111 /* Low-G interrupt register fields */
155 if (client->irq) in bma150_write_byte()
156 disable_irq_nosync(client->irq); in bma150_write_byte()
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-sony.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
10 * Copyright (c) 2006-2013 Jiri Kosina
12 * Copyright (c) 2014-2016 Frank Praznik <frank.praznik@gmail.com>
40 #include "hid-ids.h"
83 /* PS/3 Motion controller */
310 * -------------------
429 {0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1},
461 struct sixaxis_led led[4]; /* LEDx at (4 - x) */
[all …]
Dhid-wiimote-modules.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com>
19 * re-detection which causes all modules to be unloaded and then reload the
22 * wdata->input is a shared input device. It is always initialized prior to
37 #include "hid-wiimote.h"
64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys()
66 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys()
68 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys()
70 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys()
72 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], in wiimod_keys_in_keys()
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/
Dkmx61.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * KMX61 - Kionix 6-axis Accelerometer/Magnetometer
7 * IIO driver for KMX61 (7-bit I2C slave address 0x0E or 0x0F).
32 * three 16-bit accelerometer output registers for X/Y/Z axis
45 * one 16-bit temperature output register
51 * three 16-bit magnetometer output registers for X/Y/Z axis
118 /* serialize access to non-atomic ops, e.g set_mode */
299 return -EINVAL; in kmx61_convert_freq_to_bit()
310 return -EINVAL; in kmx61_convert_wake_up_odr_to_bit()
314 * kmx61_set_mode() - set KMX61 device operating mode
[all …]

12