Lines Matching refs:ACC
72 ACC,
418 size_t i = mTask.sample_indices[ACC];
432 while (mTask.sample_counts[ACC] > 0
435 a_time = mTask.samples[ACC][i].time;
441 // priority with same timestamp: gyro > acc > mag
445 which = ACC;
452 case ACC:
453 initVec3(&a, mTask.samples[ACC][i].x, mTask.samples[ACC][i].y, mTask.samples[ACC][i].z);
461 updateOutput(i, mTask.samples[ACC][i].time);
463 --mTask.sample_counts[ACC];
492 mTask.sample_indices[ACC] = i;
544 mTask.sample_counts[ACC] = 0;
545 mTask.sample_indices[ACC] = 0;
546 mTask.counters[ACC] = 0;
547 mTask.last_time[ACC] = ULONG_LONG_MAX;
549 if (sensorRequest(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC],
556 sensorRequestRateChange(mTask.tid, mTask.accelHandle, mTask.raw_sensor_rate[ACC],
622 mTask.raw_sensor_rate[ACC] = max_rate;
623 mTask.ResamplePeriodNs[ACC] = sensorTimerLookupCommon(FusionRates, rateTimerVals, max_rate);
624 min_resample_period = mTask.ResamplePeriodNs[ACC] < min_resample_period ?
625 mTask.ResamplePeriodNs[ACC] : min_resample_period;
758 fillSamples(ev, ACC);