Searched refs:sample_rate_ms (Results 1 – 6 of 6) sorted by relevance
92 long sample_rate_ms; member115 long sample_rate_ms; member230 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);
552 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()
271 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() argument317 *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() argument322 *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() argument327 *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()
94 long sample_rate_ms; member118 long sample_rate_ms; member233 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);
596 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()
272 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() argument520 *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() argument525 *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() argument530 *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()