Lines Matching refs:ptr
1118 int ptr; in inv_mpu_test() local
1195 ptr = 0; in inv_mpu_test()
1196 dataStore[ptr++] = 0; /* total len of factory cal */ in inv_mpu_test()
1197 dataStore[ptr++] = 0; in inv_mpu_test()
1198 dataStore[ptr++] = 0; in inv_mpu_test()
1199 dataStore[ptr++] = ML_INIT_CAL_LEN; in inv_mpu_test()
1200 dataStore[ptr++] = 0; in inv_mpu_test()
1201 dataStore[ptr++] = 5; /* record type 5 - initial calibration */ in inv_mpu_test()
1205 USHORT_TO_CHARS(&dataStore[ptr], tmp); in inv_mpu_test()
1206 ptr += 2; in inv_mpu_test()
1211 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1212 ptr += 4; in inv_mpu_test()
1215 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1216 ptr += 4; in inv_mpu_test()
1219 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1220 ptr += 4; in inv_mpu_test()
1224 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1225 ptr += 4; in inv_mpu_test()
1228 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1229 ptr += 4; in inv_mpu_test()
1232 UINT_TO_CHARS(&dataStore[ptr], (uint32_t)lltmp); in inv_mpu_test()
1233 ptr += 4; in inv_mpu_test()
1239 UINT_TO_CHARS(&dataStore[ptr], chk); in inv_mpu_test()
1240 ptr += 4; in inv_mpu_test()
1242 if (ptr != ML_INIT_CAL_LEN) { in inv_mpu_test()
1244 ML_INIT_CAL_LEN, ptr); in inv_mpu_test()