Searched refs:triple (Results 1 – 2 of 2) sorted by relevance
918 static void copyTripleSamples(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *triple) in copyTripleSamples() argument924 for (i = 0; i < triple->samples[0].firstSample.numSamples; i++) { in copyTripleSamples()930 sensor->lastTime = sensor->buffer.referenceTime = triple->referenceTime; in copyTripleSamples()932 sensor->lastTime += triple->samples[i].deltaTime; in copyTripleSamples()936 sensor->buffer.triple[0].ix = triple->samples[i].ix; in copyTripleSamples()937 sensor->buffer.triple[0].iy = triple->samples[i].iy; in copyTripleSamples()938 sensor->buffer.triple[0].iz = triple->samples[i].iz; in copyTripleSamples()939 …if (triple->samples[0].firstSample.biasPresent && triple->samples[0].firstSample.biasSample == i) { in copyTripleSamples()940 sensor->buffer.firstSample.biasCurrent = triple->samples[0].firstSample.biasCurrent; in copyTripleSamples()955 if (sensor->lastTime > triple->referenceTime) { in copyTripleSamples()[all …]
63 … struct TripleAxisDataPoint triple[HOSTINTF_SENSOR_DATA_MAX / sizeof(struct TripleAxisDataPoint)]; member