Home
last modified time | relevance | path

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

12

/Linux-v6.6/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
54 * is always 8-byte aligned.
55 * @read_ec_sensors_data: function used for accessing sensors values
127 /* List of extended channel specification for all sensors. */
/Linux-v6.6/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 …]
/Linux-v6.6/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
/Linux-v6.6/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 - Jonathan Cameron <jic23@kernel.org>
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 …]
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/
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";
18 led-red {
19 label = "udoo-neo:red:mmc";
21 default-state = "off";
22 linux,default-trigger = "mmc0";
25 led-orange {
26 label = "udoo-neo:orange:user";
28 default-state = "keep";
[all …]
/Linux-v6.6/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_report_desc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright 2020-2021 Advanced Micro Devices, Inc.
5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
16 0x09, 0x73, /* Motion type Accel 3D */
84 0x0A, 0x52, 0x14, /* Sensor data motion accel and mod change sensitivity ABS) */
93 0x0A, 0x52, 0x24, /* HID usage sensor data (motion accel and mod max) */
103 0x0A, 0x52, 0x34, /* HID usage sensor data (motion accel and mod min) */
115 0x05, 0x20, /* HID usage page sensors */
145 0x0A, 0x53, 0x04, /* HID usage sensor data motion Acceleration X axis */
154 0x0A, 0x54, 0x04, /* HID usage sensor data motion Acceleration Y axis */
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/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.
26 * light sensors to return the what the eye would see. For proximity, we
33 /* Shared by all sensors */
47 int idx = chan->scan_index; in cros_ec_light_prox_read()
49 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read()
53 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read()
61 ret = -EINVAL; in cros_ec_light_prox_read()
65 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read()
72 * pre-processed and represents the ambient light in cros_ec_light_prox_read()
[all …]
/Linux-v6.6/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.
30 /* Shared by all sensors */
45 int idx = chan->scan_index; in cros_ec_sensors_read()
47 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read()
51 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read()
58 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read()
59 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read()
[all …]
/Linux-v6.6/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 -
37 .. flat-table::
38 :header-rows: 0
39 :stub-columns: 0
41 * - ``V4L2_EXPOSURE_AUTO``
[all …]
/Linux-v6.6/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>
27 spi-max-frequency: true
31 - enum:
33 - acbel,fsg032
34 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
35 - ad,ad7414
[all …]
/Linux-v6.6/drivers/iio/pressure/
Dcros_ec_baro.c1 // SPDX-License-Identifier: GPL-2.0
3 * cros_ec_baro - Driver for barometer sensor behind CrosEC.
31 /* Shared by all sensors */
44 int idx = chan->scan_index; in cros_ec_baro_read()
46 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read()
59 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; in cros_ec_baro_read()
60 st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_baro_read()
62 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_baro_read()
66 *val = st->core.resp->sensor_range.ret; in cros_ec_baro_read()
68 /* scale * in_pressure_raw --> kPa */ in cros_ec_baro_read()
[all …]
/Linux-v6.6/drivers/hid/
Dhid-playstation.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2020-2022 Sony Interactive Entertainment
15 #include <linux/led-class-multicolor.h>
20 #include "hid-ids.h"
52 /* Calibration data for playstation motion sensors. */
149 struct input_dev *sensors; member
210 /* Motion sensors */
224 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1);
326 * 0x00 - 1ms
327 * 0x01 - 1ms
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
22 most commonly used to refer to the USB-HID specification, but other
27 removed from the HID bus by the transport-layer drivers, such as
58 to work on raw hid events when they want to, and avoid using transport-specific
64 tristate "User-space I/O driver support for HID subsystem"
67 Say Y here if you want to provide HID I/O Drivers from user-space.
68 This allows to write I/O drivers in user-space and feed the data from
71 user-space device.
73 This driver cannot be used to parse HID-reports in user-space and write
74 special HID-drivers. You should use hidraw for that.
[all …]
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>
14 * Copyright (c) 2020-2021 Pascal Giard <pascal.giard@etsmtl.ca>
45 #include "hid-ids.h"
101 /* PS/3 Motion controller */
328 * -------------------
449 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 …]
/Linux-v6.6/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.
61 third revision of the Abit uGuru chip. Only reading the sensors
75 current and power sensors of Ampere's Altra processor family SoC
76 with SMpro co-processor.
83 AD7314, ADT7301 and ADT7302 temperature sensors.
[all …]
/Linux-v6.6/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.
181 * struct f11_2d_sensor_queries - describes sensor capabilities
185 * @nr_fingers: describes the maximum number of fingers the 2-D sensor
187 * @has_rel: the sensor supports relative motion reporting.
193 * @nr_x_electrodes: the maximum number of electrodes the 2-D sensor
195 * @nr_y_electrodes: the maximum number of electrodes the 2-D sensor
205 * @has_anchored_finger: then the sensor supports the high-precision second
[all …]
/Linux-v6.6/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 …]
/Linux-v6.6/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
77 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */
78 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */
79 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */
81 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */
82 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */
83 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */
84 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */
[all …]
/Linux-v6.6/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 …]

12