Searched refs:rdata (Results 1 – 3 of 3) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 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() [all …]
|
D | CompassSensor.IIO.primary.cpp | 367 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/6515/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 367 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()
|