/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 98 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 …]
|
D | hal_outputs.c | 165 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 …]
|
D | data_builder.h | 128 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);
|
D | ml_math_func.h | 102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
|
D | ml_math_func.c | 70 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/ |
D | data_builder.c | 99 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 …]
|
D | hal_outputs.c | 204 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 …]
|
D | data_builder.h | 131 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);
|
D | ml_math_func.h | 102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
|
D | ml_math_func.c | 70 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/ |
D | datalogger_outputs.c | 51 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()
|
D | and_constructor.c | 114 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()
|
D | main.c | 354 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/ |
D | fast_no_motion.h | 30 inv_error_t inv_update_fast_nomot(long *gyro);
|
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
D | fast_no_motion.h | 30 inv_error_t inv_update_fast_nomot(long *gyro);
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.cpp | 450 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 …]
|
D | MPLSensor.h | 551 void fillGyro(const char* gyro, struct sensor_t *list);
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 528 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 …]
|
D | MPLSensor.h | 543 void fillGyro(const char* gyro, struct sensor_t *list);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | README | 24 other sensor output (including quaternion, gyro, accel, and compass.) in the
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 327 sensors_vec_t gyro; member
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 78 CHECK_MEMBER_AT(sensors_event_t, gyro, 24, 24); in CheckOffsets()
|
/hardware/qcom/msm8998/kernel-headers/media/ |
D | msm_cam_sensor.h | 579 struct ois_gyro gyro; member
|
/hardware/qcom/msm8998/original-kernel-headers/media/ |
D | msm_cam_sensor.h | 520 struct ois_gyro gyro; member
|