Home
last modified time | relevance | path

Searched full:gyro (Results 1 – 25 of 52) sorted by relevance

123

/linux/drivers/iio/gyro/
H A Dst_gyro_spi.c22 * For old single-chip devices keep <device_name>-gyro to maintain
27 .compatible = "st,l3g4200d-gyro",
31 .compatible = "st,lsm330d-gyro",
35 .compatible = "st,lsm330dl-gyro",
39 .compatible = "st,lsm330dlc-gyro",
43 .compatible = "st,l3gd20-gyro",
47 .compatible = "st,l3gd20h-gyro",
51 .compatible = "st,l3g4is-gyro",
55 .compatible = "st,lsm330-gyro",
59 .compatible = "st,lsm9ds0-gyro",
[all …]
H A Dst_gyro_i2c.c22 .compatible = "st,l3g4200d-gyro",
26 .compatible = "st,lsm330d-gyro",
30 .compatible = "st,lsm330dl-gyro",
34 .compatible = "st,lsm330dlc-gyro",
38 .compatible = "st,l3gd20-gyro",
42 .compatible = "st,l3gd20h-gyro",
46 .compatible = "st,l3g4is-gyro",
50 .compatible = "st,lsm330-gyro",
54 .compatible = "st,lsm9ds0-gyro",
111 .name = "st-gyro-i2c",
H A Dhid-sensor-gyro-3d.c27 struct hid_sensor_hub_attribute_info gyro[GYRO_3D_CHANNEL_MAX]; member
113 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
114 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()
258 &st->gyro[CHANNEL_SCAN_INDEX_X + i]); in gyro_3d_parse_report()
263 st->gyro[CHANNEL_SCAN_INDEX_X + i].size); in gyro_3d_parse_report()
266 st->gyro[0].index, in gyro_3d_parse_report()
267 st->gyro[0].report_id, in gyro_3d_parse_report()
268 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
269 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
273 &st->gyro[CHANNEL_SCAN_INDEX_X], in gyro_3d_parse_report()
H A Dbmg160_spi.c57 MODULE_DESCRIPTION("BMG160 SPI Gyro driver");
H A DMakefile20 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
H A Dfxas21002c_spi.c68 MODULE_DESCRIPTION("FXAS21002C SPI Gyro driver");
H A Dfxas21002c_i2c.c67 MODULE_DESCRIPTION("FXAS21002C I2C Gyro driver");
H A Ditg3200_core.c29 #include <linux/iio/gyro/itg3200.h>
167 * Use the gyro clock as reference, as suggested by the datasheet
H A Dssp_gyro_sensor.c58 dev_err(&indio_dev->dev, "gyro sensor enable fail\n"); in ssp_gyro_write_raw()
H A Ditg3200_buffer.c20 #include <linux/iio/gyro/itg3200.h>
/linux/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.c38 struct inv_icm42600_fifo_sensor_data gyro; member
45 const void **gyro, const int8_t **temp, in inv_icm42600_fifo_decode_packet() argument
55 *gyro = NULL; in inv_icm42600_fifo_decode_packet()
69 /* accel + gyro */ in inv_icm42600_fifo_decode_packet()
73 *gyro = &pack2->gyro; in inv_icm42600_fifo_decode_packet()
82 *gyro = NULL; in inv_icm42600_fifo_decode_packet()
88 /* gyro only */ in inv_icm42600_fifo_decode_packet()
91 *gyro = &pack1->data; in inv_icm42600_fifo_decode_packet()
106 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr); in inv_icm42600_buffer_update_fifo_period()
188 * set for gyro and accel sensors. Since watermark is all about acceptable data
[all …]
H A Dinv_icm42600_core.c113 .gyro = {
129 .gyro = {
228 enum inv_icm42600_sensor_mode gyro, in inv_icm42600_set_pwr_mgmt0() argument
232 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
240 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0()
243 val = INV_ICM42600_PWR_MGMT0_GYRO(gyro) | in inv_icm42600_set_pwr_mgmt0()
251 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
269 if (gyro != oldgyro) { in inv_icm42600_set_pwr_mgmt0()
270 /* gyro startup time */ in inv_icm42600_set_pwr_mgmt0()
276 /* gyro stop time */ in inv_icm42600_set_pwr_mgmt0()
[all …]
H A Dinv_icm42600.h127 struct inv_icm42600_sensor_conf gyro; member
133 enum inv_icm42600_sensor_mode gyro; member
170 int64_t gyro; member
/linux/Documentation/devicetree/bindings/iio/
H A Dst,st-sensors.yaml57 - st,l3g4200d-gyro
58 - st,l3g4is-gyro
59 - st,l3gd20-gyro
60 - st,l3gd20h-gyro
61 - st,lsm330-gyro
62 - st,lsm330d-gyro
63 - st,lsm330dl-gyro
64 - st,lsm330dlc-gyro
65 - st,lsm9ds0-gyro
195 compatible = "st,l3g4200d-gyro";
/linux/arch/arm/boot/dts/st/
H A Dste-href-tvk1281618-r2.dtsi98 * ST-Micro L3D4200D gyro that is connected to the same lines
119 * ST-Micro L3D4200D gyro that is connected to the same lines
156 * ST-Micro L3D4200D gyro that is connected to the same lines
168 compatible = "st,l3g4200d-gyro";
/linux/include/linux/
H A Dhid-sensor-hub.h42 * @usage_id: Usage id for physical device, E.g. Gyro usage id.
43 * @attr_usage_id: Usage Id of a field, E.g. X-AXIS for a gyro.
119 * @usage_id: Usage id of the client (E.g. 0x200076 for Gyro).
133 * @usage_id: Usage id of the client (E.g. 0x200076 for Gyro).
/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_core.c31 * this is the gyro scale translated from dynamic range plus/minus
411 /* manage accel & gyro engines */ in inv_mpu6050_switch_engine()
434 /* switch clock to internal when turning gyro off */ in inv_mpu6050_switch_engine()
460 if (sleep < st->hw->startup_time.gyro) in inv_mpu6050_switch_engine()
461 sleep = st->hw->startup_time.gyro; in inv_mpu6050_switch_engine()
472 /* switch clock to PLL when turning gyro on */ in inv_mpu6050_switch_engine()
577 * Clock source: Gyro PLL
697 /* temperature sensor work only with accel and/or gyro */ in inv_mpu6050_read_channel_data()
1407 * In MPU6050, the two matrix are the same because gyro and accel in inv_attr_show()
1571 /* 3-axis gyro */
[all …]
/linux/drivers/hid/amd-sfh-hid/hid_descriptor/
H A Damd_sfh_hid_desc.c40 case gyro_idx: /* gyro */ in get_report_descriptor()
159 case gyro_idx: /* gyro */ in get_feature_report()
233 case gyro_idx: /* gyro */ in get_input_report()
/linux/tools/testing/selftests/hid/tests/
H A Dtest_sony.py77 r = uhdev.event(gyro=(rx, None, None))
88 r = uhdev.event(gyro=(None, ry, None))
97 r = uhdev.event(gyro=(None, None, rz))
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-gyro-bmg1605 The BMG160 gyro kernel module provides an additional trigger,
/linux/Documentation/devicetree/bindings/iio/gyroscope/
H A Dadi,adxrs290.yaml52 gyro@0 {
/linux/drivers/iio/common/cros_ec_sensors/
H A Dcros_ec_sensors.c293 /* There is only enough room for accel and gyro in the io space */ in cros_ec_sensors_probe()
309 .name = "cros-ec-gyro",
/linux/Documentation/devicetree/bindings/iio/imu/
H A Dst,lsm6dsx.yaml7 title: STM 6-axis (acc + gyro) IMU Mems sensors
/linux/drivers/iio/
H A DKconfig96 source "drivers/iio/gyro/Kconfig"
/linux/drivers/hid/
H A Dhid-steam.c1376 * (* accelerator/gyro is disabled by default)
1393 * 34-35 | s16 | -- | gyro X value
1394 * 36-36 | s16 | -- | gyro Y value
1395 * 38-39 | s16 | -- | gyro Z value
1521 * 30-31 | s16 | IMU ABS_RX | gyro X value
1522 * 32-33 | s16 | IMU ABS_RZ | gyro Y value
1523 * 34-35 | s16 | IMU ABS_RY | gyro Z value

123