Lines Matching refs:rdata
3702 char *rdata = mIIOBuffer; in buildMpuEvent() local
3745 memcpy(rdata, mLeftOverBuffer, mLeftOverBufferSize); in buildMpuEvent()
3749 rdata[0], rdata[1], rdata[2], rdata[3], in buildMpuEvent()
3750 rdata[4], rdata[5], rdata[6], rdata[7], in buildMpuEvent()
3751 rdata[8], rdata[9], rdata[10], rdata[11], in buildMpuEvent()
3752 rdata[12], rdata[13], rdata[14], rdata[15]); in buildMpuEvent()
3754 rdataP = rdata + mLeftOverBufferSize; in buildMpuEvent()
3765 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
3785 rdataP = rdata; in buildMpuEvent()
3806 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, readCounter); in buildMpuEvent()
3818 data_format = *((short *)(rdata)); in buildMpuEvent()
3829 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3830 latestTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3851 mCachedQuaternionData[0] = *((int *) (rdata + 4)); in buildMpuEvent()
3852 mCachedQuaternionData[1] = *((int *) (rdata + 8)); in buildMpuEvent()
3853 mCachedQuaternionData[2] = *((int *) (rdata + 12)); in buildMpuEvent()
3854 rdata += QUAT_ONLY_LAST_PACKET_OFFSET; in buildMpuEvent()
3855 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3860 mCached6AxisQuaternionData[0] = *((int *) (rdata + 4)); in buildMpuEvent()
3861 mCached6AxisQuaternionData[1] = *((int *) (rdata + 8)); in buildMpuEvent()
3862 mCached6AxisQuaternionData[2] = *((int *) (rdata + 12)); in buildMpuEvent()
3863 rdata += QUAT_ONLY_LAST_PACKET_OFFSET; in buildMpuEvent()
3864 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3869 mCachedPedQuaternionData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3870 mCachedPedQuaternionData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3871 mCachedPedQuaternionData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3872 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3873 mQuatSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3879 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3880 mStepSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3886 mCachedGyroData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3887 mCachedGyroData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3888 mCachedGyroData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3889 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3890 mGyroSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3895 mCachedAccelData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3896 mCachedAccelData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3897 mCachedAccelData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3898 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3899 mAccelSensorTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3905 mCachedCompassData[0] = *((short *) (rdata + 2)); in buildMpuEvent()
3906 mCachedCompassData[1] = *((short *) (rdata + 4)); in buildMpuEvent()
3907 mCachedCompassData[2] = *((short *) (rdata + 6)); in buildMpuEvent()
3908 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3909 mCompassTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3917 ((*((short *)(rdata + 4))) << 16) + in buildMpuEvent()
3918 (*((unsigned short *) (rdata + 6))); in buildMpuEvent()
3919 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3920 mPressureTimestamp = *((long long*) (rdata)); in buildMpuEvent()
3927 rdata += BYTES_PER_SENSOR; in buildMpuEvent()
3940 memcpy(mLeftOverBuffer, rdata, readCounter); in buildMpuEvent()