Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c98 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func()
177 return sensors.gyro.sensitivity; in inv_get_gyro_sensitivity()
254 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale()
270 sensors.gyro.sample_rate_us = sample_rate_us; in inv_set_gyro_sample_rate()
271 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate()
272 if (sensors.gyro.bandwidth == 0) { in inv_set_gyro_sample_rate()
273 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_gyro_sample_rate()
317 *sample_rate_ms = sensors.gyro.sample_rate_ms; in inv_get_gyro_sample_rate_ms()
351 sensors.gyro.bandwidth = bandwidth_hz; in inv_set_gyro_bandwidth()
383 return (sensors.gyro.status & INV_SENSOR_ON) == INV_SENSOR_ON; in inv_get_gyro_on()
[all …]
Dhal_outputs.c165 long gyro[3]; in inv_get_sensor_type_gyroscope() local
168 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope()
170 values[0] = gyro[0] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
171 values[1] = gyro[1] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
172 values[2] = gyro[2] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
191 long gyro[3]; in inv_get_sensor_type_gyroscope_raw() local
194 inv_get_gyro_set_raw(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope_raw()
195 values[0] = gyro[0] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
196 values[1] = gyro[1] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
197 values[2] = gyro[2] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
[all …]
Ddata_builder.h128 struct inv_single_sensor_t gyro; member
240 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
297 void inv_get_gyro(long *gyro);
Dml_math_func.h102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
Dml_math_func.c70 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro) in inv_get_gyro_sum_of_sqr() argument
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.c99 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; in inv_db_load_func()
178 return sensors.gyro.sensitivity; in inv_get_gyro_sensitivity()
255 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale()
271 sensors.gyro.sample_rate_us = sample_rate_us; in inv_set_gyro_sample_rate()
272 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate()
273 if (sensors.gyro.bandwidth == 0) { in inv_set_gyro_sample_rate()
274 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us); in inv_set_gyro_sample_rate()
343 *ts = sensors.gyro.timestamp; in inv_raw_sensor_timestamp()
345 if (sensors.gyro.timestamp_prev != sensors.gyro.timestamp) in inv_raw_sensor_timestamp()
418 if ((sensors.gyro.status & INV_SENSOR_ON) == 0) { in inv_get_9_axis_timestamp()
[all …]
Dhal_outputs.c204 long gyro[3]; in inv_get_sensor_type_gyroscope() local
207 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope()
209 values[0] = gyro[0] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
210 values[1] = gyro[1] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
211 values[2] = gyro[2] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope()
230 long gyro[3]; in inv_get_sensor_type_gyroscope_raw() local
233 inv_get_gyro_set_raw(gyro, accuracy, timestamp); in inv_get_sensor_type_gyroscope_raw()
234 values[0] = gyro[0] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
235 values[1] = gyro[1] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
236 values[2] = gyro[2] * GYRO_CONVERSION; in inv_get_sensor_type_gyroscope_raw()
[all …]
Ddata_builder.h131 struct inv_single_sensor_t gyro; member
243 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
301 void inv_get_gyro(long *gyro);
Dml_math_func.h102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
Dml_math_func.c70 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro) in inv_get_gyro_sum_of_sqr() argument
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c51 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; in inv_get_sensor_type_gyro_raw_short()
67 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; in inv_get_sensor_type_gyro_raw_body_float()
94 long gyro[3]; in inv_get_sensor_type_gyro_float() local
95 inv_get_gyro_set(gyro, accuracy, timestamp); in inv_get_sensor_type_gyro_float()
97 values[0] = (float)gyro[0] / 65536.f; in inv_get_sensor_type_gyro_float()
98 values[1] = (float)gyro[1] / 65536.f; in inv_get_sensor_type_gyro_float()
99 values[2] = (float)gyro[2] / 65536.f; in inv_get_sensor_type_gyro_float()
Dand_constructor.c114 short gyro[3]; in inv_playback() local
146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file); in inv_playback()
148 inv_build_gyro(gyro, ts); in inv_playback()
150 gyro[0], gyro[1], gyro[2], ts); in inv_playback()
Dmain.c354 float gyro[3]; in fifo_callback() local
355 inv_get_gyro_float(gyro); in fifo_callback()
356 PRINT_3ELM_ARRAY_FLOAT(10, 5, gyro); in fifo_callback()
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dfast_no_motion.h30 inv_error_t inv_update_fast_nomot(long *gyro);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dfast_no_motion.h30 inv_error_t inv_update_fast_nomot(long *gyro);
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp450 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
455 mPendingEvents[RawGyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
2624 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status,
2627 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status,
2637 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2647 &s->gyro.status, (inv_time_t *)(&s->timestamp));
2650 &s->gyro.status, &s->timestamp);
2664 s->gyro.status = SENSOR_STATUS_UNRELIABLE;
2831 s->gyro.v, &s->gyro.status, (inv_time_t *)(&s->timestamp));
2834 s->gyro.v, &s->gyro.status, &s->timestamp);
[all …]
DMPLSensor.h551 void fillGyro(const char* gyro, struct sensor_t *list);
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp528 mPendingEvents[Gyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
533 mPendingEvents[RawGyro].gyro.status = SENSOR_STATUS_ACCURACY_HIGH; in MPLSensor()
2488 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status, in gyroHandler()
2491 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in gyroHandler()
2500 &s->gyro.status, &s->timestamp); in rawGyroHandler()
2507 s->gyro.status = SENSOR_STATUS_UNRELIABLE; in rawGyroHandler()
2613 s->gyro.v, &s->gyro.status, &s->timestamp); in laHandler()
2616 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in laHandler()
2624 update = inv_get_sensor_type_gravity(s->gyro.v, &s->gyro.status, in gravHandler()
2628 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update); in gravHandler()
[all …]
DMPLSensor.h543 void fillGyro(const char* gyro, struct sensor_t *list);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
DREADME24 other sensor output (including quaternion, gyro, accel, and compass.) in the
/hardware/libhardware/include/hardware/
Dsensors.h327 sensors_vec_t gyro; member
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp78 CHECK_MEMBER_AT(sensors_event_t, gyro, 24, 24); in CheckOffsets()
/hardware/qcom/msm8998/kernel-headers/media/
Dmsm_cam_sensor.h579 struct ois_gyro gyro; member
/hardware/qcom/msm8998/original-kernel-headers/media/
Dmsm_cam_sensor.h520 struct ois_gyro gyro; member