Home
last modified time | relevance | path

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

12

/linux-6.12.1/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()
73 *gyro = &pack2->gyro; in inv_icm42600_fifo_decode_packet()
82 *gyro = NULL; 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()
216 wm_gyro = inv_icm42600_wm_truncate(st->fifo.watermark.gyro, packet_size); in inv_icm42600_buffer_update_watermark()
219 period_gyro = inv_icm42600_odr_to_period(st->conf.gyro.odr) / 1000UL; in inv_icm42600_buffer_update_watermark()
403 watermark = &st->fifo.watermark.gyro; in inv_icm42600_buffer_postdisable()
[all …]
Dinv_icm42600_core.c98 .gyro = {
114 .gyro = {
213 enum inv_icm42600_sensor_mode gyro, in inv_icm42600_set_pwr_mgmt0() argument
217 enum inv_icm42600_sensor_mode oldgyro = st->conf.gyro.mode; in inv_icm42600_set_pwr_mgmt0()
225 if (gyro == oldgyro && accel == oldaccel && temp == oldtemp) in inv_icm42600_set_pwr_mgmt0()
228 val = INV_ICM42600_PWR_MGMT0_GYRO(gyro) | in inv_icm42600_set_pwr_mgmt0()
236 st->conf.gyro.mode = gyro; in inv_icm42600_set_pwr_mgmt0()
254 if (gyro != oldgyro) { in inv_icm42600_set_pwr_mgmt0()
262 } else if (gyro == INV_ICM42600_SENSOR_MODE_OFF) { in inv_icm42600_set_pwr_mgmt0()
326 INV_ICM42600_GYRO_ACCEL_CONFIG0_GYRO_FILT(st->conf.gyro.filter); in inv_icm42600_set_accel_conf()
[all …]
Dinv_icm42600_gyro.c79 struct inv_icm42600_fifo_sensor_data gyro; member
256 idx = st->conf.gyro.fs; in inv_icm42600_gyro_read_scale()
332 odr = st->conf.gyro.odr; in inv_icm42600_gyro_read_odr()
706 st->fifo.watermark.gyro = val; in inv_icm42600_gyro_hwfifo_set_watermark()
727 ret = st->fifo.nb.gyro; in inv_icm42600_gyro_hwfifo_flush()
811 const void *accel, *gyro, *timestamp; in inv_icm42600_gyro_parse_fifo() local
820 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm42600_gyro_parse_fifo()
826 if (gyro == NULL || !inv_icm42600_fifo_is_data_valid(gyro)) in inv_icm42600_gyro_parse_fifo()
836 memcpy(&buffer.gyro, gyro, sizeof(buffer.gyro)); in inv_icm42600_gyro_parse_fifo()
Dinv_icm42600_buffer.h33 unsigned int gyro; member
40 size_t gyro; member
78 const void **gyro, const int8_t **temp,
Dinv_icm42600.h127 struct inv_icm42600_sensor_conf gyro; member
133 enum inv_icm42600_sensor_mode gyro; member
170 int64_t gyro; member
Dinv_icm42600_accel.c906 const void *accel, *gyro, *timestamp; in inv_icm42600_accel_parse_fifo() local
915 &accel, &gyro, &temp, &timestamp, &odr); in inv_icm42600_accel_parse_fifo()
/linux-6.12.1/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()
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()
DMakefile20 obj-$(CONFIG_HID_SENSOR_GYRO_3D) += hid-sensor-gyro-3d.o
/linux-6.12.1/arch/arm/boot/dts/st/
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";
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-iio-gyro-bmg1605 The BMG160 gyro kernel module provides an additional trigger,
/linux-6.12.1/tools/testing/selftests/hid/tests/
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-6.12.1/drivers/iio/
DMakefile30 obj-y += gyro/
DKconfig96 source "drivers/iio/gyro/Kconfig"
/linux-6.12.1/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_iio.h163 unsigned int gyro; member
Dinv_mpu_core.c434 if (sleep < st->hw->startup_time.gyro) in inv_mpu6050_switch_engine()
435 sleep = st->hw->startup_time.gyro; in inv_mpu6050_switch_engine()
/linux-6.12.1/arch/arm/boot/dts/samsung/
Dexynos4412-p4note.dtsi385 gyro@6b {
386 compatible = "st,lsm330dlc-gyro";
880 gyro_data_enable: gyro-data-enable-pins {
948 gyro_irq: gyro-irq-pins {
/linux-6.12.1/drivers/hid/
Dhid-playstation.c216 __le16 gyro[3]; /* x, y, z */ member
434 __le16 gyro[3]; /* x, y, z */ member
1398 for (i = 0; i < ARRAY_SIZE(ds_report->gyro); i++) { in dualsense_parse_report()
1399 int raw_data = (short)le16_to_cpu(ds_report->gyro[i]); in dualsense_parse_report()
2307 for (i = 0; i < ARRAY_SIZE(ds4_report->gyro); i++) { in dualshock4_parse_report()
2308 int raw_data = (short)le16_to_cpu(ds4_report->gyro[i]); in dualshock4_parse_report()
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dmsm8916-longcheer-l8150.dts377 gyro_int_default: gyro-int-default-state {
Dmsm8992-xiaomi-libra.dts148 /* ST lsm6db0 gyro/accelerometer */
Dmsm8916-alcatel-idol347.dts383 gyro_int_default: gyro-int-default-state {
/linux-6.12.1/arch/arm64/boot/dts/renesas/
Dulcb-kf.dtsi222 compatible = "st,lsm9ds0-gyro";
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-popmetal.dts373 compatible = "st,l3g4200d-gyro";

12