Lines Matching full:mpl
67 /* MPL interface misc. */
118 {"MPL Gyroscope", "Invensense", 1,
121 {"MPL Raw Gyroscope", "Invensense", 1,
124 {"MPL Accelerometer", "Invensense", 1,
127 {"MPL Magnetic Field", "Invensense", 1,
130 {"MPL Raw Magnetic Field", "Invensense", 1,
134 {"MPL Pressure", "Invensense", 1,
138 {"MPL Orientation", "Invensense", 1,
141 {"MPL Rotation Vector", "Invensense", 1,
144 {"MPL Game Rotation Vector", "Invensense", 1,
147 {"MPL Linear Acceleration", "Invensense", 1,
150 {"MPL Gravity", "Invensense", 1,
153 {"MPL Significant Motion", "Invensense", 1,
156 {"MPL Step Detector", "Invensense", 1,
159 {"MPL Step Counter", "Invensense", 1,
162 {"MPL Geomagnetic Rotation Vector", "Invensense", 1,
166 {"MPL Screen Orientation", "Invensense ", 1,
486 /* setup MPL */
635 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv);
810 // specify MPL's trust weight, used by compass algorithms
868 LOGI_IF(EXTRA_VERBOSE, "HAL: Set MPL Gyro Scale %ld", mGyroScale << 15);
877 "HAL: Set MPL Accel Scale %ld", (long)mAccelScale << 15);
889 "HAL: Set MPL Compass Scale %ld", mCompassScale);
1845 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_gyro_was_turned_off");
1880 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_accel_was_turned_off");
1899 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:inv_compass_was_turned_off %d", res);
1934 LOGV_IF(EXTRA_VERBOSE, "HAL:MPL:batchmode timeout is zero");
2483 /* these handlers transform mpl data into one of the Android sensor types */
3269 /* set rate in MPL */
3276 "HAL:MPL gyro sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3279 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3282 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz",
3296 /* set rate in MPL */
3303 "HAL:MPL gyro sample rate: (mpl)=%d us (mpu)=%.2f Hz", rateInus, 1000000000.f / gyroRate);
3305 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz", rateInus, 1000000000.f / accelRate);
3307 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", rateInus, 1000000000.f / compassRate);
3317 LOGV_IF(ENG_VERBOSE, "HAL:MPL quat sample rate: "
3318 "(mpl)=%d us (mpu)=%.2f Hz",
3409 "HAL:MPL gyro sample rate: (mpl)=%d us", int(wanted/1000LL));
3437 LOGV_IF(ENG_VERBOSE, "HAL:MPL accel sample rate: (mpl)=%d us",
3490 LOGV_IF(ENG_VERBOSE, "HAL:MPL compass sample rate: (mpl)=%d us",
3684 // collect data for MPL (but NOT sensor service currently), from driver layer
4673 /* scale appropriately for MPL */
5183 /* Get Values from MPL */
5187 LOGV_IF(HANDLER_DATA, "Mpl Compass Bias (HW unit) %ld %ld %ld", bias[0], bias[1], bias[2]);
5188 LOGV_IF(HANDLER_DATA, "Mpl Compass Bias (HW unit) (body) %ld %ld %ld", compassBias[0], compassBias[1], compassBias[2]);
5208 /* Get Values from MPL */
5278 /* Get Values from MPL */
5283 LOGV_IF(ENG_VERBOSE, "Mpl Gyro Bias (HW unit) %ld %ld %ld", mGyroChipBias[0], mGyroChipBias[1], mGyroChipBias[2]);
5284 LOGV_IF(ENG_VERBOSE, "Mpl Gyro Bias (HW unit) (body) %ld %ld %ld", bias[0], bias[1], bias[2]);
5347 /* Get Values from MPL */
5403 /* Get Values from MPL */
5412 /* set accel bias obtained from MPL
5413 bias is scaled by 65536 from MPL
6221 "HAL:MPL quat sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplQuatRate,
6230 /* set rate in MPL */
6237 "HAL:MPL gyro sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplGyroRate, 1000000000.f / gyroRate);
6239 "HAL:MPL accel sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplAccelRate, 1000000000.f / accelRate);
6241 "HAL:MPL compass sample rate: (mpl)=%d us (mpu)=%.2f Hz", mplCompassRate, 1000000000.f / compassRate);
6326 /* set mpl data rate */
6332 "HAL:MPL gyro sample rate: (mpl)=%lld us (mpu)=%.2f Hz",
6335 "HAL:MPL accel sample rate: (mpl)=%lld us (mpu)=%.2f Hz",
6338 "HAL:MPL compass sample rate: (mpl)=%lld us (mpu)=%.2f Hz",