Home | History | Annotate | Download | only in libsensors_iio

Lines Matching full:mpl

76 /*  MPL Interface                                                             */
407 /* setup MPL */
566 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv);
752 // specify MPL's trust weight, used by compass algorithms
810 LOGI_IF(EXTRA_VERBOSE, "HAL: Set MPL Gyro Scale %ld", mGyroScale << 15);
819 "HAL: Set MPL Accel Scale %ld", (long)mAccelScale << 15);
831 "HAL: Set MPL Compass Scale %ld", mCompassScale);
1913 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_gyro_was_turned_off");
1948 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_accel_was_turned_off");
1967 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_compass_was_turned_off %d", res);
2004 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:batchmode timeout is zero");
2618 /* these handlers transform mpl data into one of the Android sensor types */
3618 /* set rate in MPL */
3632 "HAL:MPL virtual sensor sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3635 "HAL:MPL gyro sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3638 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3641 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3662 LOGV_IF(ENG_VERBOSE, "HAL:MPL quat sample rate: "
3663 "(mpl)=%d us (mpu)=%.2f Hz",
3735 "HAL:MPL gyro sample rate: (mpl)=%d us", int(wanted/1000LL));
3754 LOGV_IF(ENG_VERBOSE, "HAL:MPL accel sample rate: (mpl)=%d us",
3797 LOGV_IF(ENG_VERBOSE, "HAL:MPL compass sample rate: (mpl)=%d us",
3978 // collect data for MPL (but NOT sensor service currently), from driver layer
5038 /* scale appropriately for MPL */
5550 /* Get Values from MPL */
5553 LOGV_IF(HANDLER_DATA, "Mpl Compass Bias (HW unit) %ld %ld %ld", bias[0], bias[1], bias[2]);
5554 LOGV_IF(HANDLER_DATA, "Mpl Compass Bias (HW unit) (body) %ld %ld %ld", compassBias[0], compassBias[1], compassBias[2]);
5572 /* Get Values from MPL */
5641 /* Get Values from MPL */
5645 LOGV_IF(ENG_VERBOSE && INPUT_DATA, "Mpl Gyro Bias (HW unit) %ld %ld %ld", mGyroChipBias[0], mGyroChipBias[1], mGyroChipBias[2]);
5646 LOGV_IF(ENG_VERBOSE && INPUT_DATA, "Mpl Gyro Bias (HW unit) (body) %ld %ld %ld", bias[0], bias[1], bias[2]);
5739 /* Get Values from MPL */
5795 /* Get Values from MPL */
5804 /* set accel bias obtained from MPL
5805 bias is scaled by 65536 from MPL
6762 "HAL:MPL rv 6 axis sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplQuatRate,
6765 "HAL:MPL quat sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplQuatRate,
6774 /* set rate in MPL */
6781 "HAL:MPL gyro sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplGyroRate, 1000000000.f / gyroRate);
6783 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplAccelRate, 1000000000.f / accelRate);
6785 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplCompassRate, 1000000000.f / compassRate);
6932 /* set mpl data rate */
6945 "HAL:MPL gyro sample rate: (mpl)=%lld us (mpu)=%.2f Hz",
6948 "HAL:MPL accel sample rate: (mpl)=%lld us (mpu)=%.2f Hz",
6951 "HAL:MPL compass sample rate: (mpl)=%lld us (mpu)=%.2f Hz",