Home
last modified time | relevance | path

Searched refs:gyro (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/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()
72 *gyro = &pack2->gyro; in inv_icm42600_fifo_decode_packet()
81 *gyro = NULL; 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()
215 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark()
218 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
387 watermark = &st->fifo.watermark.gyro; in inv_icm42600_buffer_postdisable()
[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()
187 } else if (gyro == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0()
234 INV_ICM42600_GYRO_ACCEL_CONFIG0_GYRO_FILT(st->conf.gyro.filter); in inv_icm42600_set_accel_conf()
242 return inv_icm42600_set_pwr_mgmt0(st, st->conf.gyro.mode, conf->mode, in inv_icm42600_set_accel_conf()
[all …]
Dinv_icm42600_gyro.c78 struct inv_icm42600_fifo_sensor_data gyro; member
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()
734 inv_icm42600_timestamp_init(ts, inv_icm42600_odr_to_period(st->conf.gyro.odr)); in inv_icm42600_gyro_init()
763 const void *accel, *gyro, *timestamp; in inv_icm42600_gyro_parse_fifo() local
772 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm42600_gyro_parse_fifo()
778 if (gyro == NULL || !inv_icm42600_fifo_is_data_valid(gyro)) in inv_icm42600_gyro_parse_fifo()
788 memcpy(&buffer.gyro, gyro, sizeof(buffer.gyro)); in inv_icm42600_gyro_parse_fifo()
Dinv_icm42600_buffer.h33 unsigned int gyro; member
38 size_t gyro; member
76 const void **gyro, const int8_t **temp,
Dinv_icm42600.h104 struct inv_icm42600_sensor_conf gyro; member
110 enum inv_icm42600_sensor_mode gyro; member
147 int64_t gyro; member
Dinv_icm42600_accel.c751 const void *accel, *gyro, *timestamp; in inv_icm42600_accel_parse_fifo() local
760 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm42600_accel_parse_fifo()
/linux-6.1.9/drivers/iio/gyro/
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()
257 &st->gyro[CHANNEL_SCAN_INDEX_X + i]); in gyro_3d_parse_report()
262 st->gyro[CHANNEL_SCAN_INDEX_X + i].size); in gyro_3d_parse_report()
265 st->gyro[0].index, in gyro_3d_parse_report()
266 st->gyro[0].report_id, in gyro_3d_parse_report()
267 st->gyro[1].index, st->gyro[1].report_id, in gyro_3d_parse_report()
268 st->gyro[2].index, st->gyro[2].report_id); in gyro_3d_parse_report()
272 &st->gyro[CHANNEL_SCAN_INDEX_X], in gyro_3d_parse_report()
DMakefile20 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
/linux-6.1.9/Documentation/devicetree/bindings/iio/
Dst,st-sensors.yaml55 - st,l3g4200d-gyro
56 - st,l3g4is-gyro
57 - st,l3gd20-gyro
58 - st,l3gd20h-gyro
59 - st,lsm330-gyro
60 - st,lsm330d-gyro
61 - st,lsm330dl-gyro
62 - st,lsm330dlc-gyro
63 - st,lsm9ds0-gyro
190 compatible = "st,l3g4200d-gyro";
/linux-6.1.9/arch/arm/boot/dts/
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";
Dste-href-tvk1281618-r3.dtsi109 compatible = "st,l3g4200d-gyro";
Dste-snowball.dts377 compatible = "st,l3g4200d-gyro";
601 gyro {
Dstm32f429-disco.dts183 compatible = "st,l3gd20-gyro";
Drk3288-popmetal.dts373 compatible = "st,l3g4200d-gyro";
/linux-6.1.9/Documentation/ABI/testing/
Dsysfs-bus-iio-gyro-bmg1605 The BMG160 gyro kernel module provides an additional trigger,
/linux-6.1.9/drivers/iio/
DMakefile27 obj-y += gyro/
DKconfig83 source "drivers/iio/gyro/Kconfig"
/linux-6.1.9/Documentation/devicetree/bindings/iio/gyroscope/
Dadi,adxrs290.yaml49 gyro@0 {
/linux-6.1.9/Documentation/devicetree/bindings/iio/imu/
Dst,lsm6dsx.yaml7 title: STM 6-axis (acc + gyro) IMU Mems sensors
/linux-6.1.9/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h155 unsigned int gyro; member
/linux-6.1.9/arch/arm64/boot/dts/qcom/
Dmsm8916-alcatel-idol347.dts279 gyro_int_default: gyro-int-default {
Dmsm8916-longcheer-l8150.dts402 gyro_int_default: gyro-int-default {
Dmsm8992-xiaomi-libra.dts152 /* ST lsm6db0 gyro/accelerometer */
/linux-6.1.9/drivers/hid/
Dhid-playstation.c209 __le16 gyro[3]; /* x, y, z */ member
1124 for (i = 0; i < ARRAY_SIZE(ds_report->gyro); i++) { in dualsense_parse_report()
1125 int raw_data = (short)le16_to_cpu(ds_report->gyro[i]); in dualsense_parse_report()
/linux-6.1.9/arch/arm64/boot/dts/renesas/
Dulcb-kf.dtsi238 compatible = "st,lsm9ds0-gyro";

12