Lines Matching refs:compassRate

3210         int64_t compassRate;  in update_delay()  local
3225compassRate = mDelays[MagneticField] < mDelays[RawMagneticField] ? mDelays[MagneticField] : mDelay… in update_delay()
3230 compassRate = wanted; in update_delay()
3239 compassRate = wanted; in update_delay()
3283 rateInus, 1000000000.f / compassRate); in update_delay()
3291 compassRate = wanted; in update_delay()
3375 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) { in update_delay()
3376 compassRate = mCompassSensor->getMinDelay() * 1000LL; in update_delay()
3378 mCompassSensor->setDelay(ID_M, compassRate); in update_delay()
6199 int64_t compassRate; in setBatchDataRates() local
6212compassRate = mBatchDelays[MagneticField] < mBatchDelays[RawMagneticField] ? mBatchDelays[Magnetic… in setBatchDataRates()
6228 mplCompassRate = (int) compassRate / 1000LL; in setBatchDataRates()
6241 …L:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplCompassRate, 1000000000.f / compassRate); in setBatchDataRates()
6254 compassRate = wanted; in setBatchDataRates()
6274 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) { in setBatchDataRates()
6275 compassRate = mCompassSensor->getMinDelay() * 1000LL; in setBatchDataRates()
6277 mCompassSensor->setDelay(ID_M, compassRate); in setBatchDataRates()
6298 int64_t compassRate; in resetDataRates() local
6323 compassRate = wanted; in resetDataRates()
6329 inv_set_compass_sample_rate((int)compassRate/1000LL); in resetDataRates()
6339 compassRate/1000LL, 1000000000.f / compassRate); in resetDataRates()
6367 if (compassRate < mCompassSensor->getMinDelay() * 1000LL) { in resetDataRates()
6368 compassRate = mCompassSensor->getMinDelay() * 1000LL; in resetDataRates()
6370 mCompassSensor->setDelay(ID_M, compassRate); in resetDataRates()