Home
last modified time | relevance | path

Searched refs:rdata (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp3711 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],
[all …]
DCompassSensor.IIO.primary.cpp367 char *rdata = mIIOBuffer; in readSample() local
369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample()
372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
382 data[i] = *((short *) (rdata + i * 2)); in readSample()
384 *timestamp = *((long long *) (rdata + 8 * mEnable)); in readSample()
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp3721 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()
[all …]
DCompassSensor.IIO.primary.cpp367 char *rdata = mIIOBuffer; in readSample() local
369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample()
372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
382 data[i] = *((short *) (rdata + i * 2)); in readSample()
384 *timestamp = *((long long *) (rdata + 8 * mEnable)); in readSample()
/hardware/invensense/60xx/mlsdk/mllite/
Dmlarray.c1118 long qdata[4], rdata[9]; in inv_get_rot_mat_float() local
1120 inv_quaternion_to_rotation(qdata, rdata); in inv_get_rot_mat_float()
1121 data[0] = (float)rdata[0] / 1073741824.0f; in inv_get_rot_mat_float()
1122 data[1] = (float)rdata[1] / 1073741824.0f; in inv_get_rot_mat_float()
1123 data[2] = (float)rdata[2] / 1073741824.0f; in inv_get_rot_mat_float()
1124 data[3] = (float)rdata[3] / 1073741824.0f; in inv_get_rot_mat_float()
1125 data[4] = (float)rdata[4] / 1073741824.0f; in inv_get_rot_mat_float()
1126 data[5] = (float)rdata[5] / 1073741824.0f; in inv_get_rot_mat_float()
1127 data[6] = (float)rdata[6] / 1073741824.0f; in inv_get_rot_mat_float()
1128 data[7] = (float)rdata[7] / 1073741824.0f; in inv_get_rot_mat_float()
[all …]
/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp1865 char *rdata = mIIOBuffer; in readEvents() local
1879 ssize_t rsize = read(iio_fd, rdata, nbyte); in readEvents()
1882 rsize = read(iio_fd, rdata, sizeof(mIIOBuffer)); in readEvents()
1890 *((short *) (rdata + 0)), *((short *) (rdata + 2)), in readEvents()
1891 *((short *) (rdata + 4))); in readEvents()
1893 *((short *) (rdata + 0 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0))), in readEvents()
1894 *((short *) (rdata + 2 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0))), in readEvents()
1895 *((short *) (rdata + 4) + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0))); in readEvents()
1899 *((short *) (rdata + 0 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0) + in readEvents()
1901 *((short *) (rdata + 2 + ((mLocalSensorMask & INV_THREE_AXIS_GYRO)? 6: 0) + in readEvents()
[all …]