Lines Matching refs:rdata
3996 char *rdata = mIIOBuffer; local
4004 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4025 memset(rdata, 0, sizeof(mIIOBuffer));
4026 memcpy(rdata, mLeftOverBuffer, mLeftOverBufferSize);
4030 rdata[0], rdata[1], rdata[2], rdata[3],
4031 rdata[4], rdata[5], rdata[6], rdata[7],
4032 rdata[8], rdata[9], rdata[10], rdata[11],
4033 rdata[12], rdata[13], rdata[14], rdata[15]);
4035 rdataP = rdata + mLeftOverBufferSize;
4046 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4081 rdata[0], rdata[1], rdata[2], rdata[3],
4082 rdata[4], rdata[5], rdata[6], rdata[7],
4083 rdata[8], rdata[9], rdata[10], rdata[11],
4084 rdata[12], rdata[13], rdata[14], rdata[15],
4085 rdata[16], rdata[17], rdata[18], rdata[19],
4086 rdata[20], rdata[21], rdata[22], rdata[23]);
4089 rdataP = rdata;
4096 data_format = *((short *)(rdata));
4100 rdata += BYTES_PER_SENSOR;
4109 rdata += BYTES_PER_SENSOR;
4120 memcpy(mLeftOverBuffer, rdata, mLeftOverBufferSize);
4139 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, (int)readCounter);
4152 data_format = *((short *)(rdata));
4163 rdata += BYTES_PER_SENSOR;
4164 latestTimestamp = *((long long*) (rdata));
4196 mCachedQuaternionData[0] = *((int *) (rdata + 4));
4197 mCachedQuaternionData[1] = *((int *) (rdata + 8));
4198 mCachedQuaternionData[2] = *((int *) (rdata + 12));
4199 rdata += QUAT_ONLY_LAST_PACKET_OFFSET;
4200 mQuatSensorTimestamp = *((long long*) (rdata));
4211 mCached6AxisQuaternionData[0] = *((int *) (rdata + 4));
4212 mCached6AxisQuaternionData[1] = *((int *) (rdata + 8));
4213 mCached6AxisQuaternionData[2] = *((int *) (rdata + 12));
4214 rdata += QUAT_ONLY_LAST_PACKET_OFFSET;
4215 mQuatSensorTimestamp = *((long long*) (rdata));
4226 mCachedPedQuaternionData[0] = *((short *) (rdata + 2));
4227 mCachedPedQuaternionData[1] = *((short *) (rdata + 4));
4228 mCachedPedQuaternionData[2] = *((short *) (rdata + 6));
4229 rdata += BYTES_PER_SENSOR;
4230 mQuatSensorTimestamp = *((long long*) (rdata));
4241 rdata += BYTES_PER_SENSOR;
4242 mStepSensorTimestamp = *((long long*) (rdata));
4254 mCachedGyroData[0] = *((short *) (rdata + 2));
4255 mCachedGyroData[1] = *((short *) (rdata + 4));
4256 mCachedGyroData[2] = *((short *) (rdata + 6));
4257 rdata += BYTES_PER_SENSOR;
4258 mGyroSensorTimestamp = *((long long*) (rdata));
4268 mCachedAccelData[0] = *((short *) (rdata + 2));
4269 mCachedAccelData[1] = *((short *) (rdata + 4));
4270 mCachedAccelData[2] = *((short *) (rdata + 6));
4271 rdata += BYTES_PER_SENSOR;
4272 mAccelSensorTimestamp = *((long long*) (rdata));
4284 mCachedCompassData[0] = *((short *) (rdata + 2));
4285 mCachedCompassData[1] = *((short *) (rdata + 4));
4286 mCachedCompassData[2] = *((short *) (rdata + 6));
4287 rdata += BYTES_PER_SENSOR;
4288 mCompassTimestamp = *((long long*) (rdata));
4304 mCachedCompassData[0] = *((short *) (rdata + 2));
4305 mCachedCompassData[1] = *((short *) (rdata + 4));
4306 mCachedCompassData[2] = *((short *) (rdata + 6));
4307 rdata += BYTES_PER_SENSOR;
4308 mCompassTimestamp = *((long long*) (rdata));
4322 ((*((short *)(rdata + 4))) << 16) +
4323 (*((unsigned short *) (rdata + 6)));
4324 rdata += BYTES_PER_SENSOR;
4325 mPressureTimestamp = *((long long*) (rdata));
4338 rdata += BYTES_PER_SENSOR;
4351 data_format = *((short *) (rdata));
4354 rdata += BYTES_PER_SENSOR;
4367 memcpy(mLeftOverBuffer, rdata, readCounter);