Home
last modified time | relevance | path

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

1234

/OK3568_Linux_fs/kernel/drivers/iio/imu/inv_icm42600/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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,
H A Dinv_icm42600.h104 struct inv_icm42600_sensor_conf gyro; member
110 enum inv_icm42600_sensor_mode gyro; member
147 int64_t gyro; member
/OK3568_Linux_fs/kernel/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",
132 .name = "st-gyro-i2c",
H A 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()
H A 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
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/
H A 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
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/iio/demo/
H A Drkiio_aiq_api_test.c330 memcpy(&(event[i].gyro), &(fifo[i].anglvel), sizeof(xyz_data_t)); in _rkiio_aiq_getData_gyro()
335 // fifo[i].timestamp, event[i].id, event[i].gyro.x, event[i].gyro.y, event[i].gyro.z, in _rkiio_aiq_getData_gyro()
374 memcpy(&(event[i].all.gyro), &(fifo[i].anglvel), sizeof(xyz_data_t)); in _rkiio_aiq_getData_all()
570 … printf("gyro data(%" PRIu64 "): x: %f, y: %f, z: %f: t: %" PRIu64 "\n", real_data[j].id, in virtual_aiq_register()
571 real_data[j].gyro.x, real_data[j].gyro.y, real_data[j].gyro.z, in virtual_aiq_register()
579 … "gyro data(%" PRIu64 "): gx: %f, gy: %f, gz: %f: , ax: %f, ay: %f, az: %f, " in virtual_aiq_register()
581 real_data[j].id, real_data[j].all.gyro.x, real_data[j].all.gyro.y, in virtual_aiq_register()
582 real_data[j].all.gyro.z, real_data[j].all.accel.x, in virtual_aiq_register()
591 printf("only support printf gyro\n"); in virtual_aiq_register()
699 // printf("gyro data(%llu): x: %f, y: %f, z: %f: t: %llu\n", in main()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/imu/inv_mpu6050/
H A 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 …]
H A 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
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/lib/
HDlibdvs_gyro.so__gmon_start__ _ITM_deregisterTMCloneTable _ITM_registerTMCloneTable __cxa_finalize _ZN7Rkclock10clockStartEv gettimeofday _ZN7Rkclock8clockEndENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE _ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc _ZNSo9_M_insertIlEERSoT_ _ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_ _ZSt4cout __aeabi_unwind_cpp_pr0 _ZNSt8ios_base4InitC1Ev __aeabi_atexit _ZNSt8ios_base4InitD1Ev _ZN7cvflann7anyimpl14big_any_policyIN2cv6StringEE5printERSoPKPv _ZN7cvflann7anyimpl14big_any_policyINS0_9empty_anyEED2Ev _ZN7cvflann7anyimpl14big_any_policyINS0_9empty_anyEED1Ev ...
/OK3568_Linux_fs/kernel/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).
H A Diam20680.h219 /* Gyro Offset Max Value (dps) */
221 /* Gyro Self Test Absolute Limits ST_AL (dps) */
H A Dicm2060x.h185 /* Gyro Offset Max Value (dps) */
187 /* Gyro Self Test Absolute Limits ST_AL (dps) */
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/imu/
H A Dinv_mpu6050.txt1 InvenSense MPU-6050 Six-Axis (Gyro + Accelerometer) MEMS MotionTracking Device
3 http://www.invensense.com/mems/gyro/mpu6050.html
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dste-href-tvk1281618-r2.dtsi23 * ST-Micro L3D4200D gyro that is connected to the same lines
41 * ST-Micro L3D4200D gyro that is connected to the same lines
H A Dste-href-tvk1281618.dtsi96 * ST-Micro L3D4200D gyro that is connected to the same lines
108 compatible = "st,l3g4200d-gyro";
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/algos/aeis/
H A Dimu_service.cpp176 ofs << data[i].id << "," << data[i].timestamp_us << "," << data[i].all.gyro.x << "," in GetData()
177 << data[i].all.gyro.y << "," << data[i].all.gyro.z << std::endl; in GetData()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/include/common/
H A Drk_aiq_mems_sensor.h102 gyro_data_t gyro; member
114 gyro_data_t gyro; member
/OK3568_Linux_fs/kernel/drivers/input/sensors/
H A Dsensor-dev.c253 return sprintf(buf, "no gyro sensor find\n"); in gyro_calibration_show()
256 return sprintf(buf, "gyro calibration: %d, %d, %d\n", sensor_cali_data.gyro_offset[0], in gyro_calibration_show()
261 dev_err(&sensor->client->dev, "read gyro sensor calibration data failed\n"); in gyro_calibration_show()
266 return sprintf(buf, "gyro calibration: %d, %d, %d\n", sensor_cali_data.gyro_offset[0], in gyro_calibration_show()
283 dev_err(&sensor->client->dev, "in %s read gyro data error\n", __func__); in gyro_do_calibration()
290 dev_info(&sensor->client->dev, "%d times, read gyro data is %d, %d, %d\n", in gyro_do_calibration()
301 dev_info(&sensor->client->dev, "gyro offset is %d, %d, %d\n", sensor_cali_data.gyro_offset[0], in gyro_do_calibration()
343 dev_err(&sensor->client->dev, "gyro do calibration failed\n"); in gyro_calibration_store()
349 dev_err(&sensor->client->dev, "write gyro sensor calibration data failed\n"); in gyro_calibration_store()
385 printk(KERN_ERR "%s:Fail to creat gyro class file\n", __func__); in sensor_class_init()
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-bus-iio-gyro-bmg1605 The BMG160 gyro kernel module provides an additional trigger,
/OK3568_Linux_fs/kernel/drivers/input/sensors/gyro/
H A Dicm2060x_gyro.c3 * kernel/drivers/input/sensors/gyro/icm2060x_gyro.c
94 /* Report gyro sensor information */ in gyro_report_value()

1234