Home
last modified time | relevance | path

Searched +full:sensor +full:- +full:hub (Results 1 – 25 of 95) sorted by relevance

1234

/Linux-v6.6/include/linux/
Dhid-sensor-hub.h1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
39 * struct sensor_hub_pending - Synchronous read pending information
43 * @attr_usage_id: Usage Id of a field, E.g. X-AXIS for a gyro.
57 * struct hid_sensor_hub_device - Stores the hub instance data
59 * @vendor_id: Vendor id of hub device.
60 * @product_id: Product id of hub device.
61 * @usage: Usage id for this hub device instance.
79 * struct hid_sensor_hub_callbacks - Client callback functions
[all …]
/Linux-v6.6/drivers/hid/intel-ish-hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 tristate "Intel Integrated Sensor Hub"
11 The Integrated Sensor Hub (ISH) enables the ability to offload
12 sensor polling and algorithm processing to a dedicated low power
25 The Integrated Sensor Hub (ISH) enables the kernel to offload
26 sensor polling and algorithm processing to a dedicated low power
/Linux-v6.6/include/linux/platform_data/
Dcros_ec_sensorhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Chrome OS EC MEMS Sensor Hub driver.
19 * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
20 * @sensor_num: Id of the sensor, as reported by the EC.
27 * typedef cros_ec_sensorhub_push_data_cb_t - Callback function to send datum
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
94 /* struct cros_ec_sensors_ts_batch_state - State of batch of a single sensor.
104 * @newest_sensor_event: Last sensor timestamp.
115 * struct cros_ec_sensorhub - Sensor Hub device data.
118 * @ec: Embedded Controller where the hub is located.
[all …]
/Linux-v6.6/drivers/platform/chrome/
Dcros_ec_sensorhub.c1 // SPDX-License-Identifier: GPL-2.0
3 * Sensor HUB driver that discovers sensors behind a ChromeOS Embedded
19 #define DRV_NAME "cros-ec-sensorhub"
53 struct cros_ec_command *msg = sensorhub->msg; in cros_ec_sensorhub_register()
54 struct cros_ec_dev *ec = sensorhub->ec; in cros_ec_sensorhub_register()
59 msg->version = 1; in cros_ec_sensorhub_register()
60 msg->insize = sizeof(struct ec_response_motion_sense); in cros_ec_sensorhub_register()
61 msg->outsize = sizeof(struct ec_params_motion_sense); in cros_ec_sensorhub_register()
63 for (i = 0; i < sensorhub->sensor_num; i++) { in cros_ec_sensorhub_register()
64 sensorhub->params->cmd = MOTIONSENSE_CMD_INFO; in cros_ec_sensorhub_register()
[all …]
Dcros_ec_sensorhub_ring.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for Chrome OS EC Sensor hub FIFO.
43 int id = sample->sensor_id; in cros_sensorhub_send_sample()
46 if (id >= sensorhub->sensor_num) in cros_sensorhub_send_sample()
47 return -EINVAL; in cros_sensorhub_send_sample()
49 cb = sensorhub->push_data[id].push_data_cb; in cros_sensorhub_send_sample()
53 indio_dev = sensorhub->push_data[id].indio_dev; in cros_sensorhub_send_sample()
55 if (sample->flag & MOTIONSENSE_SENSOR_FLAG_FLUSH) in cros_sensorhub_send_sample()
58 return cb(indio_dev, sample->vector, sample->timestamp); in cros_sensorhub_send_sample()
62 * cros_ec_sensorhub_register_push_data() - register the callback to the hub.
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
26 If you have an ACPI-compatible Chromebook, say Y or M here.
47 The range of memory used is 0xf00000-0x1000000, traditionally
83 EC through an I2C bus. This uses a simple byte-level protocol with
92 through rpmsg. This uses a simple byte-level protocol with a
93 checksum. Also since there's no addition EC-to-host interrupt, this
105 firmware running on Intel Integrated Sensor Hub (ISH), using the
106 ISH Transport protocol (ISH-TP). This uses a simple byte-level
118 through a SPI bus, using a byte-level protocol. Since the EC's
120 'pre-amble' bytes before the response actually starts.
[all …]
/Linux-v6.6/drivers/hid/amd-sfh-hid/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-or-later
7 tristate "AMD Sensor Fusion Hub"
11 AMD Sensor Fusion Hub.
16 be called amd-sfh.
/Linux-v6.6/Documentation/hid/
Dhid-sensor.rst4 HID sensor framework provides necessary interfaces to implement sensor drivers,
5 which are connected to a sensor hub. The sensor hub is a HID device and it provides
6 a report descriptor conforming to HID 1.12 sensor usage tables.
8 Description from the HID 1.12 "HID Sensor Usages" specification:
9 "Standardization of HID usages for sensors would allow (but not require) sensor
15 This specification describes many usage IDs, which describe the type of sensor
16 and also the individual data fields. Each sensor can have variable number of
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
[all …]
Dintel-ish-hid.rst2 Intel Integrated Sensor Hub (ISH)
5 A sensor hub enables the ability to offload sensor polling and algorithm
6 processing to a dedicated low power co-processor. This allows the core
10 There are many vendors providing external sensor hubs conforming to HID
11 Sensor usage tables. These may be found in tablets, 2-in-1 convertible laptops
14 Intel® introduced integrated sensor hubs as a part of the SoC starting from
16 are many commercial devices already shipped with Integrated Sensor Hubs (ISH).
17 These ISH also comply to HID sensor specification, but the difference is the
18 transport protocol used for communication. The current external sensor hubs
27 ----------------- ----------------------
[all …]
Damd-sfh-hid.rst1 .. SPDX-License-Identifier: GPL-2.0
4 AMD Sensor Fusion Hub
6 AMD Sensor Fusion Hub (SFH) is part of an SOC starting from Ryzen-based platforms.
12 -------------
16 ---------------------------------
18 - -------------------------------
20 ---------------------------------------------
21 ---------------------------------
23 ---------------------------------
25 ---------------------------------
[all …]
/Linux-v6.6/drivers/fsi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
11 FSI - the FRU Support Interface - is a simple bus for low-level
12 access to POWER-based hardware.
29 symlinks in /dev/fsi/by-path when this option is enabled.
32 tristate "GPIO-based FSI master"
39 tristate "FSI hub master"
41 This option enables a FSI hub master driver. Hub is a type of FSI
84 a pipe-like FSI device for communicating with the self boot engine
91 This option enables an SBEFIFO based On-Chip Controller (OCC) device
93 and aggregates sensor data from the processor and system. The OCC can
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/iio/imu/
Dst,lsm6dsx.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STM 6-axis (acc + gyro) IMU Mems sensors
10 - Lorenzo Bianconi <lorenzo@kernel.org>
18 - enum:
19 - st,lsm6ds3
20 - st,lsm6ds3h
21 - st,lsm6dsl
22 - st,lsm6dsm
[all …]
/Linux-v6.6/drivers/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
27 See Documentation/misc-devices/ad525x_dpot.rst for the
40 module will be called ad525x_dpot-i2c.
51 module will be called ad525x_dpot-spi.
65 This option enables device driver support for in-band access to the
78 website <https://www-03.ibm.com/systems/info/x86servers/serverproven/compat/us/>
189 called smpro-errmon.
199 called smpro-misc.
202 tristate "CS5535/CS5536 Geode Multi-Function General Purpose Timer (MFGPT) support"
209 than the generic PIT, and are suitable for use as high-res timers.
[all …]
/Linux-v6.6/drivers/usb/misc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
13 Technologies USS-720 chip. These cables are plugged into your USB
19 printers may be connected to the USS-720 in this mode. The generic
30 Say Y here if you own an USS-720 USB->Parport cable and intend to
72 tristate "USB 7-Segment LED Display"
74 Say Y here if you have a USB 7-Segment Display by Delcom
107 driver supports the pre-programmed devices (incl. firmware)
108 by AK Modul-Bus Computer GmbH.
110 Please see: https://www.ak-modul-bus.de/stat/mikrocontroller.html
128 tristate "Siemens ID USB Mouse Fingerprint sensor support"
[all …]
/Linux-v6.6/drivers/iio/common/cros_ec_sensors/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
12 Contains core functions used by other IIO CrosEC sensor
22 presented by the ChromeOS EC Sensor hub.
26 tristate "ChromeOS EC Sensor for lid angle"
DMakefile1 # SPDX-License-Identifier: GPL-2.0-only
3 # Makefile for sensors seen through the ChromeOS EC sensor hub.
6 obj-$(CONFIG_IIO_CROS_EC_SENSORS_CORE) += cros_ec_sensors_core.o
7 obj-$(CONFIG_IIO_CROS_EC_SENSORS) += cros_ec_sensors.o
8 obj-$(CONFIG_IIO_CROS_EC_SENSORS_LID_ANGLE) += cros_ec_lid_angle.o
/Linux-v6.6/drivers/hid/
Dhid-sensor-hub.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <linux/hid-sensor-ids.h>
14 #include <linux/hid-sensor-hub.h>
15 #include "hid-ids.h"
20 * struct sensor_hub_data - Hold a instance data for a HID hub device
25 * @hid_sensor_hub_client_devs: Stores all MFD cells for a hub instance.
40 * struct hid_sensor_hub_callbacks_list - Stores callback list
43 * @hsdev: Stored hid instance for current hub device.
60 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report()
61 if (report->id == id) in sensor_hub_report()
[all …]
/Linux-v6.6/arch/arm/boot/dts/samsung/
Dexynos5422-odroidxu3.dts1 // SPDX-License-Identifier: GPL-2.0
10 /dts-v1/;
11 #include "exynos5422-odroidxu3-common.dtsi"
12 #include "exynos5422-odroidxu3-audio.dtsi"
13 #include "exynos54xx-odroidxu-leds.dtsi"
17 compatible = "hardkernel,odroid-xu3", "samsung,exynos5800", "samsung,exynos5";
28 power-sensor@40 {
31 shunt-resistor = <10000>;
35 power-sensor@41 {
38 shunt-resistor = <10000>;
[all …]
/Linux-v6.6/include/linux/iio/common/
Dcros_ec_sensors_core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * ChromeOS EC sensor hub
24 /* EC returns sensor values using signed 16 bit registers */
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 * @range_updated: True if the range of the sensor has been
54 * is always 8-byte aligned.
56 * @fifo_max_event_count: Size of the EC sensor FIFO
/Linux-v6.6/drivers/rtc/
Drtc-hid-sensor-time.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * HID Sensor Time Driver
9 #include <linux/hid-sensor-hub.h>
55 spin_lock_irqsave(&time_state->lock_last_time, flags); in hid_time_proc_event()
56 time_state->last_time = time_state->time_buf; in hid_time_proc_event()
57 spin_unlock_irqrestore(&time_state->lock_last_time, flags); in hid_time_proc_event()
58 complete(&time_state->comp_last_time); in hid_time_proc_event()
72 return (u32)(~0U); /* 0xff... or -1 to denote an error */ in hid_time_value()
81 struct rtc_time *time_buf = &time_state->time_buf; in hid_time_capture_sample()
86 * The draft for HID-sensors (HUTRR39) currently doesn't define in hid_time_capture_sample()
[all …]
/Linux-v6.6/drivers/iio/pressure/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
10 tristate "Honeywell ABP pressure sensor driver"
20 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver"
28 an additional humidity sensor channel.
31 will be called bmp280 and you will also get bmp280-i2c for I2C
32 and/or bmp280-spi for SPI support.
47 tristate "ChromeOS EC Barometer Sensor"
50 Say yes here to build support for the Barometer sensor when
51 presented by the ChromeOS EC Sensor hub.
69 tristate "Infineon DPS310 pressure and temperature sensor"
[all …]
/Linux-v6.6/drivers/platform/surface/aggregator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0+
2 # Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
11 embedded controller (EC) found on 5th- and later-generation Microsoft
17 - EC access from ACPI via Surface ACPI Notify (5th- and 6th-generation)
18 - battery status information (all devices)
19 - thermal sensor access (all devices)
20 - performance mode / cooling mode control (all devices)
21 - clipboard detachment system control (Surface Book 2 and 3)
22 - HID / keyboard input (Surface Laptops, Surface Book 3)
25 built. This includes a driver for the Surface Serial Hub (SSH), which
[all …]
/Linux-v6.6/drivers/iio/gyro/
Dmpu3050.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * enum mpu3050_fullscale - indicates the full range of the sensor in deg/sec
19 * enum mpu3050_lpf - indicates the low pass filter width
42 * struct mpu3050 - instance state container for the device
52 * @calibration: the three signed 16-bit calibration settings that
55 * @trig: trigger for the MPU-3050 interrupt, if present
64 * @i2cmux: an I2C mux reflecting the fact that this sensor is a hub with
65 * a pass-through I2C interface coming out of it: this device needs to be
/Linux-v6.6/drivers/platform/surface/
Dsurface_aggregator_registry.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Registry for non-platform/non-ACPI SSAM client devices, i.e. devices that
6 * cannot be auto-detected. Provides device-hubs and performs instantiation
9 * Copyright (C) 2020-2022 Maximilian Luz <luzmaximilian@gmail.com>
22 /* -- Device registry. ------------------------------------------------------ */
27 * function, each encoded as two-digit hexadecimal, separated by ':'. In other
32 * Where, 'dd', 'cc', 'tt', 'ii', and 'ff' are the two-digit hexadecimal
41 /* KIP device hub (connects keyboard cover devices on Surface Pro 8). */
47 /* Base device hub (devices attached to Surface Book 3 base). */
71 /* Platform profile / performance-mode device. */
[all …]
/Linux-v6.6/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <linux/hid-sensor-hub.h>
13 #include "../common/hid-sensors/hid-sensor-trigger.h"
40 /* dynamically sized array to hold sensor values */
42 /* array of pointers to sensor value */
153 int report_id = -1; in magn_3d_read_raw()
162 hid_sensor_power_state(&magn_state->magn_flux_attributes, true); in magn_3d_read_raw()
163 report_id = magn_state->magn[chan->address].report_id; in magn_3d_read_raw()
164 min = magn_state->magn[chan->address].logical_minimum; in magn_3d_read_raw()
165 address = magn_3d_addresses[chan->address]; in magn_3d_read_raw()
[all …]

1234