Lines Matching full:accel
63 #include "accel.h"
111 #define DEF_N_ACCEL_SAMPLES (20) /* num of accel samples to
831 * by the MPU Self Test. Requires 3 elements to store accel X, Y,
840 * calculates the accel biases.
862 if (mputestPData->accel.get_slave_descr == NULL) {
867 if (mputestCfgPtr->accel == NULL) {
873 /* resume the accel */
883 accel data to be retrieved by MPU */
904 MPL_LOGI("Accel biases : %+13.3f %+13.3f %+13.3f (LSB)\n", x, y, z);
906 MPL_LOGI("Accel biases : %+13.3f %+13.3f %+13.3f (gee)\n",
915 MPL_LOGI("Accel correct.: %+13d %+13d %+13d (LSB)\n",
918 MPL_LOGI("Accel correct.: "
926 /* accel RMS - for now the threshold is only indicative */
938 MPL_LOGI("%s-Accel RMS (%.2f) exceeded threshold "
1101 * assessment. It simply calculates the gyro and accel biases.
1158 /* collect accel data. if this step is skipped,
1160 if (mputestCfgPtr->accel != NULL) {
1162 RANGE_FIXEDPOINT_TO_FLOAT(mputestCfgPtr->accel->range, fs);
1222 lltmp = (long)accel_biases[0] * 65536L / accelSens[0]; /* x accel avg */
1226 lltmp = (long)accel_biases[1] * 65536L / accelSens[1]; /* y accel avg */
1230 lltmp = (long)accel_biases[2] * 65536L / accelSens[2]; /* z accel avg */
1268 * assessment. It simply calculates the gyro and accel biases.
1309 accel interface functions
1344 struct ext_slave_descr *slave = mputestCfgPtr->accel;
1346 struct ext_slave_platform_data *pdata = &mputestCfgPtr->pdata->accel;
1362 MPL_LOGI("Accel : 0x%02X%02X 0x%02X%02X 0x%02X%02X (raw)\n",
1383 MPL_LOGI("Accel : %+13d %+13d %+13d (LSB)\n",