| /kernel/linux/linux-4.19/include/linux/iio/common/ |
| D | cros_ec_sensors_core.h | 35 * Good enough for current sensors, they use up to 3 16 bit vectors. 43 * struct cros_ec_sensors_core_state - state data for EC sensors IIO driver 48 * @param: motion sensor parameters structure 49 * @resp: motion sensor response structure 50 * @type: type of motion sensor 51 * @loc: location where the motion sensor is placed 58 * is always 8-byte aligned. 59 * @read_ec_sensors_data: function used for accessing sensors values 84 * cros_ec_sensors_read_lpc() - retrieve data from EC shared memory 92 * Return: 0 on success, -errno on failure. [all …]
|
| /kernel/linux/linux-5.10/include/linux/iio/common/ |
| D | cros_ec_sensors_core.h | 1 /* 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-4.19/Documentation/ABI/testing/ |
| D | sysfs-driver-hid-wiimote | 19 motionp is the official Nintendo Motion+ extension, nunchuck is 23 Starting with kernel-version 3.11 Motion Plus hotplugging is 25 extension. You will get uevent notifications for the motion-plus 39 Other strings for each device-type are available and may be 40 added if new device-specific detections are added. 52 values for all 4 sensors. The values are separated by colons and 54 First, 0kg values for all 4 sensors are written, followed by the 55 17kg values for all 4 sensors and last the 34kg values for all 4 56 sensors. 58 values but may be used by user-space to perform other [all …]
|
| D | sysfs-bus-iio-mpu6050 | 5 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
|
| /kernel/linux/linux-4.19/Documentation/media/v4l-drivers/ |
| D | imx.rst | 5 ------------ 13 - Image DMA Controller (IDMAC) 14 - Camera Serial Interface (CSI) 15 - Image Converter (IC) 16 - Sensor Multi-FIFO Controller (SMFC) 17 - Image Rotator (IRT) 18 - Video De-Interlacing or Combining Block (VDIC) 24 re-ordering (for example UYVY to YUYV) within the same colorspace, and 25 even packed <--> planar conversion. It can also perform a simple 26 de-interlacing by interleaving even and odd lines during transfer [all …]
|
| D | cpia2.rst | 10 ------------ 26 -------- 28 - Supports cameras with the Vision stv6410 (CIF) and stv6500 (VGA) cmos 29 sensors. I only have the vga sensor, so can't test the other. 30 - Image formats: VGA, QVGA, CIF, QCIF, and a number of sizes in between. 33 - Palette: YCrCb, compressed with MJPEG. 34 - Some compression parameters are settable. 35 - Sensor framerate is adjustable (up to 30 fps CIF, 15 fps VGA). 36 - Adjust brightness, color, contrast while streaming. 37 - Flicker control settable for 50 or 60 Hz mains frequency. [all …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-driver-hid-wiimote | 19 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 …]
|
| D | sysfs-bus-iio-mpu6050 | 5 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
|
| D | sysfs-bus-iio-cros-ec | 4 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/ |
| D | imx.rst | 1 .. 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/ |
| D | nxp,fxos8700.yaml | 1 # 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/ |
| D | imx6sx-udoo-neo-extended.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx6sx-udoo-neo.dtsi" 20 &i2c4 { /* Onboard Motion sensors */
|
| D | imx6sx-udoo-neo-full.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "imx6sx-udoo-neo.dtsi" 21 phy-handle = <ðphy1>; 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 */
|
| /kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/ |
| D | cpia2_devel.rst | 1 .. 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/ |
| D | hid-sensor.rst | 2 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/ |
| D | cros_ec_light_prox.c | 1 // 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-4.19/Documentation/hid/ |
| D | hid-sensor.txt | 2 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 50 - Core hid driver 51 - Individual sensor processing part (sensor drivers) [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/common/cros_ec_sensors/ |
| D | cros_ec_sensors.c | 2 * cros_ec_sensors - Driver for Chrome OS Embedded Controller sensors. 15 * This driver uses the cros-ec interface to communicate with the Chrome OS 16 * EC about sensors data. Data access is presented through iio sysfs. 39 /* Shared by all sensors */ 54 int idx = chan->scan_index; in cros_ec_sensors_read() 56 mutex_lock(&st->core.cmd_lock); in cros_ec_sensors_read() 60 ret = st->core.read_ec_sensors_data(indio_dev, 1 << idx, &data); in cros_ec_sensors_read() 67 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_OFFSET; in cros_ec_sensors_read() 68 st->core.param.sensor_offset.flags = 0; in cros_ec_sensors_read() 70 ret = cros_ec_motion_send_host_cmd(&st->core, 0); in cros_ec_sensors_read() [all …]
|
| /kernel/linux/linux-4.19/drivers/iio/light/ |
| D | cros_ec_light_prox.c | 2 * cros_ec_light_prox - Driver for light and prox sensors behing CrosEC. 35 * light sensors to return the what the eye would see. For proximity, we 42 /* Shared by all sensors */ 56 int idx = chan->scan_index; in cros_ec_light_prox_read() 58 mutex_lock(&st->core.cmd_lock); in cros_ec_light_prox_read() 62 if (chan->type == IIO_PROXIMITY) { in cros_ec_light_prox_read() 65 ret = -EIO; in cros_ec_light_prox_read() 70 ret = -EINVAL; in cros_ec_light_prox_read() 74 if (chan->type == IIO_LIGHT) { in cros_ec_light_prox_read() 77 ret = -EIO; in cros_ec_light_prox_read() [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | ext-ctrls-camera.rst | 1 .. 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/ |
| D | cros_ec_sensors.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/include/linux/mfd/ |
| D | cros_ec_commands.h | 55 /* The actual block is 0x800-0x8ff, but some BIOSes think it's 0x880-0x8ff 75 #define EC_MEMMAP_TEMP_SENSOR 0x00 /* Temp sensors 0x00 - 0x0f */ 76 #define EC_MEMMAP_FAN 0x10 /* Fan speeds 0x10 - 0x17 */ 77 #define EC_MEMMAP_TEMP_SENSOR_B 0x18 /* More temp sensors 0x18 - 0x1f */ 79 #define EC_MEMMAP_ID_VERSION 0x22 /* Version of data in 0x20 - 0x2f */ 80 #define EC_MEMMAP_THERMAL_VERSION 0x23 /* Version of data in 0x00 - 0x1f */ 81 #define EC_MEMMAP_BATTERY_VERSION 0x24 /* Version of data in 0x40 - 0x7f */ 82 #define EC_MEMMAP_SWITCHES_VERSION 0x25 /* Version of data in 0x30 - 0x33 */ 83 #define EC_MEMMAP_EVENTS_VERSION 0x26 /* Version of data in 0x34 - 0x3f */ 85 /* Unused 0x28 - 0x2f */ [all …]
|
| /kernel/linux/linux-4.19/drivers/hwmon/ |
| D | Kconfig | 12 can include temperature sensors, voltage sensors, fan speed 13 sensors and various additional features such as the ability to 16 sensors chip(s) below. 19 sensors-detect script from the lm_sensors package. Read 20 <file:Documentation/hwmon/userspace-tools> for details. 47 used to access sensors outside the AB8500 chip. 50 will be called abx500-temp. 72 third revision of the Abit uGuru chip. Only reading the sensors 86 AD7314, ADT7301 and ADT7302 temperature sensors. 253 family of SMBus sensors chip found on most Intel X38, X48, X58, [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/pressure/ |
| D | cros_ec_baro.c | 1 // 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-4.19/drivers/iio/pressure/ |
| D | cros_ec_baro.c | 2 * cros_ec_baro - Driver for barometer sensor behind CrosEC. 39 /* Shared by all sensors */ 52 int idx = chan->scan_index; in cros_ec_baro_read() 54 mutex_lock(&st->core.cmd_lock); in cros_ec_baro_read() 60 ret = -EIO; in cros_ec_baro_read() 64 st->core.param.cmd = MOTIONSENSE_CMD_SENSOR_RANGE; in cros_ec_baro_read() 65 st->core.param.sensor_range.data = EC_MOTION_SENSE_NO_VALUE; in cros_ec_baro_read() 67 if (cros_ec_motion_send_host_cmd(&st->core, 0)) { in cros_ec_baro_read() 68 ret = -EIO; in cros_ec_baro_read() 71 *val = st->core.resp->sensor_range.ret; in cros_ec_baro_read() [all …]
|