Searched refs:iSum (Results 1 – 1 of 1) sorted by relevance
163 int32 iSum[3]; // channel sums in processAccelData() local172 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processAccelData()174 for (j = CHX; j <= CHZ; j++) iSum[j] += sfg->Accel.iGsFIFO[i][j]; in processAccelData()179 sfg->Accel.iGs[j] = (int16)(iSum[j] / (int32) sfg->Accel.iFIFOCount); in processAccelData()199 int32 iSum[3]; // channel sums in processMagData() local210 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processMagData()212 for (j = CHX; j <= CHZ; j++) iSum[j] += sfg->Mag.iBsFIFO[i][j]; in processMagData()217 sfg->Mag.iBs[j] = (int16)(iSum[j] / (int32) sfg->Mag.iFIFOCount); in processMagData()237 int32 iSum[3]; // channel sums in processGyroData() local249 for (j = CHX; j <= CHZ; j++) iSum[j] = 0; in processGyroData()[all …]