Lines Matching refs:rdata

3721     char *rdata = mIIOBuffer;  in buildMpuEvent()  local
3764 memcpy(rdata, mLeftOverBuffer, mLeftOverBufferSize); in buildMpuEvent()
3768 rdata[0], rdata[1], rdata[2], rdata[3], in buildMpuEvent()
3769 rdata[4], rdata[5], rdata[6], rdata[7], in buildMpuEvent()
3770 rdata[8], rdata[9], rdata[10], rdata[11], in buildMpuEvent()
3771 rdata[12], rdata[13], rdata[14], rdata[15]); in buildMpuEvent()
3773 rdataP = rdata + mLeftOverBufferSize; in buildMpuEvent()
3784 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
3804 rdataP = rdata; in buildMpuEvent()
3825 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, readCounter); in buildMpuEvent()
3837 data_format = *((short *)(rdata)); in buildMpuEvent()
3848 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3849 latestTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3870 mCachedQuaternionData[0] = *((int *) (rdata + 4)); in buildMpuEvent()
3871 mCachedQuaternionData[1] = *((int *) (rdata + 8)); in buildMpuEvent()
3872 mCachedQuaternionData[2] = *((int *) (rdata + 12)); in buildMpuEvent()
3873 rdata += QUAT_ONLY_LAST_PACKET_OFFSET; in buildMpuEvent()
3874 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3879 mCached6AxisQuaternionData[0] = *((int *) (rdata + 4)); in buildMpuEvent()
3880 mCached6AxisQuaternionData[1] = *((int *) (rdata + 8)); in buildMpuEvent()
3881 mCached6AxisQuaternionData[2] = *((int *) (rdata + 12)); in buildMpuEvent()
3882 rdata += QUAT_ONLY_LAST_PACKET_OFFSET; in buildMpuEvent()
3883 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3888 mCachedPedQuaternionData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3889 mCachedPedQuaternionData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3890 mCachedPedQuaternionData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3891 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3892 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3898 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3899 mStepSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3905 mCachedGyroData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3906 mCachedGyroData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3907 mCachedGyroData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3908 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3909 mGyroSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3914 mCachedAccelData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3915 mCachedAccelData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3916 mCachedAccelData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3917 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3918 mAccelSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3924 mCachedCompassData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3925 mCachedCompassData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3926 mCachedCompassData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3927 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3928 mCompassTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3936 ((*((short *)(rdata + 4))) << 16) + in buildMpuEvent()
3937 (*((unsigned short *) (rdata + 6))); in buildMpuEvent()
3938 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3939 mPressureTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3946 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3960 memcpy(mLeftOverBuffer, rdata, readCounter); in buildMpuEvent()