Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-6.6/drivers/iio/gyro/
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 …]
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",
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()
DKconfig67 tristate "BOSCH BMG160 Gyro Sensor"
74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
90 tristate "NXP FXAS21002C Gyro Sensor"
97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
/kernel/linux/linux-5.10/drivers/iio/gyro/
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 …]
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",
132 .name = "st-gyro-i2c",
Dhid-sensor-gyro-3d.c29 struct hid_sensor_hub_attribute_info gyro[GYRO_3D_CHANNEL_MAX]; member
106 report_id = gyro_state->gyro[chan->scan_index].report_id; in gyro_3d_read_raw()
107 min = gyro_state->gyro[chan->scan_index].logical_minimum; in gyro_3d_read_raw()
248 &st->gyro[CHANNEL_SCAN_INDEX_X + i]); in gyro_3d_parse_report()
253 st->gyro[CHANNEL_SCAN_INDEX_X + i].size); in gyro_3d_parse_report()
256 st->gyro[0].index, in gyro_3d_parse_report()
257 st->gyro[0].report_id, in gyro_3d_parse_report()
258 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
259 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
263 &st->gyro[CHANNEL_SCAN_INDEX_X], in gyro_3d_parse_report()
DKconfig67 tristate "BOSCH BMG160 Gyro Sensor"
74 Say yes here to build support for BOSCH BMG160 Tri-axis Gyro Sensor
90 tristate "NXP FXAS21002C Gyro Sensor"
97 Say yes here to build support for NXP FXAS21002C Tri-axis Gyro
/kernel/linux/linux-6.6/drivers/iio/imu/inv_icm42600/
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 …]
Dinv_icm42600_core.c54 .gyro = {
143 enum inv_icm42600_sensor_mode gyro, in inv_icm42600_set_pwr_mgmt0() argument
147 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
155 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0()
158 val = INV_ICM42600_PWR_MGMT0_GYRO(gyro) | in inv_icm42600_set_pwr_mgmt0()
166 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
184 if (gyro != oldgyro) { in inv_icm42600_set_pwr_mgmt0()
185 /* gyro startup time */ in inv_icm42600_set_pwr_mgmt0()
191 /* gyro stop time */ in inv_icm42600_set_pwr_mgmt0()
192 } else if (gyro == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0()
[all …]
Dinv_icm42600_buffer.h23 * @watermark: watermark configuration values for accel and gyro.
25 * @nb: gyro, accel and total samples in the FIFO data buffer.
33 unsigned int gyro; member
38 size_t gyro; member
76 const void **gyro, const int8_t **temp,
Dinv_icm42600_gyro.c79 struct inv_icm42600_fifo_sensor_data gyro; member
92 /* 3-axis gyro + temperature */
121 /* enable gyro sensor */ in inv_icm42600_gyro_update_scan_mode()
179 /* enable gyro sensor */ in inv_icm42600_gyro_read_sensor()
185 /* read gyro register data */ in inv_icm42600_gyro_read_sensor()
234 idx = st->conf.gyro.fs; in inv_icm42600_gyro_read_scale()
308 odr = st->conf.gyro.odr; in inv_icm42600_gyro_read_odr()
679 st->fifo.watermark.gyro = val; in inv_icm42600_gyro_hwfifo_set_watermark()
700 ret = st->fifo.nb.gyro; in inv_icm42600_gyro_hwfifo_flush()
727 name = devm_kasprintf(dev, GFP_KERNEL, "%s-gyro", st->name); in inv_icm42600_gyro_init()
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_buffer.c37 struct inv_icm42600_fifo_sensor_data gyro; member
44 const void **gyro, const int8_t **temp, in inv_icm42600_fifo_decode_packet() argument
54 *gyro = NULL; in inv_icm42600_fifo_decode_packet()
68 /* accel + gyro */ in inv_icm42600_fifo_decode_packet()
72 *gyro = &pack2->gyro; in inv_icm42600_fifo_decode_packet()
81 *gyro = NULL; in inv_icm42600_fifo_decode_packet()
87 /* gyro only */ in inv_icm42600_fifo_decode_packet()
90 *gyro = &pack1->data; in inv_icm42600_fifo_decode_packet()
105 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr); in inv_icm42600_buffer_update_fifo_period()
187 * set for gyro and accel sensors. Since watermark is all about acceptable data
[all …]
Dinv_icm42600_core.c54 .gyro = {
138 enum inv_icm42600_sensor_mode gyro, in inv_icm42600_set_pwr_mgmt0() argument
142 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
150 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0()
153 val = INV_ICM42600_PWR_MGMT0_GYRO(gyro) | in inv_icm42600_set_pwr_mgmt0()
161 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
179 if (gyro != oldgyro) { in inv_icm42600_set_pwr_mgmt0()
180 /* gyro startup time */ in inv_icm42600_set_pwr_mgmt0()
186 /* gyro stop time */ in inv_icm42600_set_pwr_mgmt0()
187 } else if (gyro == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0()
[all …]
Dinv_icm42600_gyro.c78 struct inv_icm42600_fifo_sensor_data gyro; member
91 /* 3-axis gyro + temperature */
120 /* enable gyro sensor */ in inv_icm42600_gyro_update_scan_mode()
178 /* enable gyro sensor */ in inv_icm42600_gyro_read_sensor()
184 /* read gyro register data */ in inv_icm42600_gyro_read_sensor()
233 idx = st->conf.gyro.fs; in inv_icm42600_gyro_read_scale()
307 odr = st->conf.gyro.odr; in inv_icm42600_gyro_read_odr()
678 st->fifo.watermark.gyro = val; in inv_icm42600_gyro_hwfifo_set_watermark()
699 ret = st->fifo.nb.gyro; in inv_icm42600_gyro_hwfifo_flush()
726 name = devm_kasprintf(dev, GFP_KERNEL, "%s-gyro", st->name); in inv_icm42600_gyro_init()
[all …]
Dinv_icm42600_buffer.h23 * @watermark: watermark configuration values for accel and gyro.
25 * @nb: gyro, accel and total samples in the FIFO data buffer.
33 unsigned int gyro; member
38 size_t gyro; member
76 const void **gyro, const int8_t **temp,
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/
Dst-sensors.txt56 - st,l3g4200d-gyro
57 - st,lsm330d-gyro
58 - st,lsm330dl-gyro
59 - st,lsm330dlc-gyro
60 - st,l3gd20-gyro
61 - st,l3gd20h-gyro
62 - st,l3g4is-gyro
63 - st,lsm330-gyro
64 - st,lsm9ds0-gyro
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/
Dst,st-sensors.yaml56 - st,l3g4200d-gyro
57 - st,l3g4is-gyro
58 - st,l3gd20-gyro
59 - st,l3gd20h-gyro
60 - st,lsm330-gyro
61 - st,lsm330d-gyro
62 - st,lsm330dl-gyro
63 - st,lsm330dlc-gyro
64 - st,lsm9ds0-gyro
193 compatible = "st,l3g4200d-gyro";
/kernel/linux/linux-6.6/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h26 * @sample_rate_div: Divider applied to gyro output rate.
31 * @gyro_config: gyro config register.
35 * @raw_gyro: Address of first gyro register.
104 * @gyro_en: gyro engine enabled
108 * @gyro_fifo_enable: enable gyro data output
158 unsigned int gyro; member
Dinv_mpu_core.c28 * this is the gyro scale translated from dynamic range plus/minus
372 /* manage accel & gyro engines */ in inv_mpu6050_switch_engine()
395 /* switch clock to internal when turning gyro off */ in inv_mpu6050_switch_engine()
421 if (sleep < st->hw->startup_time.gyro) in inv_mpu6050_switch_engine()
422 sleep = st->hw->startup_time.gyro; in inv_mpu6050_switch_engine()
433 /* switch clock to PLL when turning gyro on */ in inv_mpu6050_switch_engine()
520 * Clock source: Gyro PLL
643 /* temperature sensor work only with accel and/or gyro */ in inv_mpu6050_read_channel_data()
1039 * In MPU6050, the two matrix are the same because gyro and accel in inv_attr_show()
1159 /* 3-axis gyro */
[all …]
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h24 * @sample_rate_div: Divider applied to gyro output rate.
29 * @gyro_config: gyro config register.
33 * @raw_gyro: Address of first gyro register.
99 * @gyro_en: gyro engine enabled
103 * @gyro_fifo_enable: enable gyro data output
Dinv_mpu_core.c25 * this is the gyro scale translated from dynamic range plus/minus
329 /* manage accel & gyro engines */ in inv_mpu6050_switch_engine()
352 /* switch clock to internal when turning gyro off */ in inv_mpu6050_switch_engine()
390 /* switch clock to PLL when turning gyro on */ in inv_mpu6050_switch_engine()
477 * Clock source: Gyro PLL
601 /* temperature sensor work only with accel and/or gyro */ in inv_mpu6050_read_channel_data()
990 * In MPU6050, the two matrix are the same because gyro and accel in inv_attr_show()
1110 /* 3-axis gyro */
1113 /* 6-axis accel + gyro */
1185 /* 3-axis gyro */
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/imu/
Dinv_mpu6050.txt1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
3 http://www.invensense.com/mems/gyro/mpu6050.html
/kernel/linux/linux-5.10/include/linux/
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).
/kernel/linux/linux-6.6/include/linux/
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).

123456