Home
last modified time | relevance | path

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

12

/Linux-v5.15/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
126 /* List of extended channel specification for all sensors. */
/Linux-v5.15/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-v5.15/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-v5.15/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 …]
/Linux-v5.15/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
/Linux-v5.15/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 …]
/Linux-v5.15/drivers/hid/amd-sfh-hid/hid_descriptor/
Damd_sfh_hid_report_desc.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Authors: Nehal Bakulchandra Shah <Nehal-bakulchandra.shah@amd.com>
15 0x09, 0x73, /* Motion type Accel 3D */
83 0x0A, 0x52, 0x14, /* Sensor data motion accel and mod change sensitivity ABS) */
92 0x0A, 0x52, 0x24, /* HID usage sensor data (motion accel and mod max) */
102 0x0A, 0x52, 0x34, /* HID usage sensor data (motion accel and mod min) */
114 0x05, 0x20, /* HID usage page sensors */
144 0x0A, 0x53, 0x04, /* HID usage sensor data motion Acceleration X axis */
153 0x0A, 0x54, 0x04, /* HID usage sensor data motion Acceleration Y axis */
162 0x0A, 0x55, 0x04, /* HID usage sensor data motion Acceleration Z axis */
[all …]
/Linux-v5.15/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-v5.15/drivers/hid/
Dhid-playstation.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include "hid-ids.h"
48 /* Calibration data for playstation motion sensors. */
132 struct input_dev *sensors; member
187 /* Motion sensors */
201 static_assert(sizeof(struct dualsense_input_report) == DS_INPUT_REPORT_USB_SIZE - 1);
287 {0, -1}, {1, -1}, {1, 0}, {1, 1}, {0, 1}, {-1, 1}, {-1, 0}, {-1, -1},
302 if (!memcmp(entry->mac_address, dev->mac_address, sizeof(dev->mac_address))) { in ps_devices_list_add()
303 hid_err(dev->hdev, "Duplicate device found for MAC address %pMR.\n", in ps_devices_list_add()
304 dev->mac_address); in ps_devices_list_add()
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
15 most commonly used to refer to the USB-HID specification, but other
20 removed from the HID bus by the transport-layer drivers, such as
53 to work on raw hid events when they want to, and avoid using transport-specific
59 tristate "User-space I/O driver support for HID subsystem"
63 Say Y here if you want to provide HID I/O Drivers from user-space.
64 This allows to write I/O drivers in user-space and feed the data from
67 user-space device.
69 This driver cannot be used to parse HID-reports in user-space and write
70 special HID-drivers. You should use hidraw for that.
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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-v5.15/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.
112 mutex_lock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
113 st->param.cmd = MOTIONSENSE_CMD_EC_RATE; in cros_ec_sensor_set_ec_rate()
114 st->param.ec_rate.data = rate; in cros_ec_sensor_set_ec_rate()
116 mutex_unlock(&st->cmd_lock); in cros_ec_sensor_set_ec_rate()
150 mutex_lock(&st->cmd_lock); in cros_ec_sensor_get_report_latency()
151 st->param.cmd = MOTIONSENSE_CMD_EC_RATE; in cros_ec_sensor_get_report_latency()
152 st->param.ec_rate.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_sensor_get_report_latency()
155 latency = st->resp->ec_rate.ret; in cros_ec_sensor_get_report_latency()
[all …]
/Linux-v5.15/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:
32 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin
33 - ad,ad7414
34 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems
[all …]
/Linux-v5.15/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 …]
/Linux-v5.15/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 AD7314, ADT7301 and ADT7302 temperature sensors.
252 temperature and humidity sensors
262 watercooling pump sensors.
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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 …]
/Linux-v5.15/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