Home | History | Annotate | Download | only in libsensors_iio

Lines Matching defs:accelRate

3563         int64_t accelRate;
3585 accelRate = wanted;
3639 rateInus, 1000000000.f / accelRate);
3649 accelRate = wanted;
3694 1000000000.f / accelRate, mpu.accel_rate,
3697 res = write_attribute_sensor(tempFd, 1000000000.f / accelRate);
6721 int64_t accelRate;
6750 accelRate = mBatchDelays[Accelerometer];
6771 mplAccelRate = (int) accelRate / 1000LL;
6783 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplAccelRate, 1000000000.f / accelRate);
6797 accelRate = wanted;
6805 *accel_rate = accelRate;
6815 int MPLSensor::MPLSensor::setBatchDataRates(int64_t gyroRate, int64_t accelRate, int64_t compassRate, int64_t pressureRate, int64_t quatRate)
6839 1000000000.f / accelRate, mpu.accel_rate,
6842 res = write_attribute_sensor(tempFd, 1000000000.f / accelRate);
6857 mAccelBatchRate = accelRate;
6874 int64_t accelRate;
6879 calcBatchDataRates(&gyroRate, &accelRate, &compassRate, &pressureRate, &quatRate);
6880 setBatchDataRates(gyroRate, accelRate, compassRate, pressureRate, quatRate);
6885 int MPLSensor::calctDataRates(int64_t *resetRate, int64_t *gyroRate, int64_t *accelRate, int64_t *compassRate, int64_t *pressureRate)
6915 *accelRate = wanted;
6922 int MPLSensor::resetDataRates(int64_t resetRate, int64_t gyroRate, int64_t accelRate, int64_t compassRate, int64_t pressureRate)
6934 inv_set_accel_sample_rate((int)accelRate/1000LL);
6949 accelRate/1000LL, 1000000000.f / accelRate);
6976 1000000000.f / accelRate, mpu.accel_rate,
6979 res = write_attribute_sensor(tempFd, 1000000000.f / accelRate);
7004 mAccelRate = accelRate;
7020 int64_t accelRate;
7024 res = calctDataRates(&resetRate, &gyroRate, &accelRate, &compassRate, &pressureRate);
7028 resetDataRates(resetRate, gyroRate, accelRate, compassRate, pressureRate);