Home
last modified time | relevance | path

Searched refs:sample_rate_ms (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.h92 long sample_rate_ms; member
115 long sample_rate_ms; member
230 void inv_get_gyro_sample_rate_ms(long *sample_rate_ms);
231 void inv_get_accel_sample_rate_ms(long *sample_rate_ms);
232 void inv_get_compass_sample_rate_ms(long *sample_rate_ms);
Dhal_outputs.c552 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs()
555 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
556 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs()
559 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
560 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs()
563 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
564 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
Ddata_builder.c271 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate()
290 sensors.accel.sample_rate_ms = sample_rate_us / 1000; in inv_set_accel_sample_rate()
309 sensors.compass.sample_rate_ms = sample_rate_us / 1000; in inv_set_compass_sample_rate()
315 void inv_get_gyro_sample_rate_ms(long *sample_rate_ms) in inv_get_gyro_sample_rate_ms() argument
317 *sample_rate_ms = sensors.gyro.sample_rate_ms; in inv_get_gyro_sample_rate_ms()
320 void inv_get_accel_sample_rate_ms(long *sample_rate_ms) in inv_get_accel_sample_rate_ms() argument
322 *sample_rate_ms = sensors.accel.sample_rate_ms; in inv_get_accel_sample_rate_ms()
325 void inv_get_compass_sample_rate_ms(long *sample_rate_ms) in inv_get_compass_sample_rate_ms() argument
327 *sample_rate_ms = sensors.compass.sample_rate_ms; in inv_get_compass_sample_rate_ms()
343 sensors.quat.sample_rate_ms = sample_rate_us / 1000; in inv_set_quat_sample_rate()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.h94 long sample_rate_ms; member
118 long sample_rate_ms; member
233 void inv_get_gyro_sample_rate_ms(long *sample_rate_ms);
234 void inv_get_accel_sample_rate_ms(long *sample_rate_ms);
235 void inv_get_compass_sample_rate_ms(long *sample_rate_ms);
Dhal_outputs.c596 sr = sensor_cal->gyro.sample_rate_ms; in inv_generate_hal_outputs()
599 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
600 sr = sensor_cal->accel.sample_rate_ms; in inv_generate_hal_outputs()
603 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
604 sr = sensor_cal->compass.sample_rate_ms; in inv_generate_hal_outputs()
607 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
608 sr = sensor_cal->quat.sample_rate_ms; in inv_generate_hal_outputs()
Ddata_builder.c272 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; in inv_set_gyro_sample_rate()
291 sensors.accel.sample_rate_ms = sample_rate_us / 1000; in inv_set_accel_sample_rate()
512 sensors.compass.sample_rate_ms = sample_rate_us / 1000; in inv_set_compass_sample_rate()
518 void inv_get_gyro_sample_rate_ms(long *sample_rate_ms) in inv_get_gyro_sample_rate_ms() argument
520 *sample_rate_ms = sensors.gyro.sample_rate_ms; in inv_get_gyro_sample_rate_ms()
523 void inv_get_accel_sample_rate_ms(long *sample_rate_ms) in inv_get_accel_sample_rate_ms() argument
525 *sample_rate_ms = sensors.accel.sample_rate_ms; in inv_get_accel_sample_rate_ms()
528 void inv_get_compass_sample_rate_ms(long *sample_rate_ms) in inv_get_compass_sample_rate_ms() argument
530 *sample_rate_ms = sensors.compass.sample_rate_ms; in inv_get_compass_sample_rate_ms()
546 sensors.quat.sample_rate_ms = sample_rate_us / 1000; in inv_set_quat_sample_rate()