• Home
  • Raw
  • Download

Lines Matching refs:rdata

3711     char *rdata = mIIOBuffer;  local
3728 memset(rdata, 0, sizeof(rdata));
3729 memcpy(rdata, mLeftOverBuffer, mLeftOverBufferSize);
3733 rdata[0], rdata[1], rdata[2], rdata[3],
3734 rdata[4], rdata[5], rdata[6], rdata[7],
3735 rdata[8], rdata[9], rdata[10], rdata[11],
3736 rdata[12], rdata[13], rdata[14], rdata[15]);
3738 rdataP = rdata + mLeftOverBufferSize;
3749 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
3784 rdata[0], rdata[1], rdata[2], rdata[3],
3785 rdata[4], rdata[5], rdata[6], rdata[7],
3786 rdata[8], rdata[9], rdata[10], rdata[11],
3787 rdata[12], rdata[13], rdata[14], rdata[15],
3788 rdata[16], rdata[17], rdata[18], rdata[19],
3789 rdata[20], rdata[21], rdata[22], rdata[23]);
3792 rdataP = rdata;
3799 data_format = *((short *)(rdata));
3803 rdata += BYTES_PER_SENSOR;
3812 rdata += BYTES_PER_SENSOR;
3822 memcpy(mLeftOverBuffer, rdata, mLeftOverBufferSize);
3841 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, (int)readCounter);
3853 data_format = *((short *)(rdata));
3864 rdata += BYTES_PER_SENSOR;
3865 latestTimestamp = *((long long*) (rdata));
3899 mCachedQuaternionData[0] = *((int *) (rdata + 4));
3900 mCachedQuaternionData[1] = *((int *) (rdata + 8));
3901 mCachedQuaternionData[2] = *((int *) (rdata + 12));
3902 rdata += QUAT_ONLY_LAST_PACKET_OFFSET;
3903 mQuatSensorTimestamp = *((long long*) (rdata));
3914 mCached6AxisQuaternionData[0] = *((int *) (rdata + 4));
3915 mCached6AxisQuaternionData[1] = *((int *) (rdata + 8));
3916 mCached6AxisQuaternionData[2] = *((int *) (rdata + 12));
3917 rdata += QUAT_ONLY_LAST_PACKET_OFFSET;
3918 mQuatSensorTimestamp = *((long long*) (rdata));
3929 mCachedPedQuaternionData[0] = *((short *) (rdata + 2));
3930 mCachedPedQuaternionData[1] = *((short *) (rdata + 4));
3931 mCachedPedQuaternionData[2] = *((short *) (rdata + 6));
3932 rdata += BYTES_PER_SENSOR;
3933 mQuatSensorTimestamp = *((long long*) (rdata));
3944 rdata += BYTES_PER_SENSOR;
3945 mStepSensorTimestamp = *((long long*) (rdata));
3957 mCachedGyroData[0] = *((short *) (rdata + 2));
3958 mCachedGyroData[1] = *((short *) (rdata + 4));
3959 mCachedGyroData[2] = *((short *) (rdata + 6));
3960 rdata += BYTES_PER_SENSOR;
3961 mGyroSensorTimestamp = *((long long*) (rdata));
3971 mCachedAccelData[0] = *((short *) (rdata + 2));
3972 mCachedAccelData[1] = *((short *) (rdata + 4));
3973 mCachedAccelData[2] = *((short *) (rdata + 6));
3974 rdata += BYTES_PER_SENSOR;
3975 mAccelSensorTimestamp = *((long long*) (rdata));
3987 mCachedCompassData[0] = *((short *) (rdata + 2));
3988 mCachedCompassData[1] = *((short *) (rdata + 4));
3989 mCachedCompassData[2] = *((short *) (rdata + 6));
3990 rdata += BYTES_PER_SENSOR;
3991 mCompassTimestamp = *((long long*) (rdata));
4007 mCachedCompassData[0] = *((short *) (rdata + 2));
4008 mCachedCompassData[1] = *((short *) (rdata + 4));
4009 mCachedCompassData[2] = *((short *) (rdata + 6));
4010 rdata += BYTES_PER_SENSOR;
4011 mCompassTimestamp = *((long long*) (rdata));
4025 ((*((short *)(rdata + 4))) << 16) +
4026 (*((unsigned short *) (rdata + 6)));
4027 rdata += BYTES_PER_SENSOR;
4028 mPressureTimestamp = *((long long*) (rdata));
4041 rdata += BYTES_PER_SENSOR;
4054 data_format = *((short *) (rdata));
4057 rdata += BYTES_PER_SENSOR;
4071 memcpy(mLeftOverBuffer, rdata, readCounter);